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

Kelter-BadCat Design kelter at badcat.com
Fri Nov 21 22:13:29 GMT 2008

That still give me just one meta value...

I'm already showing more that one post on the page. Could this be an issue?


At 4:03 PM -0600 11/21/08, Otto wrote:
>You're getting back "Array" because when single = false, then it
>returns an array of all the metas for that post with that key.
>Simple example of getting more than one meta value:
>$timearray = get_post_meta($post->ID, 'time', false);
>foreach ($timearray as $time) {
>echo $time;

BadCat Design, Inc.
250 Union Square Drive
New Hope, PA 18938
Tel 215.862.4860

More information about the wp-hackers mailing list