Category Sticky Post For WordPress

Category Sticky Post

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
  • Includes Spanish translations right out of the box (thanks to Andrew Kurtis!)

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.

75 Comments

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!

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

Great plugin, it was exactly what I was looking for! Thank you!

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 !

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.

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.

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?

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.

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

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.

      hi tom
      i seem to have the same problem as michelle. on the page mentioned above i classified the second post (“philosophische reisen”, the explanatory main post for this category, also categorized in this category) as a sticky post for the category “philosophische reisen” but it’s still listed chronologically because it’s also categorized in another category. i need this other category in order to exclude/hide the post from the regular posts listing on the front page. any solution?

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?

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?

What a great article, helped me a lot, Thanks for sharing.

Awesome plugin. The only quirk is that the category sticky posts are appearing on the homepage under recent posts. Is there a way to keep the sticks solely on the category page?

    They shouldn’t be appearing on the homepage – this could be a problem with your theme or another plugin.

    I typically don’t offer free support, but if you’d like me to take a look at it and provide a resolution, then feel free to contact me and let’s see what we can do!

Hi Tom,

I’m having an issue. Whatever post I make sticky lays on top of the default “latest” post, so it’s like they’re fighting for the same spot.

I’m sure it has something to do with a conflict with my theme, but can you lead me in the right direction so I have an idea of how to fix this?

Does this plugin still work? I cannot get it to work for me at all. Perhaps my theme is blocking it?

Hi Tom

Does your plugin work for ver 3.6 ?

Hi,
this is exactly what I need however, after I installed, I can no longer add new photos to previous posts or update posting dates on previous posts. Any ideas?

    This sounds like a conflict with another plugin or your theme – this is the first I’ve heard of the issue.

    If you can email me the details of your environment, I’ll make a note. Also, just a heads up, since this is a free plugin, I’m only able to address issues as soon as I get a chance.

Hi there,

How can I delete the black border around the sticky post – http://www.santamonicahotelbooking.com/category/abbot-kinney-blvd/

Thanks!
Charlotte

Hello,
I really like this plugin but I have a quick question for you. Do you think it is possible to increase the amount of sticky posts that I can display on a category from 1 post to 4 post? That would be amazing if you let me know what I have to do in order to do this.

Thank you for this amazing plugin and I will wait for your reply.

I really liked the sticky catogery plugin from you, are there any plugins from you to make the widgets sticky ?

o plugin foi instalado mas na hora de escolher a categoria não aparece nenhuma oque fazer? porque ele não le as categorias?

Hi,
I have one problem. I need more post at top of category. It means i need more sticky posts for one category. How i can change it?
Sorry for my bad English.

    Hey Steak, Unfortunately, you can only select one post to be at the top of the category.

    Your English is fine, btw :).

      Thanks. But do you have some tip for plugin? Or how edit your code?

        I’d look into the code where I’m modifying the loop to find the post that’s marked as sticky and then rather returning a single post, creating an array of posts to be stuck to the top and then putting them at the top (or the front) of the array of posts that are to be rendered.

        I hope this helps!

Hi Tom,
This plugin is just what I wanted for my About section, so thank you! But I can’t seem to get rid of the heavy black border at the top. I’ve tried overriding the CSS in my child theme but it’s not working. Of course I did check the box that says hide border. It doesn’t show up on the individual post, but does on the category page. Can you please help me? I’m not a code pro, obviously, just a lowly artist, so feel free to talk down to me! :-D
Leah
p.s. Here’s what I tried to do in my child theme:
media=”all”
.category-sticky {
border-top: none;
border-bottom: none;
}

Hey there this is kind of of off topic but I was wanting to
know if blogs use WYSIWYG editors or if you have to manually code with HTML.
I’m starting a blog soon but have no coding knowledge so I wanted to get advice from someone with experience.
Any help would be enormously appreciated!

My web site :: comptoir en quartz Quebec

The category plugin installs easily and my site thinks everything is ok. No unexpected flareups of what the heck… is going on.

Hi,
I have a problem with that plugin. When it is activated I can’t edit menu structure. I only can add new item at the end of menu, and it’s not possible to move it anywhere. Links for moving does not work, drag and drop does not work either. I use WordPress 3.9.2

    Hey Majki,

    This sounds like it’s a problem with a conflict of something else thats running alongside the plugin. It could be something in the theme or it could be something in another plugin.

    Without knowing more, there’s not much I can do.

I use the plug-in and really enjoy it, however, I’m wondering if there is a way to make one post sticky in ALL categories I have? Basically, my post is instructions on using the site.

Here’s what I have for a sticky post in one category, however, I would like to have those instructions at the top of each category.

http://churchletters.org/category/recent-updates

Thanks!

Leave a Reply

Name and email address are required. Your email address will not be published.

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>