How to Pin a Post to the Top of a Category in WordPress

WordPress Tutorials

DISCLOSURE: This article may contain affiliate links. Which means we make a commission, at no cost to you, on products and services we recommend that you decide to buy. Read our full disclosure here.

In this short guide, I’m going to show you how to use a plugin to pin a post to the top of a category page on a WordPress website or blog.

By default, posts in the archives appear in reverse chronological order (from newest to oldest). Which is fine most of the time – you want your readers to see the latest content first. But, in some situations, it makes sense to have an older post appear at the top of the category instead of the latest one.

For example, my WordPress plugins category uses this method. The first post I wrote for that section answers the question “What is a WordPress plugin?“. In default mode, this post will always be the last one in the archive because it was published first. As it’s an explainer article, it makes sense to have it show up at the top of the category.

In WordPress, the term for this type of post is “sticky”.

If you like the sound of it and want to do it yourself, you’ll need a plugin called Category Sticky Post by Tom McFarlin.

(Please note that this plugin hasn’t been updated for quite some time and tested up to version 4.4.18.)

Keep reading for the setup instructions.

Category Sticky Post Plugin for WordPress

How to set up the Category Sticky Post WordPress plugin

Download and install the plugin in the usual way, then navigate to the post you want to make sticky.

You should see a new widget called Category Sticky in the right sidebar.

Choose Category

From the drop-down menu, choose the category you want to use. In my case, I want to add the sticky post to the WordPress Plugins category.

Category Sticky Selected

Notice the option to “Hide Sticky Post Border?“. Leave it unchecked for now because you might like your post to have a top and bottom black border (see screenshots below).

Hit Update to save your post and check out the category page to make sure the sticky post is at the top.

This is what my sticky post looks like with the border.

Screenshot of a WordPress post pinned to the top of a category with a border.

If you like it with the border you can crack on with something else. If you don’t like the border, go back and change it by ticking the box next to “Hide Sticky Post Border?”.

Ticked

Here’s my sticky post again, this time without the border.

Screenshot of a WordPress post pinned to the top of a category without a border.

That’s all you have to do add a sticky post to a WordPress category.

If you would like to learn more about WordPress, check out my WordPress tutorials for beginners.

Similar Posts