plugin-icon

There Can Be Only One

作者:Alex·
Ensures that there is only one published sticky post on the site at any given time.
评级
5/5
版本
1.0
活跃安装
50
最后更新
Feb 25, 2015

This plugin ensures that there is only one sticky post published to the site. When a new sticky post is published, previous the ‘sticky’ flag is removed from any other posts, so they will no longer appear at the top of your page.

Important Notes

  • I adapted code initially found at http://craiget.com/one-sticky-post-in-wordpress/ Thanks to Craige for posting it! Also, Devin Price (http://wptheming.com/) was immensely helpful as I knocked out a couple of issues regarding scheduled sticky posts.
  • The first time you publish a sticky post after enabling this plugin, any and all other sticky posts will be changed to not-sticky. There is not a way to automatically reverse this decision, nor is their a log of which posts were changed.
  • This plugin has not been tested with versions of WordPress prior to 4.0.
  • Do not use this plugin if you are using another to manage per-category sticky posts. It has not been tested with that setup, and it will most likely mark all of those posts as non-sticky.
免费使用Business套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 4.1.42
这个插件是可用的下载,适用于您的站点。