Support

Account

Home Forums General Issues Issue using post_object field value in WP_Query Reply To: Issue using post_object field value in WP_Query

  • try:

    
    $args = array(
    	'numberposts' => -1,
    	'post_type' => 'post',
    	'meta_key' => 'show_venue',
            // meta_key_value should be meta_value
    	'meta_value' => get_the_title(), // "Venue one"
    	'order' => 'ASC'
    );