Suporte » Questões avançadas » Post Fixo não aparece nos posts gerais

  • Resolvido Eduardo Sully

    (@eduardosullybr)


    Eu tenho um loop normal:

    <!-- article - noticias -->
    	<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    
    		<!-- post thumbnail -->
    		<?php if ( has_post_thumbnail()) : // Check if thumbnail exists ?>
    			<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
    				<?php the_post_thumbnail(array(120,120)); // Declare pixel size you need inside the array ?>
    			</a>
    		<?php endif; ?>
    		<!-- /post thumbnail -->
    
    		<!-- categoria -->
                <div class="categoria-home">
                	<p><?php the_category(''); ?></p>
                </div>
    		<!-- /categoria -->
    
    		<!-- post title -->
    		<h2>
    			<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a>
    		</h2>
    		<!-- /post title -->
    
    	</article>
    	<!-- /article - noticias -->

    Como faço para os posts fixos não aparecerem nos posts gerais?

    Preciso muito da ajuda!!!

    Obrigado.
    Abraços, Sully.

A visualizar 1 resposta (de um total de 1)
A visualizar 1 resposta (de um total de 1)
  • O tópico ‘Post Fixo não aparece nos posts gerais’ está fechado a novas respostas.