Hello, I have a static wordpress theme which uses pages instead of blog posts. When user clicks on a certain parent page ie, News, they should see links to the child pages ie "News 1, News 2"..etc. Make no mistake, the child page links should not show on every page, just on its parent page Can you use php wp_list_pages? I tried <?php wp_list_pages('child_of=9&sort_column=post_title&title_li=') ?> PHP: but this only shows all child pages of Parent page number 9 on ALL pages, not on page 9 only Please send me a PM or post here if you can do this. I will compensate you monetarily. Thanks
Try <?php $current_cat_id = get_cat_id(single_cat_title('', false)); wp_list_pages('child_of='.$current_cat_id.'&sort_column=post_title&title_li=') ?> ?> Code (markup):