I have page structure like:
parent1
– child1
– child2
– child3
parent2
– child1
– child2
– child3
I have set parent1>child1 page to display the blog (in settings > reading).
Apparently the page needs to be empty to allow articles to show up, but in my theme when I use wp_list_pages(“child_of=id_of_parent1”), it only shows child2 and child3 …
I forced the display of another menu item in my theme, but I then loose all advantages like the current_menu_item css class, etc.
I think it’s because you have set parent1/child1 to be your posts page. Therefore WP no longer classes it as a standard WP Page and omits it from the page listing. The only way around this would be to create a new parent page (parent3?) and set this new page to be your posts page via Admin/Settings/Reading/
Viewing 1 replies (of 1 total)
The topic ‘Force menu item display ?’ is closed to new replies.