I have use tutorial multiply sidebar and I try to organizer the pages
I want on each page a different sidebar example
Over Dhini parent menu
- Beauty
- Chickmedia
- Special
- etc..
And when I click on Beauty then come new sidebar
- Stash
- etc
Site parent menu
- Resources
- WP plugins
- etc
But on Over Dhini you see there also Site on sidebar :( and subpage site. That is not what I want.
Can anyone help me, please
Thanks
dinosrules
Member
Posted 2 years ago #
well dhin, it is a little difficult to understand you. Can you also provide us with a link?
You can here Over Dhini or Site
How about:
<?php
if(is_page('Over Dhini')) get_sidebar('dhini');
elseif(is_page('Site') get_sidebar('site');
else get_sidebar();
?>
http://codex.wordpress.org/Conditional_Tags
Where can I put this code Esmi?
I want to try it
If you're using pages rather than posts/categories for "Beauty", "Stash" etc, you'd just need to add it to page.php.