Sticky Posts – Switch
Sticky Posts – Switch
Description
This plugin adds a new column to the post admin columns that allows you to easily mark a post so that it is sticky.
Sticky Posts is a WordPress feature only for posts, with this plugin you can use this feature also with custom post types.
Features of sticky posts
- enables you to use the sticky posts feature with every custom post type on front page, archive page or category page
- quick and bulk edit support for custom post types
- selection of the post type (post or custom post type)
- selection of the color of the switch icon
- customized order of the column showing the switch icon
- use only built-in WordPress functions
- the star-icon switch saves the posts in the sticky status immediately with ajax
- optionally, set all translations of a post sticky, supports Polylang and MultilingualPress
Installation
- Upload ‘sticky-posts-switch’ to the ‘/wp-content/plugins/’ directory, or install the plugin through the WordPress plugins screen directly.
- Activate the plugin through the ‘Plugins’ screen in WordPress.
- You will now have the new column “Sticky Post” in the post admin screen.
Faq
In the menu, navigate to the item “Settings -> Sticky Posts”
The only types of content displayed are those declared as public.
See register post type.
If you have found a bug in my plugin, please send me an email with a short description.
I will fix the bug as soon as possible.
Thank you very much!
In case you want to show how much you appreciate my work, I’d be very grateful if you could give me positive rating with WordPress-Page and/or donate a small amount to me.
Reviews
Superb!
By snoop23 on July 5, 2024
Thank you! Exactly what I needed.
No Support, and Plugin Doesn't Work With CPT
By Michael (mgparisi) on February 19, 2024
I'd hate to leave a negative review, but the owner turned off the support function and provides no method to contact. The Plugin Works, but it doesn't respect Custom Post Types. All Stickies in the Posts section become stickies in all other custom post types. So in our case a Posts Sticky is now showing in our CPT "Forums"
Working plugin with latest WP version
By qadir1322 on December 20, 2023
This plugin stands out as the sole functional option within its category. It seamlessly integrates with the latest version of WordPress and operates flawlessly with Custom Post Types. 🌟✨ If you're seeking a reliable solution, this plugin is a standout performer in its field. Highly recommended! 👍🏼 #PluginReview #WordPress #TopChoice
helpfull
By mjhvc on March 5, 2023
An easy way to stick a post at the top of his category
Great plugin 🙂
By classikd on December 20, 2022
Good plugin thank you
Excellent work!
By Dmitriy (dimchik) on August 23, 2022
Just Awesome!
By Md Hasanuzzaman (webhasan) on March 2, 2022
much developer love
By Jules Colle on April 18, 2021
get_option('sticky_posts')background color issue
By webgalway on March 25, 2021
Simply amazing
By jfalfaya on February 11, 2021
Changelog
2.1.3
- Dev – Added the filter “wp_sticky_posts_switch_checkbox_label_text”
2.1.2
- Dev – Tested up with WordPress 6.0.1
- Dev – Code optimizations
2.1.1
- Fix – Supported multilingual plugins text in settings page
2.1.0
- Feature – Add support for Polylang
- Fix – Sticky post removed after save post (Gutenberg)
- Dev – Remove support for WPML (WPML actually has this same functionality)
2.0.0
- Feature – Add support for the sticky post class
- Dev – Tested up with WordPress 5.2.3
- Dev – Code optimizations
- Dev – Improvement for better main instance call
- Fix – Retrieve the correct queried object for the filtered wp_query
1.9.2
- Fix – Maximum function nesting level error issue
1.9.1
- Improvement for better handling in wp_query filters
1.9
- Add new settings “show on front page” for each post type
- Default posts are now able to activate/deactivate the sticky feature on “front page” or “posts page”
1.8
- Add new settings table for post types, archive pages and taxonomy pages
- Removed setting “ignore retrieved posts”
- Language pot file update
1.7
- Code and performance optimizations
- Bugfix in the WPML integration
- Translation fixes
1.6
- Code and performance optimizations
- Translation fixes
- Throw an JavaScrip alert on ajax sticky / unsticky error
1.5
- Code and performance optimizations
- Hide the sticky post column at the post trash page
1.4
- Bugfixes in the “the_posts” filter for custom post types
1.3
- Add bulk and quick edit support for custom post types
- Add a icon animation during ajax loading
- Add an ajax queue for a better switch experience
- Update the post states immediately after sticky/unsticky a post
- Redesign of the settings page
- Code optimization
- Translation fixes
1.2
- Readme update
- Translation fixes
1.1
- Translation fixes
- Add multilingual support for WPML and MultilingualPress
1.0
- Initial Release

