How to add a sticky post in Wordpress - gHacks Tech News

How to add a sticky post in WordPress

If you hang out on web forums regularly, you know that most of them have capabilities to make posts sticky.

What is meant by that is that these posts are always displayed at the top of the forum, and not in chronological order with the rest of the posts.

This is often used in forums to put emphasize on important posts, say a post explaining the rules of the forum, or one that has been created by an administrator or moderator that answers basic questions or provides visitors with other information.

Blogs on the other hand do not make use of sticky posts that often. Most display either the articles that have been published in chronological order, or a static frontpage instead.

If you are a WordPress administrator, you may be surprised to hear that the blogging platform supports sticky posts out of the box.

The feature is somewhat hidden though which may explain why most WordPress admins and authors have never heard about it before or discovered it by accident.

Sticky Posts in WordPress

wordpress sticky post

It is rather easy to make a particular post sticky. All you have to do is the following:

  1. Open an existing post or create a new post in the WordPress admin dashboard.
  2. Locate the Publish widget here. This is the widget that you can use to save posts as drafts and to publish them.
  3. Locate Visibility there and click on Edit.
  4. Check the "Stick this post to the front page" box and click ok.
  5. This sets the post as the sticky post on WordPress' frontpage.

What this means is that it will be displayed on top of all other posts on the WordPress front page.

There are some restrictions though. First, the theme that you are using needs to support sticky posts. Most do, but if your theme is heavily customized, it may not.

Second, you can make multiple posts sticky, so that they all are displayed on the front page of the blog.

Third, new regular posts that you publish are added beneath the sticky posts on the frontpage.

Note: WordPress displays Sticky next to each post in the posts listing in the admin dashboard. This helps you identify those posts directly and without having to look at the visibility setting of each post individually.

You can remove the sticky flag at any time again, which will remove the post from the exposed position on the frontpage and move it back to its original position in the chronological post order.

Pro Tip: Use the WordPress plugin Category Sticky Posts to make sticky posts for category pages on the blog, while Tag Sticky Posts the same for tag pages.

We need your help

Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.

We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.

If you like our content, and would like to help, please consider making a contribution:

Comments

  1. Nhick said on December 10, 2013 at 3:59 pm
    Reply

    Haven’t tried sticky post yet on wordpress but planning to add it on my next post.. Thanks for the tips.

    1. Martin Brinkmann said on December 10, 2013 at 4:02 pm
      Reply

      You are welcome. I have just started to use it here to display the giveaway posts for the time they are running on the frontpage.

  2. Dom said on December 11, 2013 at 3:45 pm
    Reply

    Thanks for the tip – I’ve been wondering about this for a while now.

    Have you done an article about how to customise the homepage of a WordPress blog even more? I’d like to know a bit more about it but I haven’t had much experience with WordPress. I’d like to customise my homepage (which *doesn’t* contain the blog – that’s on a separate page) without the use of plug-ins where possible.

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

Please note that your comment may not appear immediately after you post it.