Title: Filter Posts by different custom fields values
Last modified: August 19, 2016

---

# Filter Posts by different custom fields values

 *  [chocks](https://wordpress.org/support/users/chocks/)
 * (@chocks)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/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/](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](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)

 *  [Darrell Schauss](https://wordpress.org/support/users/darrellonsite/)
 * (@darrellonsite)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/filter-posts-by-different-custom-fields-values/#post-1506288)
 * This might help for using the query_posts function
    [http://codex.wordpress.org/Function_Reference/query_posts#Custom_Field_Parameters](http://codex.wordpress.org/Function_Reference/query_posts#Custom_Field_Parameters)
 * For more in depth control.
    If you know how to work with SQL statements. This
   one shows custom select queries of posts based on custom fields. [http://codex.wordpress.org/Displaying_Posts_Using_a_Custom_Select_Query](http://codex.wordpress.org/Displaying_Posts_Using_a_Custom_Select_Query)

Viewing 1 replies (of 1 total)

The topic ‘Filter Posts by different custom fields values’ is closed to new replies.

## Tags

 * [filter](https://wordpress.org/support/topic-tag/filter/)
 * [sort](https://wordpress.org/support/topic-tag/sort/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Darrell Schauss](https://wordpress.org/support/users/darrellonsite/)
 * Last activity: [15 years, 12 months ago](https://wordpress.org/support/topic/filter-posts-by-different-custom-fields-values/#post-1506288)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
