• I am stuck and hoping someone will help work this out with me.

    I have a child theme of twentyeleven. The front page is set up with the latest posts, but only from 3 of the categories.

    I used this:

    <?php /* Start the Loop */ ?>
    <?php $query = new WP_Query( 'cat=6,8,11' ); ?>
    
    <?php while ( $query->have_posts() ) : $query->the_post(); ?>

    When a post is marked at “Sticky” it has a small “FEATURED” above it, but it stays within the listing, by date – I want it to jump to the top of the recent posts listed.

    I have tried a stack of things but the best I can do is to have the sticky post only, and the full post, not the excerpt as I want it.

    Can someone please help?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter JenRed

    (@jenred)

    So if a sticky post exists, the excerpt of it jumps to the top of the listing. Otherwise just display excerpts of recent posts in order as usual.

    Thread Starter JenRed

    (@jenred)

    Please can anyone help out with this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sticky Post at top, Certain Categories only – on front page’ is closed to new replies.