Tag Info

Hot answers tagged


Your query seems to be fine and it should work. It's not returning result probably because you are missing type parameter for ads_status field. So your code should be. <?php $args = array( 'post_type' => 'banner', 'posts_per_page' => 25, 'meta_query' => array( 'relation' => 'AND', array( 'key' => 'ads_status', ...

Only top voted, non community-wiki answers of a minimum length are eligible