Support

Account

Home Forums Backend Issues (wp-admin) Use radio buttons to assign custom taxonomy slug to custom post type Reply To: Use radio buttons to assign custom taxonomy slug to custom post type

  • change your query to not include the current post

    
    $args = array(
      'post_type' => 'asc_video',
      'featured_video' => $term->slug,
      'post__not_in' => array($post_id);
    );
    $query = new WP_Query( $args );
    

    https://codex.wordpress.org/Class_Reference/WP_Query