Plugin info

Total downloads: 1,146
Active installs: 10
Total reviews: 1
Average rating: 5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 9/25/2012 (4892 days ago)
Added to WordPress: 9/24/2012 (13 years old)
Minimum WordPress version: 3.0.1
Tested up to WordPress version: 3.4.2
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 4892 days ago • 1 reviews

22/100

Is Mend Sticky Posts abandoned?

Possibly abandoned (last update 4892 days ago).

Compatibility

Requires WordPress: 3.0.1
Tested up to: 3.4.2
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

WP Downgrade | Specific Core Version
Rating 4.8/5 (167 reviews)Active installs 100,000
Advanced Automatic Updates
Rating 4.7/5 (61 reviews)Active installs 30,000
Disable All WordPress Updates
Rating 4.8/5 (68 reviews)Active installs 20,000
Core Rollback
Rating 4.6/5 (13 reviews)Active installs 10,000
Version Control for jQuery
Rating 4.9/5 (7 reviews)Active installs 6,000

Description

  • Sticky posts are ordered the same way as non-sticky posts.
  • Sticky posts do not reappear on subsequent pages.
  • The first page of home will contain exactly the requested number of posts, rather than the requested number of posts plus the number of sticky posts.
  • Allows more than one page of sticky posts.

Simply injects the sticky post IDs into the actual mySQL order by clause,
causing posts to be ordered by sticky status then by what ever order is
specified, usually post_date DESC, and not to repeat on subsequent pages.
I can’t actually figure out why it isn’t done like this by WP, perhaps
earlier versions of mySQL don’t support this. WP’s default sticky ordering
craziness is turned off by returning an empty array for the next call to
get_option(‘sticky_posts’) which happens in WP_Query->get_posts().

There is currently a ticket awaiting review on the WordPress trac system to roll this functionality into the WordPress core: https://core.trac.wordpress.org/ticket/21986

Installation

  1. Upload mend-sticky-posts.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. That’s it!

Frequently Asked Questions

No FAQ available

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

1.1

  • Functionally closer to core code.
  • Now only run on “home” queries.
  • Only run if ignore_sticky_posts isn’t passed to WP_Query.
  • Bugfix: Doesn’t add comma when order by clause is already empty.