If post has this tag Then add class to thumbnail
I’m working on a custom page template and am trying to accomplish the following.
If my post has the tag “monkeys” (for example) them I want the class “tag-monkeys” added to the thumbnail so that the proper style is applied.
I’ve been messing with it for a bit but haven’t had any success. Has anyone else managed something similar?
- The topic ‘If post has this tag Then add class to thumbnail’ is closed to new replies.