hypnotiza
Member
Posted 3 years ago #
Hey there,
I'm running into a weird problem where pages that I set as children aren't showing up under their parent. If you go to : http://www.wphypnotiza.hypnotiza.com, you'll see that on the far right column there is a Pages area, and if you click on the Links Parent it will take you to the Links page with it's description, but none of the children show up: Tools & Resources, Design Art Graphics.
So is there some setting I'm missing? Is it a theme thing?
Help!
Likely a theme thing where the sidebar.php (and the header.php) are using the depth=1 parameter of the template tag, wp_list_pages(), to display the list of Pages.
Resources:
Stepping Into Templates
Stepping Into Template Tags
Template Hierarchy
The pages (and categories) are displayed ok, just add
.SRR ul ul { padding-left: 2em; }
to the style.css file of your theme to increase the indent for second level pages and categories.
hypnotiza
Member
Posted 3 years ago #
wpbct7: The pages display but not the child pages when you click the parent page. Thanks for the suggestion.
The actual link: here.
MichaelH: thanks! I'll give that a try.
hypnotiza
Member
Posted 3 years ago #
MichaelH,
I poked around in the sidebar.php and the header.php. I didn't find anything in the sidebar.php but in the header.php I found this:
<div class="Menu">
</div>
I bolded the line I think is in question: wp_list_pages('title_li=0'); might be the part breaking my experience.
Thanks.
Those look okay. Did you try wpbct7's advice?
hypnotiza
Member
Posted 3 years ago #
Right but doesn't that only affect the side bar?
I want the actual child pages to show up as a list when I click the parent page. Like this:
http://insidepassages.com/?page_id=43
There isn't any extra code written to display those child pages in the Galleries parent.
hypnotiza
Member
Posted 3 years ago #
My issue is related to previous post on Nested pages. Here. Plus I think I figured out a way around it.