I have 2 pages with posts and same layout:
Both have custom left sidebars, ‘Sidebar whiskypedia’ and ‘Sidbar whiskyteca’, wich have some categories.
A category is only in one sidebar.
In Enfold Theme options, blog page is blank.
The thing is when i click some category en page ‘Whiskyteca’, the post are displayed, and when I click in the post, the sidebar that loads is the ‘Sidebar blog’, wich I can only assign only one acordion menu.
So, the desired behaviour is that the sidebar should be displaying the same that posts have.
Something like: “If category = 1,2,3,4 then sidebar=’Sidebar Whiskypedia’, else if category=5,6,7,8 then sidebar=’Sidebar Whiskyteca'”…
Some php I can modifiy?
Thanks a lot!
You’ll need to use a plugin like this one for that kind of functionality: http://wordpress.org/extend/plugins/widget-logic/
It will allow you to use WordPress conditional logic to make widgets display only on some categories/pages etc.
The topic ‘Sidedars in category pages’ is closed to new replies.