這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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

螢幕截圖

  • Admin Settings page
  • Example of featured in Post listing

安裝

Using The WordPress Dashboard

  1. Navigate to the ‘Add New’ Plugin Dashboard
  2. Select ‘ns-featured-posts.zip’ from your computer
  3. Upload
  4. Activate the plugin on the WordPress Plugin Dashboard
  5. Place the ‘NS Featured Posts Widget’ into a Widget area through the ‘Appearance -> Widgets’ menu in WordPress.

Using FTP

  1. Extract ‘ns-featured-posts.zip’ to your computer
  2. Upload the ‘ns-featured-posts’ directory to your ‘wp-content/plugins’ directory
  3. Activate the plugin on the WordPress Plugins dashboard
  4. Place the ‘NS Featured Posts Widget’ into a Widget area through the ‘Appearance -> Widgets’ menu in WordPress.

常見問題

Does this support custom post types?

Yes. It supports custom post types also. From Settings page( Settings -> NS Featured Posts), you can enable/disable custom post types for featured.

評價

2023年5月22日 1 reply
Works exactly as promised. My only complaint is the review beg taking up so much real estate. Hopefully this will solve it.
2022年11月30日
Thanks for making this plugin, it's really helpfull, i hope this plugin is maintainable in the future
閱讀全部19個評價

貢獻者及開發者

“NS Featured Posts” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

NS Featured Posts 外掛目前已有 7 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 NS Featured Posts 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

2.0.10 – 23 May 2023

  • Update packages

2.0.9 – 4 Feb 2023

  • Fix PHP 8 notices

2.0.8 – 17 Oct 2022

  • Fix PHP notice in plugins page

2.0.7 – 11 Oct 2022

  • Minor bug fixes

2.0.6 – 4 Jul 2022

  • Minor bug fixes

2.0.5 – 24 Jun 2022

  • Minor bug fixes

2.0.4 – 9 Jan 2022

  • Add order options in widget
  • Minor bug fixes

2.0.3 – 20 Jul 2021

  • Compatibility with WP 5.8
  • Minor bug fixes

2.0.2

  • Minor bug fixes

2.0.1

  • Fix bug of cpt

2.0.0

  • Major code refactoring
  • Add radio mode
  • Add max posts option
  • Minor bug fixes

1.4.1

  • Fix links

1.4.0

  • Fix: Allow Editor to toggle checkbox
  • Compatibility with WP 4.6
  • Fix: Minor Bug fixes

1.3

  • Fix: Minor Bug fixes

1.2

  • Fix: Minor Bug fixes

1.1

  • New: Metabox added in edit screen to enable/disable featured
  • Fix: Minor Bug fixes
  • Compatibility: Compatibility check with WP 4.2

1.0.2

  • Bug fixes

1.0.1

  • Add Featured Posts Widget
  • Bug fixes

1.0.0

  • Initial release