Forums

Tag selection (2 posts)

  1. RonKlaren
    Member
    Posted 4 years ago #

    Hello all,

    Although I searched the forums, I couldn't find an answer to my question, so I started a new topic.

    What I would like to do is best explained using an example:

    On a site I want to create a database of moviereviews. To make searching easier I'm gonna use tags.

    A.o. I want to use these tags/categories:

    Age: 0-3, 3-12, 12-18, 18+
    Genre: comedy, horror, action etc.
    Year: 1990, 1991, 1992 etc.

    What would be great if users could have the option to select from the 3 catgories (age, genre, year) to get an overview of movies for the specific audience they want.

    For example: I want to see all movies suitable voor agegroup 12-18, in the genre action, from the year 2001.

    Is this at all posible in WordPress, or do I have to stick with Drupal?

    Many thanks for any light you people can shed on this!

    Regards,

    Ron

  2. NeXXor
    Member
    Posted 4 years ago #

    I don't think there is an in-built function for this specific problem.

    You must code a little function on your own. The wordpress database contains a post_to_cat table where every tag is stored. So you must access this table to get all posts which fit.

Topic Closed

This topic has been closed to new replies.

About this Topic