Support

Account

Home Forums General Issues Filter Posts by Custom Fields Reply To: Filter Posts by Custom Fields

  • I am assuming from your explanation that the post object field allows multiple selections

    
    $args = array(
    	'numberposts'	=> -1,
    	'post_type'		=> 'tv',
    	'meta_key'		=> 'instruments',
    	'meta_value'	=>  '"'.$post->ID.'"'
    	'meta_compare' => 'LIKE'
    );