WordPress.org

Support

Support » How-To and Troubleshooting » Filter Posts by different custom fields values

Filter Posts by different custom fields values

  • Hi guys,

    I tried searching different alternatives to my question, but I had no luck*.

    I’m trying to get a search result based on custom fields meta data, say:
    Price: $100 – $400
    Location: Buenos Aires
    Type: All

    These options should be on the frontend and their values can be specific ones or not defined (meaning, “all”). Is there any way to achieve this? I’d like the user to click on “Search” after chosing these values..

    Result should be, as *expected*, all pages or posts (in this case pages) with those values. I wouldn’t mind defining the parent page ID where every page (which I want to filter) is.

    My page tree is:
    Home
    About
    Group Page
    -Group page 1 + custom fields
    -Group page n + custom fields
    Contact Us

    *I found Scribu’s plugin:
    http://wordpress.org/extend/plugins/custom-field-taxonomies/ which looks amazing but can’t figure out how to implement it the way I’d like it to work.

    Also, Mike from WP-Hackers list told me to look at http://codex.wordpress.org/Custom_Queries but wasn’t as deep as I expected..

    Thanks a mil if you can give me a clue on this one!

    J

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Filter Posts by different custom fields values’ is closed to new replies.