Tag Checking
-
I’m trying to check if a post has specific tag but I cant seem to figure it out and when I search Google I get a lot of stuff about template tags and not content sorting tags.
I know it can be done with categories like so:
if ( in_category( 'work' )) { // do things }
Is there a way to do the same thing with tags?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Tag Checking’ is closed to new replies.