I have <? wp_list_pages ('title_li=&depth=1');?> on my sidebar code and it links my sidebar navlinks to their child pages. But how do I link these child pages to their respective child pages?
I have <? wp_list_pages ('title_li=&depth=1');?> on my sidebar code and it links my sidebar navlinks to their child pages. But how do I link these child pages to their respective child pages?
<?php wp_list_pages ('title_li=&depth=2');?> will increase the list's depth by 1 level. Or use <?php wp_list_pages ('title_li=');?> to show all pages.
Thanks for answering. Whenever I increase the number, it brings all of the subpages onto the main page, and my home page sidebar ends up with all of the possible pages listed on it. What could I be doing wrong there? What I'm trying to do is on the secondary page, make the lists on the secondary page links as well, to their subpages.
Thanks, Chuck
Ah - in that case, have a look at the Fold Pages plugin/widget.
thanks, I'll give it a try.
This topic has been closed to new replies.