Conditional tags not working on staging, but work on local dev.
-
Hi,
I have a theme/site that I have developed locally and everything works correctly. As soon as I put the theme up onto staging the is_woocommerce and is_product_category checks return false on product category pages.
If I switch over to Twenty 17 theme then they work as expected.
I have tried to track down the issue in my theme, but I cannot figure why the conditional checks would work everywhere else but not on the product category pages and only on the staging environment and not locally.
Anyone have any ideas how I can try and debug this?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Conditional tags not working on staging, but work on local dev.’ is closed to new replies.