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

  1. clickmac
    Posted 2 years 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


  2. Max Chirkov
    Plugin Author

    Posted 2 years 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

  • Advanced Text Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic