A plugin for making posts, pages or custom post types featured. User can enable/disable Featured for selected post types.
Author: | Nilambar Sharma (profile at wordpress.org) |
WordPress version required: | 4.9 |
WordPress version tested: | 6.2.2 |
Plugin version: | 2.0.10 |
Added to WordPress repository: | 04-06-2014 |
Last updated: | 23-05-2023 |
Rating, %: | 92 |
Rated by: | 19 |
Plugin URI: | https://www.nilambar.net/2014/07/ns-featured-... |
Total downloads: | 91 247 |
Active installs: | 6 000+ |
Click to start download |
NS Featured Posts
This plugin adds checkboxes for each list item. You can easily check / uncheck the Featured. Checking the Featured will set the meta value yes for meta key _is_ns_featured_post. From plugin settings, you can choose to which post types you want Featured functionality.
Using in theme
This plugin only set / unset the meta key for asigned post. 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 post which are checked as Featured.
Want to see how this can be used in a Page Template?
Click this link to see example
Screenshots
FAQ
ChangeLog