• Resolved Monica Haught

    (@monkeymays)


    I am trying to hide a widget from all product listings in a specific category. I can hide the widget on the category page with no issues, but the widget still shows on the product pages in that category.

    Any help is greatly appreciated.

Viewing 1 replies (of 1 total)
  • Thread Starter Monica Haught

    (@monkeymays)

    I figured it out, I tried an array, but it wouldn’t work, but the following did. I just had to put each product ID in separately.

    !is_product_category( ‘wholesale’ )
    && !is_single( ‘10586’ )
    && !is_single( ‘10559’ )

Viewing 1 replies (of 1 total)
  • The topic ‘Hide widget on product page in specific category’ is closed to new replies.