jmasondotnet
Member
Posted 1 year ago #
I have a site here: http://www.valp.tv
I am using Digg theme and it is a work in progress. I have install the "fold page list" plugin.
Here is the code i have in my side bar.
<!-- Start Sidebar -->
<div class="sidebar">
<?php wswwpx_fold_page_list ($arglist, $fullunfold); ?>
</div>
<!-- End Sidebar -->
What I am wanting to do, is only have the child pages of the parent page when a parent page is clicked. So if you click on Video only the child pages of Video will show in the side bar. I keep reading the forums and trying different code, however i can't seem to find the right combo to get this to work. Any help would be great.
$arglist, - that's a placeholder...
You should ALWAYS read carefully the plugin's instructions!
To use, simply replace the code fragment that looks like this
<?php wp_list_pages ($arglist); ?>
with this:
<?php wswwpx_fold_page_list ($arglist); ?>
You can even use the same arguments as in the original call.
Same arguments = same parameters = http://codex.wordpress.org/Template_Tags/wp_list_pages#Parameters
jmasondotnet
Member
Posted 1 year ago #
Thank you for you reply, I had re-pasted that , as i had been trying different code. I guess i am just not smart enough to figure our what arguments or parameters i need to use to get just the child pages to show in the side bar when a parent page is clicked on. Any help would be great.
Then just click on my name and read the "Two-level menus..." articles :)
(in the popular posts)