Support

Account

Forum Replies Created

  • Here is my current code. I’ve resolved the issue of querying multiple post types but now I need to only get posts that have:
    date_picker_value1 <= current_date <= date_picker_value2

    $args = array (
        'post_type' => array('friday','saturday','sunday','special'),
        'meta_query' => array(
    	array(
    	    'key' => 'publish_area',
    	    'value'     => 'left',
    	),
        ),
    );
Viewing 1 post (of 1 total)