davejay42
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Main navigation isn’t showing all pagesThe 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
In reply to: Main navigation isn’t showing all pagesYes! Thanks @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
In reply to: Main navigation isn’t showing all pagesit 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
In reply to: Main navigation isn’t showing all pagesthat’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
In reply to: Main navigation isn’t showing all pagesI 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
In reply to: Retrieving ID from query_posts()@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);