>
Download This Plugin | |
Download Elegant Themes | |
Name | Mend Sticky Posts |
Version | 1.1 |
Author | Martin Shopland |
Rating | 100 |
Last updated | 2012-09-25 11:01:00 |
Downloads |
409
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
Mend Sticky Posts plugin added 3 bytes of resources to the Home page and 17 bytes of resources to the sample Post page.
Mend Sticky Posts plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! Mend Sticky Posts plugin ads no tables to your Wordpress blog database.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: http://core.trac.wordpress.org/ticket/21986