Widget Logic in Custom Category
-
I am using WPAdverts to display classified ads.
They use a taxonomy of taxonomy=advert_category&post_type=advert.
I’m trying to display a widget only when a category is in a certain category but I can’t seem to figure out the syntax? What am I missing?
is_advert( 'advert_category', 'hilton-head') && is_single() && (get_post_type()=='advert')
- The topic ‘Widget Logic in Custom Category’ is closed to new replies.