[wp-hackers] Search / Filter custom meta values from frontend

Joaquin Rodriguez Montero yojoaquin at gmail.com
Thu May 20 01:39:14 UTC 2010

Thanks for the tip Mike! Unfortunately the page isn't as deep on the subject
as I could have expected. I just posted my challenge on the forum to see if
I can get any other piece of information.. I'm thinking a form tied up to a
query which will be enabled upong hitting "search" but it's quite too
technical for me at this stage..


>Date: Tue, 18 May 2010 14:33:51 -0400
>From: Mike Schinkel <mikeschinkel at newclarity.net>
>Subject: Re: [wp-hackers] Search / Filter custom meta values from frontend
>To: wp-hackers at lists.automattic.com
>Message-ID: <6D570F6D-8C2F-43DE-9FD2-4F37E2AB6682 at newclarity.net>
>Content-Type: text/plain;       charset=us-ascii
>Hi Joaquin:
>I'm building similar search functionality for a client right now. It's not
straightforward but it's doable using hooks.  You'll need to hook the
"posts_" hooks.  This page should give you some help:
>On May 18, 2010, at 2:15 PM, Joaquin Rodriguez Montero wrote:
> Hi guys,
> I tried searching different alternatives to my question, but I had no
> 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?
> 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.
> Thanks a mil if you can give me a clue on this one!
> J
> ______________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

More information about the wp-hackers mailing list