WordPress.org

Forums

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

  1. Watch Teller
    Member
    Posted 11 months 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 11 months 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 11 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.