Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #173341

    Hello

    I have 2 pages with posts and same layout:

    1. http://www.adw.cl/whiskypedia/
    2. http://www.adw.cl/whiskyteca/

    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.

    http://www.adw.cl/category/whisky-escoces/highland-single-malt/

    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!
    José

    #173343
    This reply has been marked as private.
    #174440

    Hello!

    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.

    Best regards,
    Devin

    #174586

    Thanks Devin, works ok!!

    Regards
    José

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Sidedars in category pages’ is closed to new replies.