跳到内容

NS Featured Posts

v4.0.0

Nilambar Sharma · 2014年6月4日 上架

A plugin for making posts, pages, or custom post types featured. Users can enable/disable Featured flags for selected post types.

正在使用
4,000+
评分
4.8 / 5
累计下载
12 万
最近更新
2026年9月2日
29 条评价需要 WordPress 6.0+已测试到 7.1.5PHP 7.4+

截图

Admin Settings page
Admin Settings page
Example of featured in Post listing
Example of featured in Post listing

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

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums