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
このプラグインをダウンロードして、 サイトに使用できます。