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

LH Taxonomy Pinned Posts

描述

LH Taxonomy Pinned Posts allows you to mark a post to be displayed – or stuck – to the top of each archive page for the specified taxonomy. By default this functionality applies to category archives but this can be filtered to be used on any public taxonomy archive, see faq below

LH Taxonomy Pinned Posts…

  • Allows you to select which pinned post is stucked to the top of each archive
  • Will display the pinned post on the top of the first page of the archive just like built-in sticky posts
  • Will only allow you to stick a single post per taxonomy
  • Adds a class attribute which you can style the sticky post

To set up this functionality check the faq

安裝

Using The WordPress Dashboard

  1. Navigate to the ‘Add New’ Plugin Dashboard
  2. Select lh-taxonomy-sticky-posts.zip from your computer
  3. Upload
  4. Activate the plugin on the WordPress Plugin Dashboard

常見問題

How do I create a Pinnable post?

Go to Posts->Pinnable Posts and create a pinnable post like any other content type.

How do I pin a post to an archive?

Go to the taxonomy menu item, drill down to each term and use the drop down to to pin the post.

Is this for categories only?

No. By default the functionality is only for category archive but this caj be filtered.

How do I filter it then?

Just use the lh_tpps_taxonomies filter and return the array of taxonomies that you would like to enable pinning for.

評價

There are no reviews for this plugin.

貢獻者及開發者

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

貢獻者

將 LH Taxonomy Pinned Posts 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.00 August 19, 2019
Initial release.