Targeting a taxonomy
-
I have searched a lot of forums for this and a few people have had the same issue but no solutions so far.
I have an events site and have added tags to some events named ‘non-spektrix’ these are local events not linked to a ticketing site so I want to hide the tickets box (#instancesBlock) when an event has been tagged ‘non-spektrix’. Is this possible?
I basically want to add some code to say:
If an event (post_type) has been tagged as ‘non-spektrix’
use this style:
#instancesBlock {display: none;}would this go in my functions.php file?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Targeting a taxonomy’ is closed to new replies.