我想知道如何过滤属性区域,我尝试:
<?php
$args = array(
'post_type' => 'estate_property',
'post_status' => 'publish',
'tax_query' => array(
'taxonomy' => 'property_area',
'field' => 'slug',
'terms' => 'pigalle',
),
);
$selection = new WP_Query($args);
?>
Run Code Online (Sandbox Code Playgroud)
但都表现出来了!为什么 ?哈哈
谢谢
wordpress ×1