该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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.

评价

此插件暂无评价。

贡献者及开发者

“LH Taxonomy Pinned Posts” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.00 August 19, 2019
Initial release.