Guys I'm creating a theme for a Wordpress news site and I'm not finding a way to publish a featured news story without it appearing in other blocks. - I was using tags, but I want to put it to appear in the post and I don't want the tag => 'highlights' to appear, just as if I create a category. I want to type an offset in the other block (other than the highlight) that shows what was already highlighted, but not what is currently ...
<?php
global $post;
$c = 0;
$args = array( 'numberposts' => 1, 'tag' => 'destaques');
$myposts = get_posts( $args );
foreach( $myposts as $post ) : setup_postdata($post); ?>
<div class="col-md-4 container-large <?php $c++; if($c == 2) { echo 'no-no'; } ?>" id="containerMancheteEsq">
<div class="container-esq-feed <?php $c++; if($c == 6) { echo 'no-no'; } ?>">
<a href="<?php the_permalink(); ?>">
<div class="container-imagem">
<?php the_post_thumbnail('medium', array('class' => 'containerManchete-img')); ?>
</div>
</a>
<div class="container-info-simple">
<span class="target"><?php the_category(); ?></span>
<a href="<?php the_permalink(); ?>">
<h4><?php the_title(); ?></h4>
</a>
</div>
</div>
</div>
<?php endforeach; ?>