Adding a class to tag li's
-
Hey Hey,
I was just wondering if anyone came across this. I’ve searched online, but couldn’t find the right information I am looking for.
I am using the jQuery Quicksand plug in to re-order my thumbnails of posts. Similar to https://razorjack.net/quicksand/. This uses classes to identify which post’s are associated with a specific tag.
What I’m trying to do is list the tags that are associated with the all the posts. (Only have 3-5) While listing them I want to add a class (for example “class=”single-tag””)
Then while I’m going through the WP loop I want to add a class of any tags associated with that individual post to the post div that holds the entire content of the post.
Any ideas?
Cheers,
Simon
- The topic ‘Adding a class to tag li's’ is closed to new replies.