
NS Featured Posts
by Nilambar Sharma on WordPress.org
A plugin for making posts, pages, or custom post types featured. Users can enable/disable Featured flags for selected post types.
(25)

Admin Settings page
NS Featured Posts
This plugin adds checkboxes for each list item. You can easily check/uncheck the Featured flag. Checking the Featured will set the meta value yes for meta key _is_ns_featured_post. You can choose which post types you want Featured functionality from plugin settings.
Using in theme
This plugin only sets/unsets the meta key for assigned posts. You need to implement it in your theme to get Featured functionality.
Example:
$query = new WP_Query( array( 'meta_key' => '_is_ns_featured_post', 'meta_value' => 'yes' ) );
This will fetch the list of posts that are checked as Featured.
Want to see how this can be used in a Page Template?
Click this link to see an example
Active installations5K+
Weekly downloads
117-3.31%
Version3.0.0
Last updated7/30/2024
WordPress version6.0
Tested up to6.6.2
PHP version7.2
Tags
customfeaturedfeatured postmetapost