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 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”.
(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.
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.
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.
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.
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?”.
Here’s my sticky post again, this time without the border.
That’s all you have to do add a sticky post to a WordPress category.
I hope you’ve found this short tutorial useful.
If you would like to learn more about WordPress, check out my WordPress tutorials for beginners.