Don't display on single pages in a specific tag
-
I tried to be specific with my php, but I’m not getting this to work. I want some widgets to be hidden on single pages in a group of tags. Here’s the php I’m using:
! is_single && has_tag( array( ‘passover-recipes’, ‘passover-coupons’, ‘passover-meal’, ‘passover-symbols’, ‘kosher-for-passover’, ‘passover-on-a-budget’ ) )
I also tried this:
! is_single && ! has_tag( array( ‘passover-recipes’, ‘passover-coupons’, ‘passover-meal’, ‘passover-symbols’, ‘kosher-for-passover’, ‘passover-on-a-budget’ ) )
Any idea what I’m doing wrong? The site is here: https://kosheronabudget.com
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Don't display on single pages in a specific tag’ is closed to new replies.