[wp-hackers] Custom search, how ?

scribu scribu at gmail.com
Wed Aug 18 12:45:45 UTC 2010


On Wed, Aug 18, 2010 at 3:19 PM, Lox <lox.dev at knc.nc> wrote:

> Doing so, it is ok, I can do:
>
> $wp_query('post_type=training&field_from_wp_training_info=value)
> >
>
> Witch is nice. But, now, I need to select training posts for an other meta,
> withc would be:
>
>
> $wp_query('post_type=training&field_from_wp_training_info=value&meta_key=my_meta&meta_value=the_value)
>
>
> Witch fails because I already use a meta to join with my custom table.....
>

You can give my new plugin a try, which allows multiple custom fields to be
queried:

http://wordpress.org/extend/plugins/query-custom-fields/


-- 
http://scribu.net


More information about the wp-hackers mailing list