Title: [Plugin: Sub Page Navigation Widget] Missing Sub Pages
Last modified: August 20, 2016

---

# [Plugin: Sub Page Navigation Widget] Missing Sub Pages

 *  Resolved [bkernan](https://wordpress.org/support/users/bkernan/)
 * (@bkernan)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-sub-page-navigation-widget-missing-sub-pages/)
 * Hello,
 * I am going to dive into the plugin to try to debug this.
 * I have 6 subpages and only 4 are showing up. There is no difference between the
   status/parent/etc. of the subpages. So I’m not sure what could be tripping the
   widget from querying these?
 * Let me know if you would like anymore info on this. I’ll post what I find out.
 * Thanks for your time!
 * [http://wordpress.org/extend/plugins/sub-page-navigation-widget/](http://wordpress.org/extend/plugins/sub-page-navigation-widget/)

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Author [Dennis](https://wordpress.org/support/users/dhoppe/)
 * (@dhoppe)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-sub-page-navigation-widget-missing-sub-pages/#post-2159939)
 * 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.
 *  Thread Starter [bkernan](https://wordpress.org/support/users/bkernan/)
 * (@bkernan)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-sub-page-navigation-widget-missing-sub-pages/#post-2159940)
 * 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://wordpress.org/extend/themes/minimatica](http://wordpress.org/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).
 *  Thread Starter [bkernan](https://wordpress.org/support/users/bkernan/)
 * (@bkernan)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-sub-page-navigation-widget-missing-sub-pages/#post-2159941)
 * BTW it’s definitely this theme, there is some Widget manipulation in the funtions.
   php I’m looking into now.
 *  Thread Starter [bkernan](https://wordpress.org/support/users/bkernan/)
 * (@bkernan)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-sub-page-navigation-widget-missing-sub-pages/#post-2159942)
 * 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](https://wordpress.org/support/users/dhoppe/)
 * (@dhoppe)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-sub-page-navigation-widget-missing-sub-pages/#post-2159944)
 * Cool. Thanks for posting the solution. 🙂
 *  [keiney](https://wordpress.org/support/users/keiney/)
 * (@keiney)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-sub-page-navigation-widget-missing-sub-pages/#post-2160206)
 * 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](https://wordpress.org/support/users/dhoppe/)
 * (@dhoppe)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-sub-page-navigation-widget-missing-sub-pages/#post-2160207)
 * Hi Keiney, the `<li>` with the current page gets always the ‘current-post’ class.
   You can use it to format it.
 *  [usran](https://wordpress.org/support/users/usran/)
 * (@usran)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-sub-page-navigation-widget-missing-sub-pages/#post-2160208)
 * Big Thank, ^^

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘[Plugin: Sub Page Navigation Widget] Missing Sub Pages’ is closed to 
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/sub-page-navigation-widget.svg)
 * [Sub Page Navigation Widget](https://wordpress.org/plugins/sub-page-navigation-widget/)
 * [Support Threads](https://wordpress.org/support/plugin/sub-page-navigation-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/sub-page-navigation-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sub-page-navigation-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sub-page-navigation-widget/reviews/)

 * 8 replies
 * 4 participants
 * Last reply from: [usran](https://wordpress.org/support/users/usran/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-sub-page-navigation-widget-missing-sub-pages/#post-2160208)
 * Status: resolved