Grow your CSS skills. Land your dream job.

Get all tags used for posts in specified category!

  • # April 17, 2013 at 10:06 pm

    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

    Digital Painting
    Photos
    Young People

    I hope this makes sense and that someone can help me. Thank you very much everyone.

    # April 17, 2013 at 10:15 pm

    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.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".