Support

Account

Home Forums General Issues WP_Query with taxonomy field Reply To: WP_Query with taxonomy field

  • This not forking

    $args = [
    		'posts_per_page' => - 1,
    		'meta_query'     => [
    			'relation' => 'AND',
    			[
    				'key'     => 'cities_start1',
    				'value'   => [4,11,34],
    				'compare' => 'IN',
    			],
    			[
    				'key'     => 'cities_finish2',
    				'value'   => [3,12],
    				'compare' => 'IN',
    			],
    		]
    	];