=== Reverse Order Comments === Contributors: Otaku Tags: guestbook, gästebuch, comments, reverse, order Requires at least: 1.5 Tested up to: 2.5 Stable tag: 1.0.2 Allows to display the comments in reverse order. Latest comment first, oldest last. == Description == A really simple Wordpress Plugin. It provides the function `ro_comments_template()`, which allows the comments to be displayed in reverse order (thus the newest comments first, oldest last). == Installation == Just unpack the archive contents into the WordPress directory. Then activate the Plugin in the Plugin Manger. The files in the `theme-examples` directory are examples for the integration into your themes. You do not need to upload this subdirectory to your blog. == Archive contents == `reverse-order-comments.php The plugin itself theme-examples/ default (English default theme) comments-topinput.php comments.php adapted for a guestbook (engl) tpl_guestbook.php template for a guestbook (engl) default_de (German default theme) comments-topinput.php comments.php adapted for a guestbook (engl) tpl_gaestebuch.php template for a guestbook (engl) ` == Usage == To use the new function you need to implement it in your templates. If you want your comments to be displayed in reverse order in every post, you need to replace in file "single.php" the line `` with `` == Building a guestbook for the Kubrik theme == Precondition: comments-topinput.php and tpl_gaestebuch.php are in in your template directory. 1. Create a new page. Title e.g. "guestbook" 2. Allow comments for this page 3. Choose the template "Guestbook" for this page. Done! If you want the comment input fields "blogstyle" at the bottom of the page, just change inside tpl_gaestebuch.php the line `` to `` == Building a guestbook for other themes == If you don't use the Kubrik/Default theme, it is still very easy to build your own template. A good template to start with is "page.php" and "single.php". Copy "page.php" and rename it. The line `` is important. Change it as described above. Add a header to your new page, to tell Wordpress it is a template. e.g. `` [Page Template Documentation](http://codex.wordpress.org/Pages#Creating_your_own_Page_Templates) == Technical == This Plugin is really simple. Just the original `comments_template()` function with modified SQL queries. If you use your own comments.php you can change the the function parameter to your own file. But if you do stuff like this, you may already now this. Tested up to Wordpress 2.5.1 == Feedback == If you use this plugin, please leave a comment or trackback/pingback on the [plugin site](http://www.zyblog.de/wordpress-plugins/reverse-order-comments/). For Feedback of any kind, this is the right place, too. == Changelog == V1.0 * 11.11.05 Initial Release V1.0.1 * 13.09.06 small bugfix inside comments-topinput.php templates V1.0.2 * 18.05.08 release on the wordpress plugin directory; renamed the plugin to reverse-order-comments; changed the directory structure to enable wordpress plugin autoupdate