Dyanmic sup page links on parent
I am currently in the process of migrating a static site into wordpress. The site uses a main horizontal nav, and a sub menu on the left side which is dependant upon the parent navigation.
I have created all the pages in WordPress, and limited the top nav to parent pages using wp_list_pages(‘title_li=&depth=1’). Great, so that works well.
Then I try to have the sub pages for the selected parent appear on the left using wp_list_pages(‘title_li=’ . the_title() . ‘&child_of=<page ID>’). All that does is list the currently selected page. I have tried a few other WordPress codes but I am not getting what I want.
I have searched these forums and the codex extensively but had no luck finding a solution.
My request is not too dissimilar to this one here: http://wordpress.org/support/topic/23638
So can this be done dynamically, or do I have to have a new template for every page?
- The topic ‘Dyanmic sup page links on parent’ is closed to new replies.