Forums

Tag filtering (4 posts)

  1. paymaster
    Member
    Posted 3 years ago #

    Is there anyway to set up a filtering system where the user can choose multiple tags to filter their search down even further?

    This would be similar to the system used in del.ico.us, where you can type in another tag to further refine the search?
    (This feature wass requested some months ago here

    Ideally, I would like my visitors to be able to select from a tag cloud, and then have the option of selecting further items from a refined tag cloud, or to show all that match the tags selected.

    Is this at all possible? How would somebody go about doing it?

  2. paymaster
    Member
    Posted 3 years ago #

    I've realised that you can do tag combinations by adding the second tag after a plus-sign i.e. example.com/?tag=tag1+tag2

    Is there anyway of making a tag cloud dependent on which other tags have been selected, so that you could narrow it down?

  3. jbpisio
    Member
    Posted 3 years ago #

    I looked for a very long time to find a tag filter system similar to what you are describing, but I couldn't find one, so this is what I came up with for my page:

    sciemploy

    I used the plugin, Category Page which can be found at:

    Category Page

    It lets you connect pages to your category archive pages, showing them as a header. So, whatever you put in the connected page will show up as a header every time you click the category it has been connected to. The beauty of this is that you can have a separate header for each category that you have.

    Using that plugin, I connected an unpublished (so it wont show up on the title bar) page to each of my categories, which on my website, are the provinces of Canada. For the Category Page plugin to work properly, you have to publish the linked page when doing the connection. You can then switch it to unpublished right after, though.

    Each of the connected pages has a set of Icons with links that look something like:

    http://sciemploy.ca/tag/environment+bc/
    http://sciemploy.ca/tag/engineering+bc/
    ...etc

    For each category, you have to switch the second tag in the link to match the category it will be searching within.

    So on my website, when you click a category (Province), it shows all of the companies in my directory from that province, but when you click on the buttons in the category page header, it essentially does a double tag search (Province + Industry).

    You just have to make sure you tag all of your posts with both the Category name and your refined search parameter. In my case, I tag every post by Province, which is also the category I file it under, and by the Industry.

  4. clarklab
    Member
    Posted 3 years ago #

    Does anyone have a better solution for this? I've got a ton of tags and want a user to be able to 'drill down' and add as many tags as they like. I'm setting up a CSS gallery and think it would be a real benefit to have the sites be sortable by multiple tags.

    I've searched for a plugin that does this and couldn't turn one up, then I looked at implementing it myself and haven't figured it out yet. I see you can just tack on more tags to the URL by just adding '+tagname' and it works fine, but I guess I need to figure out a way to give this control to the user using only tag links on the page.

Topic Closed

This topic has been closed to new replies.

About this Topic