[wp-hackers] Select Menu to filter results by Custom Values

Jennifer Hodgdon yahgrp at poplarware.com
Fri Nov 21 19:42:44 GMT 2008


scribu wrote:
> Also, you'll have to use a custom query, something like " SELECT * FROM
> $wpdb->postmeta WHERE key='time' "

I don't think that is necessary. The get_post_meta() function should 
return the whole array, and get_post_custom gives you all the post 
meta in one big array.

http://codex.wordpress.org/Function_Reference/get_post_meta
http://codex.wordpress.org/Function_Reference/get_post_custom

    --Jennifer

-- 
Jennifer Hodgdon * Poplar ProductivityWare
www.poplarware.com

Drupal/WordPress Sites, Themes, Modules/Plugins
Custom Web Programming, Web Databases
PHP, Perl, MySQL, JavaScript, XML, AJAX



More information about the wp-hackers mailing list