Forums

A simple search for multiple tags? (8 posts)

  1. mattleadtooth
    Member
    Posted 4 years ago #

    Hello!

    I'm working on setting up a site for a realty company. It's a small company, but they want users to be able to search by location, size, and a couple of other criteria. I'm trying to make it work with WordPress, but can't seem to figure out how to configure a search page.

    It seems like the best way to organize the page is with tags. When they create a new listing, they can just select from a pre-determined list of tags that will help the listing be found in the search. I'd like to set up the search page with drop down options or check boxes so the user can select from a list of options. Each option would correlate to a tag. I hope that makes sense.

    I've dug around relentlessly for the past few days both on here and Google and haven't found any options that seem like they'll work.

    Is there a way to link directly to a tag? If so, I think I might be able to create a form that would work.

    I haven't developed the site yet, as I want to make I'll be able to make the search work before inputting a ton of listings into WordPress. I have WordPress 2.0.11 installed now, but can upgrade to 2.3.3 if that might help.

    If anyone has any suggestions or ideas, I would really, really appreciate them. Thanks for reading and take care.

    Matt

  2. mores
    Member
    Posted 3 years ago #

    Same here. I've only used tags ONCE in all my 10+ WordPress sites that I have done and I think I'm missing out on a very cool and functional feature.
    Right now I need to create a catalog of people with different skills and areas of expertise as well as geographical issues and I think I need to use tags.

    So ... any smart brains around here ?

    :)

  3. gabrieletj
    Member
    Posted 3 years ago #

    Same here in Italy. I have a real estate + tourism websites I want to migrate on wordpress but I need this kind of tags search engine.

  4. mores
    Member
    Posted 3 years ago #

    It's not helpful for my project, but you can call tags directly.
    Assuming you're using pretty permalinks, you can use links like

    yoursite.com/tags/tag1

    If you need to search for posts that contain multiple tags, you must use

    yoursite.com/tags/tag1+tag2

    etc.

    If you're not using permalinks it's

    yoursite.com/?tag=tag1+tag2
  5. theblogdoctor
    Member
    Posted 3 years ago #

    @mores

    I am looking for same feature, i.e. ability to list posts from multiple tags.

    Neither of your suggestions work. I even tried it on other wordpress sites online.

    i.e. neither
    yoursite.com/tags/tag1+tag2
    not
    yoursite.com/?tag=tag1+tag2

    Works.

    Can you post a link of a site where this works so I can see for myself ?

  6. theblogdoctor
    Member
    Posted 3 years ago #

    Example, I pulled up following wp 2.7 site from google.

    See how
    http://puffbox.com/?tags=petitions+ukgovoss
    goes to home page and lists all posts (and hence not working on tag filtering)
    and
    http://puffbox.com/tags/petitions+ukgovoss
    show blank page ?

  7. MichaelH
    Volunteer
    Posted 3 years ago #

    See theblogdoctor's new thread: http://wordpress.org/support/topic/250053

  8. mores
    Member
    Posted 3 years ago #

    http://puffbox.com/?tag=petitions+mysociety
    works.
    Notice "tag" is singular, not plural.

    This
    http://puffbox.com/tag/mysociety+petitions/
    works too

    Again, singular "tag" ;)

Topic Closed

This topic has been closed to new replies.

About this Topic