
Category Sticky Post for WordPress is a plugin that allows you to mark a post as sticky within a specific category archive. It works exactly like the typical sticky post functionality within WordPress, except that it’s specifically for category archives.
This means that if you have a set of articles under one category, you can mark one to always appear at the top of the category archive.
I’ve written and released a similar plugin – Tag Sticky Post – which came out of a need for my own site. But we all use categories and tags differently. As such, I wanted to make sure that I covered both types of archives.
The problem that the plugin attempts to solve is the same as that of Tag Sticky Post. Directly from that project’s post:
The problem is that I often write a post introducing the project, what it does, why I wrote it, and where you can find more information about it. But over time, I write posts that cover various updates or other issues about the project ultimately pushing the introductory post – arguably the most important post – lower into the archive.
Category Sticky Post has the following set of features:
- Allows you to select which category in which to stick a post
- Will display the post on the top of the first page of the archive just like built-in sticky posts
- Will only allow you to stick a single post per category
- Displays whether or not a post is stuck in a category on the Post Edit dashboard
- Provides light styling that should look good in most themes
- Is available on each post editor page
- Is fully localized and ready for translation
Be sure to check out a variety of screenshots, too.
You can install it from the WordPress Dashboard or download it from the plugin’s homepage.









This plugin is exactly what I was looking for, but it doesn’t seem to be working for me…. I have defined what category the post should be in, and assigned the sticky post to that same category, but all of my sticky posts are showing at the top of all the categories. Is there a certain way I need to be calling for the Sticky Post in the category.php file that perhaps I am missing? Thanks!
Odds are, this has to do with something in your core theme file.
Shoot me an email and I’ll take a look. This should be something relatively easy to fix.
Thanks Tom. I just sent you an email.
I need the same… I need to stick a specific post to a specific category. For example: I have 45 categories and, in the top of each category, I need 45 differents posts… If you have the plugin for it, I will thanks to you… Sorry for my brutal english….
Hey Eduardo – are you saying that you need to stick 45 separate posts into 45 separate categories, or you need to stick 1 post into 45 separate categories?
The idea is to have 45 different articles and each goes to a different categories. For example: post01 stick in top of category01, post02 stick in top of category02, post03 stick in top of category03 and so on. Then, of course, new posts will be in each category in chronological order, as usual.
Sorry again for my brutal english…
Hey Eduardo, I think we’re probably having a miscommunication because what you’ve described is what this plugin does.
Feel free to shoot me an email and we’ll talk more.
My God! My English is much worse than I thought … Yes, your plugin does just what I described. I misinterpreted your description. Sorry for wasting time and congratulations on your work. Regards
No worries at all!
This works great, and is exactly what I need.
Yet, the post seems to be too wide for my site? Is there a way to adjust the width?
http://churchletters.org/category/free-sample-church-letters
It’s the post at the top that says “Free Letters” – As you can see the border of the post doesn’t line up with the others…
Thanks,
Norm
Sure thing: In
plugin.css(which is located in the plugin’s/css/directory), locate the line of code that reads:margin:0 -20px 0 -20px;And remove it. That should take care of it for you.
Actually, it seems to be working now?
Norm
If you had any caching, a conflicting plugin, or happened to update something, that may have resolved it, too.
Great plugin, thank you very much. Only thing is that if I edit the plugin stylesheet, won’t it get overwritten in the next update? I tried to add it to my child theme stylesheet but it didn’t work. Would you have any advice?
Thank you
Hey Ann,
Good point – one of the things that I want to do in the next version is introduce the ability to write custom styles so that this problem won’t happen.
Keep a look out for an update!
Great plugin, it was exactly what I was looking for! Thank you!
Glad to hear it!
Hi
Thank you for this plugin.
I have a question : All the categories are not displayed in the list. is there any maximum number ?
Thank you !
I’ve just found the answer. The categories displayed should have articles, an empty category won’t be displayed.
Thank you dear and thank you for this good job
isabelle
Awesome – glad to hear you’ve got it all sorted
.
The category sticky is working for me with one problem. It is sticking the post to the top of my home page as well as the category I specified. I checked and the box is not checked for regular sticky posts. Help.
Hey Abi – I’d be glad to help.
If you don’t mind, review the notes I have in this post and then shoot me an email answering the questions and then we’ll see if we can get it resolved!
Tom,
Sorry for the slow response. I didn’t realize I hadn’t confirmed the subscription in my email so I just got your message. Good news – I deactivated JetPack because it was causing problems with another plugin and it fixed my Sticky Post problem too. Thank you for the help.
abi
Awesome – glad to hear it!
Hi Tom, We’re doing ‘Category Podcasting’ with WordPress, and I’m just wondering if I use this to make a post sticky, what will it do to the RSS feed, will it always make the top item in the feed the sticky one? However I don’t want this, I want the top sticky simply for information about what the podcast is about for this particular podcast series.
Hey Andy – the plugin only works on the blog itself. It won’t impact the RSS feeds.
Hope this helps!
Great! Thanks.
Love the plugin, but i’m having the same problem with overlap. I removed the margins from plugin.css, but it is still there. Any ideas?
Shoot me an email and I’ll take a look at your site and see if there’s something I can fix for you!
Is there a way to increase the number of post that can be “sticky post”?? Instead of just one can I increase it to 5? 10?
If so you would be my super hero man.
Unfortunately, not – the plugin only allows for one post per category to be placed at the top.
Too bad, man. It’d be fun to be a super hero. Batman’s pretty cool, no?
Hi, this plugin works almost perfectly. If I change the product and store the specified sticky category is deleted. So I need to save again after the item category and specify save the sticky.
Is that intentional?
Thank you
Jochen
It’s not exactly a bug, it’s just a less than desirable user experience
.
This has to do with the way that the plugin is managing those categories. I’ll make a note of this and see if I can resolve it in a future release.
Thanks for the answer
Would be glad if they could change that. I change the sticky articles almost daily and must specify each time the new category.
Thank you
Jochen
I’ll see what I can do in the future – thanks again!
Hi Tom
This plugin was exactly what I need, so I installed it and it worked as described. The only trouble is that my menu items in the menu admin page became “frozen” ie they can’t be pulled up and down and no dropdown menu items can be added. This happened on three themes I tried, Slide, twenty-twelve and Suffusion. Is there a workaround please, as I would like the functionality of your plugin.
Thanks
Vic
Hey Vic,
This sounds like it may have to do with another plugin as Category Sticky POst was tested with Twenty Eleven, Twenty Twelve, and Standard during development. There’s also only CSS changes that have been made – no JavaScript that would interfere with a menu.
This is also the first report I’ve had of this. If disabling all the plugins doesn’t fix the problem, please send me an email.
I’ve noticed that it won’t apply the custom ‘category-sticky’ class to the post if the post is assigned multiple categories. For example, I have it set to CategoryA and Featured (which displays the post on the homepage), and have it stickied in CategoryA. The stickiness works fine, but it doesn’t apply the ‘category-sticky’ class, so I can’t do any custom styling. If I remove the Featured category, it works, but then won’t display on my homepage. Any ideas?
Hey Michelle,
Thanks for the heads up – I’ll make a note of this and see if I can’t introduce a fix for a future release.
is there a way to have more lines of the sticky post content show on the category page before the “read more” link appears? but not have the other posts affected?
If I’m understanding your question correctly, there is not. It simply provides additional styling to the existing post and doesn’t interfere with the
moretag.Great plugin, it does almost EXACTLY what I need.
Is is possible to stick more than one post to the top of the category archive?
Hey Tim,
Unfortunately, that feature isn’t possible – it only sticks a single post to the top of the category (like how sticky posts work with WordPress).