Description
Sticky Tax enables posts to be made “sticky” within a specific category or tag. Ideal for cornerstone content or important stories, Sticky Tax lets blogs maintain chronological post archives, while keeping the most important content at the top of the list.
Why might I want this?
Let’s imagine Chris, a long-time blogger with lots of traffic coming to his site. He’s worked hard to categorize all of his content, but there are a few posts that he wants to make sure are the first thing people see when they hit a category landing page.
Using WordPress’ default behavior, these important pieces of content will eventually get lost behind pagination, just because they’re not the newest posts in the category.
With Sticky Tax, Chris can highlight the most important posts in a category, whether they were written last week or last year!
Usage
After installing and activating Sticky Tax, a new “Promote Post” meta box will appear on the post edit screen, with a list of terms for any public taxonomies registered on your site.
On the front-end
archive. Each sticky post even gets a .sticky-tax
class added to it, enabling you to apply custom styling for your sticky content!
Screenshots
Installation
- Upload the
sticky-tax
directory intowp-content/plugins/
- Activate the plugin through the “Plugins” menu in WordPress
FAQ
- Installation Instructions
-
- Upload the
sticky-tax
directory intowp-content/plugins/
- Activate the plugin through the “Plugins” menu in WordPress
- Upload the
- Can I use Sticky Tax for other post types and/or taxonomies
-
Absolutely! Sticky Tax includes a number of filters that make customizing Sticky Tax a snap; for full details, please visit the plugin’s README on GitHub.
- Can I style sticky posts separately from regular, non-sticky posts?
-
When a post is appearing at the front an archive thanks to Sticky Tax, the
sticky-tax
class will be applied to the post via thepost_class
filter. As long as your theme is using the<?php post_class(); ?>
function in the loop, you should be able to target sticky posts in your CSS using the.sticky-tax
selector.
Reviews
Contributors and Developers
“Sticky Tax” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Sticky Tax” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Change Log
For a full list of changes, please see the Sticky Tax change log on GitHub.
1.0.0
- Initial public release.