Help using ‘fold page list’ plugin
-
I am looking for some help with using the fold page list plugin.
I have it running on a site that I am developing here: https://www.privileged.group.shef.ac.uk/
From second level and below is displayed in the left hand menu. It works fine when clicking on a second level menu item and correctly displays the third level menu item in the menu. However, when clicking on a third level menu item the second level menu items disappear and the third level items become the top level and their children are displayed.
The code that I have generating the menu is:
<ul> <?php $thispage = $wp_query->post; if($thispage->post_parent!=0) //if not top level { wswwpx_fold_page_list("depth=3&title_li=&child_of=".$thispage->post_parent); } else //if top level { wswwpx_fold_page_list("depth=3&title_li=&child_of=".$thispage->ID); } ?> </ul>
I have been playing around with various permutations for ages now but have not come up with anything that actually works as I want it to.
Does anyone know how I can get it so that a single branch will keep expanding to the nth level but still display all of the current page’s ancestors, but still excluding the first level menu items which are only displayed on the horizontal menu?
Many thanks,
John
- The topic ‘Help using ‘fold page list’ plugin’ is closed to new replies.