Skip to content

About

WP Featured Posts is a plugin choose featured posts, sortable and sticky custom post type and compatible with WPML.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

WP Featured Posts

WP Featured Posts is a plugin choose featured posts, sortable and sticky custom post type and compatible with WPML.

Description

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.

Installation

  1. Upload wp-featured-posts.zip to the install plugin page
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Go to Featured Posts in the left-hand menu to start setting the plugin

Frequently Asked Questions

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

Changelog

1.2.1
  • 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
1.2.0
  • Feature: Added [featured_posts] shortcode with post_type and limit attributes
  • 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/scripts for 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)
1.1.0
  • 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
1.0.7
  • Tested up to WordPress 6.1.1
  • Add Tip me on Ko-fi
1.0.6
  • Tested up to WordPress 5.8.1
1.0.5
  • Add action 'after_setup_theme' for feature column on custom post type
1.0.4
  • Fix bug setting options array
1.0.3
  • Fix bug setting options
  • Add fillter show delete button
1.0.2
  • Add fillter title featured post
  • Add fillter show select featured post
1.0.1
  • Fix bug setting options
1.0.0
  • Initial Release

About

WP Featured Posts is a plugin choose featured posts, sortable and sticky custom post type and compatible with WPML.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages