get_all_meta
| Plugin Status | Stable | ||
| Author | erwan | Version | 2 |
| Plugin Home | Visit | Author Homepage | Visit |
| Download | Visit | Plugin License | N/A |
| Description : | |||
| display all values for a specific custom key, outside the loop | |||
| the original functions that display wordpress custom fields can only be used within the loop, meaning for a specific post. I found it useful to display all values for a specific custom field, for instance in the side bar. The function get_all_meta simply copies the get_post_meta, except that it doesn?ft handle the post_id argument. It should be added to the wp-includes / functions.php file of your wordpress installation. Version 2 adds a link to a search for each meta value |