Query Post By Custom Fields WordPress Advanced Custom Post
Query By a Custom Field Advanced Custom Fields Plugin
I was looking into searching custom fields on WordPress and I found a simple method for this. $posts = get_posts(array( 'numberposts' => -1, 'post_type' => 'post', 'meta_key' => 'color', 'meta_value'