How to exclude same meta key value while post

Question

$argz = array(
'post_type' => 'episode',
'tax_query' => array(
array(
'taxonomy' => 'episode_tag',
'field' => 'slug',
'terms' => array(
$title,
)
)
),
'meta_query' => array(
array(
'key' => 'season_no',
'compare' => 'EXISTS',
)
)

      );


      $movie = new WP_Query( $argz );

      while ( $movie->have_posts() ):
        $movie->the_post();


      ?>
      <?php the_field('season_no') ?>
      <?php endwhile; ?>

I want to exclude meta key value if they are same.

enter image description here

0
tayfur katmeray 4 months 2020-12-17T19:10:21-05:00 0 Answers 10 views 0

Leave an answer

Browse
Browse