query_posts: how to show all ‘meta_value’ containing a specific word?
No need for a custom query. Since 3.1, you can use a ‘meta query’; query_posts( array( ‘meta_query’ => array( array( ‘key’ => ‘meta_key_name’, ‘value’ => ‘test’, ‘compare’ => ‘LIKE’ ) ) ) ); Check out the codex on custom field parameters.