Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Get all tags used for posts in specified category!

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #44199
    JokerMartini
    Participant

    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.

    #132239
    JokerMartini
    Participant

    If anyone is wondering why I’m doing this its because I’m trying to proceduralize chris coyier’s filterblocksV2 https://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)
  • The forum ‘CSS’ is closed to new topics and replies.