Is not a specific Woocommerce product and is not the 404 page
-
I’m trying to not show a widget on a single Woocommerce page. I am successfully able to do that with this (and the ID of the product): !is_single(97)
But, I can’t seem to exclude the 404 page. Even if I remove the !is_single(97) and just use !is_404() it still shows on the 404 page.
- The topic ‘Is not a specific Woocommerce product and is not the 404 page’ is closed to new replies.