Support » Plugin: Custom Sidebars - Dynamic Widget Area Manager » sidebars for post in category

Viewing 3 replies - 1 through 3 (of 3 total)
  • bjonesilg


    any ideas, I really need to get this sorted for a big client of ours.

    I know you probably no longer need this, but I am posting it for anyone else who may find it useful.

    Unfortunately, in Custom Sidebars you have to designate the sidebars individually per post (In the “edit post” screen).

    Fortunately we can enlist the help of the plugin, Widget Logic. Widget Logic lets you designate where widgets will appear. Some people use only WL for their sidebars, but I like to use it in conjunction with Custom Sidebars.

    All you have to do is install Widget Logic, go to Appearance > Widgets, and designate the category and/or category posts you want your sidebars to appear.

    The plugin is powerful, but not very user friendly if you are not very familiar with code. the FAQ page is a big help. The below instructions are taken from there.

    * X refers to your category. it can be the category name, the category slug, or the category ID. ID is best, in case you change the name or slug later. more info Here

    For widgets to appear on a category page, use this:

    For widgets to appear on just the category’s posts, use this:
    (is_single() && in_category(‘X’))

    For widgets to appear on a category page and its posts, use this:
    is_category(‘X’) || (is_single() && in_category(‘X’))

    If all this is over your head, you can always check Widget Logic’s support forums.

    J K


    Hi there,

    Sorry for the extreme delay here.

    Thanks for your valuable input here @apcgallery

    Kind Regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘sidebars for post in category’ is closed to new replies.