Advanced Text Widget
Manage by post category and page ID? (5 posts)

  1. aurorasentinel1
    Posted 3 years ago #

    I've successfully used ATW to not show a number of widgets in a post in category. Now I need to also suppress the same widgets from a specific page. Is this possible?


  2. Max Chirkov
    Plugin Author

    Posted 3 years ago #

    Can you walk me through the condition that you need? Is it just a specific post or the widget shouldn't show in a specific category + in a specific post that doesn't belong to this category? Let me know the details.

  3. aurorasentinel1
    Posted 2 years ago #

    I have the widget set to hide specific post category. I'd also like to hide on a couple of pages. Widget visibility is currently set as:

    Do NOT show on Post in Category
    Slug/Title/ID: 14

    I'd like to add a single page (not post) to the condition.

  4. Max Chirkov
    Plugin Author

    Posted 2 years ago #

    In that case, you need to add a new custom condition in the plugin's settings. It should look like this:

    is_category($arg1) || is_page($arg2)

    After that, you'll be able to select your newly created condition in the widgets section. Also, select Do NOT Show on - the name of your new condition. Then add your IDs into the Slug/Title/ID field separated by pipe, like this:


    where 14 is ID of a category and 999 - id of a page.

  5. Max Chirkov
    Plugin Author

    Posted 2 years ago #

    You can add multiple page or category IDs, just separate them with commas like this:


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


No tags yet.