在我的query_posts
我使用\'meta_key\' => \'clpr_topcoupon\', ;meta_value\'=> 1,
现在我想展示一篇没有,但有meta_value
第一我试过:
\'meta_query\' => array(
\'relation\' => \'OR\',
array( //check to see if date has been filled out
\'meta_key\' => \'clpr_topcoupon\',
\'meta_value\'=> 1,
),
array( //if no date has been added show these posts too
\'meta_key\' => \'clpr_topcoupon\',
\'meta_value\'=> 0,
)
),
但是,它不起作用。它显示的是0
第一