List Sub Pages disappears in Sub Pages
-
In my sidebar i have a list of sub-pages. For example on the ABOUT page, it lists the sub pages for ABOUT with no problem. I’m using this code in the sidebar:
<?php if(wp_list_pages(“child_of=”.$post->ID.”&echo=0″)) { ?>
-
<?PHP wp_list_pages(“title_li=&child_of=”.$post->ID.”&show_date=modified&date_format=$date_format&”); ?>
<?php } ?>
However, if i click on one of the sub page titles, it takes me to the sub page, but then i lose the sub page titles on the side bar. Also the Page titles I am displaying as a Nav bar in the header.php file. no problems there.
Has anyone experienced this before?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘List Sub Pages disappears in Sub Pages’ is closed to new replies.