I'm using Get Posts plugin to list posts with post type "project". I want to filter the list by two custom fields: year (ex. 2006) and state (ex. Completed). I added
meta_query to the plugin's
get_post args and tried the shortcode:
[get_posts post_type="project" meta_query="array(array('key' => 'state', 'value' => 'Completed'),array('key' => 'year','value' => '2006'))" suppress_filters="false"]
This is not working, though I can get both "state" and "year" to work by their own using
Can someone put me in the right direction?