WordPress.org

Forums

Widget Logic
[resolved] Anyone! How to Exclude/Specific Category from/to Category Widget? (3 posts)

  1. Watch Teller
    Member
    Posted 1 year ago #

    Hi,

    Can Widget Logic to exclude WooCommerce product category OR Specific WooCommerce product category from/to WooCommerce product category widget?

    https://wordpress.org/plugins/widget-logic/

  2. Kenny Eliason
    Member
    Posted 1 year ago #

    It should work just fine with woocommerce, you just need the ID of the woocommerce category, then you should be able to use the following to show the widget on the specified category:

    is_product_category(24)

    or the opposite to show on every page except page 24:

    !is_product_category(24)

    Give it a shot and report back!

  3. Watch Teller
    Member
    Posted 1 year ago #

    V5.8 to support WC. But tried not luck. Especially hide widget only shop page.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.