Title: There Can Be Only One
Author: Alex
Published: <strong>February 13, 2015</strong>
Last modified: February 25, 2015

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/there-can-be-only-one.svg)

# There Can Be Only One

 By [Alex](https://profiles.wordpress.org/bald_technologist/)

[Download](https://downloads.wordpress.org/plugin/there-can-be-only-one.1.0.zip)

 * [Details](https://test.wordpress.org/plugins/there-can-be-only-one/#description)
 * [Reviews](https://test.wordpress.org/plugins/there-can-be-only-one/#reviews)
 *  [Installation](https://test.wordpress.org/plugins/there-can-be-only-one/#installation)
 * [Development](https://test.wordpress.org/plugins/there-can-be-only-one/#developers)

 [Support](https://wordpress.org/support/plugin/there-can-be-only-one/)

## Description

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.

## Installation

 1. Extract the single-sticky/ folder file to /wp-content/plugins/
 2. Activate the plugin at your blog’s Admin -> Plugins screen
 3. Publish a new post that is marked as being sticky.

## FAQ

  How does the plugin treat scheduled posts?

If you have a sticky post visible on the site and you schedule a new sticky post,
the old one will stay sticky until the new one is published and visible on the site.

  How does this work with plugins that set sticky posts per category?

Sorry, the short answer is “I don’t know”, as I haven’t tested it with any of those
plugins. My expectation is that all of those sticky posts will be set to non-sticky
the first time a new sticky post is published after this plugin is activated. I 
recommend you avoid this situation, but if you decide to try it, I’d love to hear
the results.

## Reviews

![](https://secure.gravatar.com/avatar/20fb83a658108493c61b36a41b717e30e4447b782306b3ef10dfea72d5d5b29c?
s=60&d=retro&r=g)

### 󠀁[Works as intended](https://wordpress.org/support/topic/works-as-intended-67/)󠁿

 [Jeffro](https://profiles.wordpress.org/jeffr0/) February 8, 2017

Nothing to configure, it just works.

 [ Read all 1 review ](https://wordpress.org/support/plugin/there-can-be-only-one/reviews/)

## Contributors & Developers

“There Can Be Only One” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Alex ](https://profiles.wordpress.org/bald_technologist/)

[Translate “There Can Be Only One” into your language.](https://translate.wordpress.org/projects/wp-plugins/there-can-be-only-one)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/there-can-be-only-one/),
check out the [SVN repository](https://plugins.svn.wordpress.org/there-can-be-only-one/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/there-can-be-only-one/)
by [RSS](https://plugins.trac.wordpress.org/log/there-can-be-only-one/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0

 * A quick fix that resolved an issue where posts that were made sticky after they
   were published weren’t caught, causing more than one post to be set to sticky.
   Thanks to Jeff Chandler for surfacing this issue.
 * I feel pretty good about the state of the plugin, so bumping it to a full 1.0
   release

#### 0.9

 * Initial public release.

## Meta

 *  Version **1.0**
 *  Last updated **11 years ago**
 *  Active installations **50+**
 *  WordPress version ** 4.0 or higher **
 *  Tested up to **4.1.42**
 *  Language
 * [English (US)](https://wordpress.org/plugins/there-can-be-only-one/)
 * Tags
 * [posts](https://test.wordpress.org/plugins/tags/posts/)[sticky](https://test.wordpress.org/plugins/tags/sticky/)
 *  [Advanced View](https://test.wordpress.org/plugins/there-can-be-only-one/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/there-can-be-only-one/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/there-can-be-only-one/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/there-can-be-only-one/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/there-can-be-only-one/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/there-can-be-only-one/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/there-can-be-only-one/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/there-can-be-only-one/reviews/)

## Contributors

 *   [ Alex ](https://profiles.wordpress.org/bald_technologist/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/there-can-be-only-one/)