plugin-icon

NS Featured Posts

作者:Nilambar Sharma·
A plugin for making posts, pages, or custom post types featured. Users can enable/disable Featured flags for selected post types.
评级
4.8
版本
3.0.1
活跃安装
4K
最后更新
Sep 11, 2025
NS Featured Posts

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.

如:

$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

免费使用Business套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 6.8.3
这个插件是可用的下载,适用于您的站点。