A plugin for making posts, pages or custom post types featured. User can enable/disable Featured for selected post types.
評分
4.7
最近更新:
May 17, 2024
版本
2.0.13
活躍安裝總數
6K
NS Featured Posts

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

免費使用Creator方案
活躍安裝總數
6K
目前已測試版本
6.5.5
此外掛程式已可供下載,並可用於你的 WordPress 自助託管安裝。