• John Cionci

    (@hollywood24)


    Should be a quick simple question. I have created and marked a post as a “sticky” and it shows up above all other post, great! but its also showing up as the last post so how do I remove/hide/delete that?

Viewing 3 replies - 1 through 3 (of 3 total)
  • esmi

    (@esmi)

    Have you tried switching to the default theme to rule out any theme-related problem?

    Thread Starter John Cionci

    (@hollywood24)

    yes this is the default behavior of stick to my knowledge

    esmi

    (@esmi)

    You could try using:

    <?php
    $count = 0;
    if (have_posts()) : while (have_posts()) : the_post();
    $count++;
    if( is_sticky() && $count >1 ) continue;
    ?>
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Stick Post Help’ is closed to new replies.