listing sub pages after is_page outside the loop
-
Hello, i’ve been trying to wokr this out but seems like i just couldn’t.
i have got a sub menu
<ul id="second"> <?php wp_list_pages('child_of=6&sort_column=post_title&title_li=&sort_column=menu_order') ?>
wich should only be show if you are on a certain page or it’s subpages.
im’ guessing i should go with the is_page function and ad them all, but it’s somehow not working for me, i don’t know if it is just becuase is in the header just before the loop.
thanks in advance for your help.
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘listing sub pages after is_page outside the loop’ is closed to new replies.