CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.
How can I do the following.
This a few step process here.
1. Get all the ‘tags’ which are used for posts that are in the category ‘Work’
2. Then make that array of ‘tags’ unique so there are no repeats.
3. List the array of ‘tags’ but mark up each tag like the provided examples:
tagsArray = #(Digital Painting, Photos, Young People)
tags should then be placed into the html marked up like
I hope this makes sense and that someone can help me. Thank you very much everyone.
If anyone is wondering why I’m doing this its because I’m trying to proceduralize chris coyier’s filterblocksV2 http://css-tricks.com/filtering-blocks-v2/ into wordpress.
If anyone else has a better method by all means share. But based on the way he does it, this would be a similar way of doing it while allowing for dynamic updating of new tags and everything else.
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed