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

Sticky Custom Post Types

描述

This plugin adds a “Stick this to the front page” checkbox on the admin add/edit entry page of selected custom post types.

Set options to enable in Settings → Reading. Unless you’re using custom queries to display your sticky posts, you probably want to check the option to add selected post types to the blog home.

Note: Sticky custom posts are stored in the global ‘sticky_posts’ option field, just like regular posts.

安裝

  1. Upload sticky-custom-post-types.php to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Navigate to ‘Settings → Reading’ and set your options.

常見問題

None.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Sticky Custom Post Types” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Sticky Custom Post Types 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.2.3

  • Added contributions by Viper007Bond including enhanced posts filter (now affects main query only and will respect other post types) and formatting updates to conform with the official WordPress Coding Standards doc in the codex.
  • Home query no longer modified at all if “Display selected post type(s) on home page” option is left unchecked (note that this means that checked sticky custom posts will show up in the home feed but non-sticky custom posts will be left out of the normal flow).

1.2.2

  • Added custom post types to paged blog home.

1.2.1

  • Fixed filter method (only applies when suppress_filters is false).

1.2

  • Modified filter method to control display of selected custom post types on the blog home, and added an option to allow the user to enable/disable the filter.
  • Moved plugin settings from ‘Settings → Writing’ to ‘Settings → Reading’.

1.1

  • Moved plugin settings from ‘Settings → General’ to ‘Settings → Writing’.

1.0

  • Initial version.