Support » Fixing WordPress » Searching for posts in multiple categories

  • Hello all,
    I am searching for a plugin that allows you to search for posts from multiple categories. For example, on my site http://www.ipodstuffreviews.com, I need users to be able to search for a ipod accessories from a particular price range and also from a particular type. Is there a plugin that allows you to search for posts based on the categories that you select?

    Thanks

Viewing 1 replies (of 1 total)
  • nightlygigs

    (@nightlygigs)

    @ipoddude – Here is a link I found that will help you with that:

    http://www.jeremyduffy.com/computers-internet/wordpress-stuff/wordpress-multiple-categories/

    Now for my question: I’m trying to do a multi-category search, but I want to perform the search with the click of an icon, rather than a menu or series of checkboxes.

    My site (www.nightlygigs.com) is a listing of nightlife events, and each event is sorted by category. However, I’m using the plugin Event Calendar 3.1.4, which assigns a category to all events (called ‘events’). Since WordPress can’t search for multiple categories using an ‘AND’ operator, I’m running into trouble…

    I want my search feature to find only events taking place today or later, but I want to have a different icon for each type of event that, when clicked, pulls up a list of events only in that category.

    The only (simple) way I can think of acheiving this is to use a hyperlink for each event category icon that links to a URL like this:

    That link works, but it pulls up all events (cat=4 is the event category) without discriminating between types of events.

    Is there another parameter I can add to my hyperlink, such as ‘tag=’ or ‘meta=’, that will make it search for only events in cat=4 AND with a specific tag or meta data (e.g. Live Music, DJs, Karaoke)?

    Thanks in advance…

Viewing 1 replies (of 1 total)
  • The topic ‘Searching for posts in multiple categories’ is closed to new replies.