- Contributors: nutttaro
- Donate link: https://www.buymeacoffee.com/nutttaro
- Tags: taxonomy, order
- Requires at least: 4.7
- Tested up to: 7.0
- Requires PHP: 7.4
- License: GPLv2 or later
- License URI: https://www.gnu.org/licenses/gpl-2.0.html
WP Featured Posts is a plugin choose featured posts, sortable and sticky custom post type and compatible with WPML.
WP Featured Posts is a plugin choose featured posts, sortable and sticky custom post type.
Features:
- Easy for choose featured posts.
- Easy for ordering featured posts.
- Support custom post types.
- Sticky custom post types for sticky posts at first.
- The plugin is lightweight.
- Compatible with WPML.
- Upload
wp-featured-posts.zipto the install plugin page - Activate the plugin through the 'Plugins' menu in WordPress
- Go to Featured Posts in the left-hand menu to start setting the plugin
How to setting the plugin?
Go to Featured Posts in the left-hand menu to start setting the plugin
How to custom code for get featured posts?
You can see example code in Featured Posts setting
- Compatibility: WordPress 7.0 support
- Fix: Featured post ordering on frontend now matches admin drag-and-drop order
- Fix: Toggling featured status in block editor sidebar now correctly updates sticky posts and sort order
- Fix: Updated Gutenberg sidebar to import PluginDocumentSettingPanel from @wordpress/editor (deprecated from @wordpress/edit-post)
- Fix: Replaced deprecated jQuery .submit() shorthand with .on('submit', ...) for jQuery 4.x forward compatibility
- Fix: Removed deprecated jQuery UI .disableSelection() call
- Enhancement: Replaced inline wp_head styles with wp_add_inline_style() for pin icon CSS
- Enhancement: Updated @wordpress/scripts to v32
- Feature: Added
[featured_posts]shortcode withpost_typeandlimitattributes - Feature: Added Gutenberg block editor sidebar panel for toggling featured status
- Feature: Registered post meta with REST API support (
show_in_rest) - Feature: Added build toolchain with
@wordpress/scriptsfor editor assets - Fix: Featured column now works for all post types (was hardcoded to testimonials only)
- Fix: Fixed setting.js syntax error (missing closing bracket for document.ready)
- Security: Added ABSPATH checks to prevent direct file access
- Security: Improved output escaping in template files
- Enhancement: Added translator comments for better internationalization support
- Enhancement: Fixed wp_send_json_* function usage (removed incorrect echo statements)
- Enhancement: Modernized code to comply with WordPress coding standards
- Compatibility: Tested up to WordPress 6.9
- Tested up to WordPress 6.1.1
- Add Tip me on Ko-fi
- Tested up to WordPress 5.8.1
- Add action 'after_setup_theme' for feature column on custom post type
- Fix bug setting options array
- Fix bug setting options
- Add fillter show delete button
- Add fillter title featured post
- Add fillter show select featured post
- Fix bug setting options
- Initial Release