Keywords

Disclaimer

This article is presented in good faith, in the hope that it might be useful to someone. But it is for informational purposes only.

It comes with no guarantees nor warrenties at all and confers no rights.

Every effort has been made to ensure the accuracy of the information contained in the article but no responsibility can be accepted for any errors in that information nor for any losses that arise from using it.

If you use this information yourself, in any way, shape or form, you do so entirely on your own responsibility and entirely at your own risk.

Introduction

There's not much to say about this plug-in.

Out of the box, WordPress lists posts in the Dashboard in chronological order. This makes perfect sense when it is being used as a blogging platform or to publish content where the order of creation is the same as the most useful order of access.

But WordPress is used for all kinds of Web publications and outside of blogging, alphabetical order is probably a much handier (and commoner) way to list entries. Músgraí Ord Postaí sa Deais WP makes it do that.

Músgraí Ord Postaí ar Leathanaigh Chatagóra WP

This plug-in is, effectively, the half-twin of the Músgraí Ord Postaí ar Leathanaigh Chatagóra WP plug-in, which does exactly the same thing only it does it in the website's public view rather than in the Dashboard. There's a good chance that if you want one you'll probably want the other.

Credit where it is due

All I'm after doing is pouring these into the framework of a plug-in. The original code was published under CC BY-SA 3.0 and, in accordance with the Ts and Cs, I make my own modifications available under the same licence.

Download Músgraí Ord Postaí sa Deais WP

CYA notice: This software is presented in good faith, in the hope that it might be useful to someone. It comes with no guarantees nor warrenties at all though and no rights are confered. By downloading the software you accept full responsibility for any and all consequences arising from downloading it, using it or having anything else to do with it, and you agree that you will not hold its author, nor anyone other than yourself, liable for any such consequences. Including, but not limited to, the software waking up with a start one morning and wiping us all out.

Install Músgraí Ord Postaí sa Deais WP

Just extract the músgraí-ord-postaí-deais-wp directory from the tar.gz or zip file, upload it to the WordPress plug-ins directory, activate as normal and that's it. There's no settings and no control panel.

Reverse-alphabetical order

There's only one file in this plug-in: músgraí-ord-postaí-deais-wp.php. If reverse-alphabetical order is what you're after, and you're comfortable doing minor fiddling under the bonnet, go to line 62 and change $query->set('order','ASC'); to $query->set('order','DESC');. Símples!