Title: davejay42's Replies | WordPress.org

---

# davejay42

  [  ](https://wordpress.org/support/users/davejay42/)

 *   [Profile](https://wordpress.org/support/users/davejay42/)
 *   [Topics Started](https://wordpress.org/support/users/davejay42/topics/)
 *   [Replies Created](https://wordpress.org/support/users/davejay42/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/davejay42/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/davejay42/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/davejay42/engagements/)
 *   [Favorites](https://wordpress.org/support/users/davejay42/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Main navigation isn’t showing all pages](https://wordpress.org/support/topic/main-navigation-isnt-showing-all-pages/)
 *  Thread Starter [davejay42](https://wordpress.org/support/users/davejay42/)
 * (@davejay42)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/main-navigation-isnt-showing-all-pages/#post-1041276)
 * The only option is “Blog pages show at most” and that is set to 10 posts. There’s
   nothing about pages.
 * very odd indeed.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Main navigation isn’t showing all pages](https://wordpress.org/support/topic/main-navigation-isnt-showing-all-pages/)
 *  Thread Starter [davejay42](https://wordpress.org/support/users/davejay42/)
 * (@davejay42)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/main-navigation-isnt-showing-all-pages/#post-1041270)
 * Yes! Thanks [@stvwlf](https://wordpress.org/support/users/stvwlf/) for sticking
   with me =) That did the trick. I wonder why that needed to be explicitly set 
   like that.
 * problem resolved!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Main navigation isn’t showing all pages](https://wordpress.org/support/topic/main-navigation-isnt-showing-all-pages/)
 *  Thread Starter [davejay42](https://wordpress.org/support/users/davejay42/)
 * (@davejay42)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/main-navigation-isnt-showing-all-pages/#post-1041261)
 * it echoes 5, I tried doing a modified post list as well where I just ask for 
   get_posts(‘post_type=page’); and it still just returns 5 pages.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Main navigation isn’t showing all pages](https://wordpress.org/support/topic/main-navigation-isnt-showing-all-pages/)
 *  Thread Starter [davejay42](https://wordpress.org/support/users/davejay42/)
 * (@davejay42)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/main-navigation-isnt-showing-all-pages/#post-1041254)
 * that’s weird.. echo $wp_query->post_count; returns “1” Is that variable not able
   to see my query? I did it just like you did above (minus that closing parentheses)
 * It’s definitely not a CSS issue, I checked the generated html and it’s not there.
   It’s very frustrating. I can’t seem to figure this one out 🙁
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Main navigation isn’t showing all pages](https://wordpress.org/support/topic/main-navigation-isnt-showing-all-pages/)
 *  Thread Starter [davejay42](https://wordpress.org/support/users/davejay42/)
 * (@davejay42)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/main-navigation-isnt-showing-all-pages/#post-1041224)
 * I don’t see anything out of the ordinary
 *     ```
       <?php
       	global $wp_query;
       	$thePostID = $wp_query->post->ID;
   
       	$postslist = get_posts('post_type=page&orderby=menu_order&order=ASC');
       	foreach ($postslist as $post) :
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Retrieving ID from query_posts()](https://wordpress.org/support/topic/retrieving-id-from-query_posts/)
 *  Thread Starter [davejay42](https://wordpress.org/support/users/davejay42/)
 * (@davejay42)
 * [17 years, 9 months ago](https://wordpress.org/support/topic/retrieving-id-from-query_posts/#post-839605)
 * [@otto42](https://wordpress.org/support/users/otto42/): Thanks a ton! That worked.
 * For the record, here’s what I’m using now that works.
    `echo get_post_meta(get_the_ID(),'
   upcoming_event_date', true);`

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