Title: Sticky Posts
Last modified: August 18, 2016

---

# Sticky Posts

 *  Resolved [sharon88](https://wordpress.org/support/users/sharon88/)
 * (@sharon88)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/sticky-posts/)
 * How do I make a sticky post that stays on the top of my blog until I delete it
   or move it?

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [tanster](https://wordpress.org/support/users/tanster/)
 * (@tanster)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/sticky-posts/#post-325015)
 * I use [Adhesive](http://redalt.com/wiki/Adhesive).
 *  Thread Starter [sharon88](https://wordpress.org/support/users/sharon88/)
 * (@sharon88)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/sticky-posts/#post-325052)
 * Thanks!
 *  [carnold](https://wordpress.org/support/users/carnold/)
 * (@carnold)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/sticky-posts/#post-325180)
 * I would like to “sticky/static” an entry on a page that i have created. I have
   installed adhesive but it looks like this if for posts only. How do i make a 
   message appear at the top of a page, always?
 * Chris
 *  [Phunky](https://wordpress.org/support/users/phunky/)
 * (@phunky)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/sticky-posts/#post-325181)
 * just display post on a page and exclude all posts that are not classed as Sticky’s.
 * a quick search thru the codex will show you how to reload the loop to display
   post within a page
 *  [carnold](https://wordpress.org/support/users/carnold/)
 * (@carnold)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/sticky-posts/#post-325211)
 * OK, been through the loop codex and now even more confused. I have placed this
   just for test:
    <!– The following tests if the current post is in category 3.–
   > <!– If it is, the div box is given the CSS class “post-cat-three”. –> <!– Otherwise,
   the div box will be given the CSS class “post”. –> <?php if ( in_category(‘1’)){?
   > <div class=”post-cat-one”> <?php } else { ?> <div class=”post”> <?php } ?>
 * between this:
    <?php if ( have_posts() ) : while ( have_posts() ) : the_post();?
   >
 * and ends here:
 * <?php endwhile; else: ?>
    <?php _e(‘Sorry, no posts matched your criteria.’);?
   > <?php endif; ?> and nothing shows. I made a post (the text i want to show on
   the page) and filed it under uncategorized (hence the <?php if ( in_category(‘
   1’) ) { ?> <div class=”post-cat-one”>) Can anyone help a little more?
 * Confused,
    Chris
 *  [emeles](https://wordpress.org/support/users/emeles/)
 * (@emeles)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/sticky-posts/#post-325512)
 * Bit late to the party. But if you are ended up using the Adhesive plug-in, note
   that in_category doesn’t work with this plug-in installed: [http://wordpress.org/support/topic/60152](http://wordpress.org/support/topic/60152)

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Sticky Posts’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 5 participants
 * Last reply from: [emeles](https://wordpress.org/support/users/emeles/)
 * Last activity: [19 years, 11 months ago](https://wordpress.org/support/topic/sticky-posts/#post-325512)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
