WordPress.org

Ready to get started?Download WordPress

Forums

how to search posts with multiple categories (5 posts)

  1. anees_muhd
    Member
    Posted 4 years ago #

    Hi,
    i am working in an existing wordpress site
    It uses the theme to make each post as a Accommodation listing (Theme Name: Open House)

    And while adding we can post the listing into multiple categories
    the current sample naming for the categories are
    R500-R600
    R600-R700
    R700-R800
    1 Room
    2 Room
    3 Room
    Location 1
    Location 2
    Location 3

    Also implemented a search plugin to list properties from a single category
    My doubt is how can i make it possible to search from multiple categories at a time

    at present the search result page shows like
    http://....com/?cat=34

    Is it possible to pass more than 1 variables for the category field and list commonly included listing from those categories

    Please help

    Regards
    Anees

  2. MichaelH
    Member
    Posted 4 years ago #

  3. anees_muhd
    Member
    Posted 4 years ago #

    But it outputs all the posts from category 10 and 16 (UNION)
    I need to get the posts that included in both in 10 and 16

  4. Poogig
    Member
    Posted 4 years ago #

    I have the same question, please has anyone got a solution/answer to this one??

  5. noelgreen
    Member
    Posted 4 years ago #

    Did you figure this out?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.