Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter hend0833

    (@hend0833)

    Hi Jose,

    Thank you very much for your answer and sorry for my late reaction. It wokrs, great! Before I had this, it worked but it was not the right way:

    <?php while (have_posts()) : the_post(); ?>
    	 <?php if ( is_sticky() ) :
    	get_template_part( 'content-sticky', get_post_format() );
     ?>
    <?php else : ?>
    	<?php break; ?>
    <?php endif; ?>
    <?php endwhile; ?>

    Your code seems to be the way! Thank you so much

Viewing 1 replies (of 1 total)