WordPress.org

Ready to get started?Download WordPress

Forums

Advanced Text Widget
[resolved] category + post_in_category (2 posts)

  1. clickmac
    Member
    Posted 1 year ago #

    is there a way to join both of these TOGETHER? so that the text would show in the sidebar for both specific category and the posts assigned to that specific category as well.........in so doing no where else on my site would have text in the sidebar...just the specific category of my choice and post within that same category

    http://wordpress.org/extend/plugins/advanced-text-widget/

  2. Max Chirkov
    Member
    Plugin Author

    Posted 1 year ago #

    If I understand this correctly, you want the widget to appear in category A and, also, in posts that are in the category A. If so, add this rule to the ATW settings:

    is_category($arg) || in_category($arg)

    Then select this rule in the widget and enter category ID (it's a numeric value) or slug. It should work.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic