selenasmith
Forum Replies Created
-
Forum: Plugins
In reply to: [Ninja Tables – Easy Data Table Builder] Relationship between two tablesThat’s what I thought. Thanks! ??
Forum: Plugins
In reply to: [WP Custom Admin Interface] Links with parameters not workingHere’s the screenshot. Sorry, I haven’t used the advanced edit mode settings.
??https://www.dropbox.com/s/0pqoko9bn5q7v80/screenshot2.png?dl=0
Here are the specific links:
Video (admin.php?page=ninja_tables#/tables/4259/)
Documents (admin.php?page=ninja_tables#/tables/4172/)
KPP Directory (admin.php?page=ninja_tables#/tables/4141/)Thanks,
Selena SmithForum: Plugins
In reply to: [WP Custom Admin Interface] Links with parameters not workingHere’s the screenshot of my menu setup:
https://www.dropbox.com/s/gifphiwln0xvrrl/screenshot.png?dl=0I’m not sure how to view the link/path of the menu item after it’s saved.
Thanks!
Selena SmithForum: Plugins
In reply to: [User Login History] Last Seen – settings for KPIAh ok, thanks. ??
Forum: Plugins
In reply to: [WP Custom Admin Interface] Links with parameters not workingFirst of all, I do appreciate your help with this issue. I don’t want to come across as rude or anything, but I’m not sure what you want in the screenshot. I can send you a screenshot of the menu as displayed but I don’t think you’ll get much info from that.
Basically, all I’m doing is adding three menu items and the URL is as noted above (wp-admin/admin.php?page=ninja_tables#/tables/1/ etc). I’ve tried it with the relative path and the full path and the results are the same … if I’m on one of the table edit pages, the menu link for the other two pages don’t work – the page just sits there.
Forum: Plugins
In reply to: [WP Custom Admin Interface] Links with parameters not workingI tested again with the full URL but that didn’t resolve the issue. It behaves like a non-link. I’m not sure how to send a screenshot.
- This reply was modified 6 years, 3 months ago by selenasmith.
Forum: Plugins
In reply to: [User Login History] First & Last Name instead of UsernameAwesome – thanks!
resolving this!
Sorry for the false alarm …. the issue was caused by something else. Thanks!
“Nevermind”
– Emily LitellaI modified your loop. (And yes, that’s not the proper way to handle things)
- This reply was modified 6 years, 7 months ago by selenasmith.
Yes. Well, it’s really your loop – I’m just iterating number_posts. By that time you’ve already moved sticky post(s) to the top of the array.
It looks like the WP_Query is only pulling number_posts and if there’s a sticky post within that number_posts it moves it to the top of the array. However, we have a sticky post that we’re using as a featured newsfeed item which should always appear at the top of the post even though it might be an older post and may not be within the number_posts limit. Does that make sense?
I think I’ve figured out a solution. It may not be the most glamorous solution, but at least it works for my situation, lol.
I took out the post_per_page parameter in recent-posts-widget-with-thumbnails.php
// standard params $query_args = array( /* 'posts_per_page' => $ints[ 'number_posts' ], */ 'no_found_rows' => true, 'post_status' => 'publish', );
Then I set it as an iteration in the print loop of widget.php
` <?php
$xloop = 0;
while ( $r->have_posts() and $xloop < $ints[ ‘number_posts’ ] ) : $r->the_post();
$xloop ++;
?>
‘Think this will work?
Thanks,
Selena Smith- This reply was modified 6 years, 7 months ago by selenasmith.
Nevermind – found the setting. ??
Yes, by one category, and the sticky post is set to that category.
- This reply was modified 6 years, 7 months ago by selenasmith.