Plugin Author
Dennis
(@dhoppe)
Hi!
The Widget uses the WP_Query Class to catch the sub pages. So if you use any plugin which modifies the query it could result in missing pages in the sub page navigation. 😉
Try to deactivate the other plugins to find out any incompatibilities.
Hi Dennis,
Thanks for the super fast reply!
I did deactivate all of my plugins and that did not solve my issue.
My theme has lot’s of features that may interfere. It’s a new free one:
http://ww.wp.xz.cn/extend/themes/minimatica
I’m going to look into that now.
Also, in widget-sub-page-navigation.php right after the first WP_Query navigation object is created and populated, I echo out the post-count property and there it says 4 (even though it should be 6). Wouldn’t it print out 6 here, then be changed to 4 by some additional filter? Just curious (I’m certainly no WP engine guru).
BTW it’s definitely this theme, there is some Widget manipulation in the funtions.php I’m looking into now.
Found it! Hopefully this helps someone using the Minimatica Theme and this plugin.
Line 144, function minimatica_paged_posts in functions.php
change this value ‘4’ to ‘-1’
$query->set( ‘posts_per_page’, ‘-1’ );
No need to me to limit my posts to 4
Thanks!
Plugin Author
Dennis
(@dhoppe)
Cool. Thanks for posting the solution. 🙂
hi
I have set up the sub nav in the sidebar and can add a child page and the nav updates and works correctly.
My question is how to set the active link to the current page/link etc
regards
Plugin Author
Dennis
(@dhoppe)
Hi Keiney, the <li> with the current page gets always the ‘current-post’ class. You can use it to format it.