Title: Reverse Order Comments
Author: Tim
Published: <strong>20 Maret 2007</strong>
Last modified: 16 Juli 2012

---

Cari plugin

Plugin ini **belum teruji dangan 3 rilis besar WordPress**. Kemungkinan tidak lagi
dipelihara atau didukung, dan mungkin menghadapi masalah kompatibilitas bila digunakan
dengan versi WordPress yang lebih baru.

![](https://s.w.org/plugins/geopattern-icon/reverse-order-comments.svg)

# Reverse Order Comments

 Oleh [Tim](https://profiles.wordpress.org/timz/)

[Unduh](https://downloads.wordpress.org/plugin/reverse-order-comments.1.1.1.zip)

 * [Detail](https://id.wordpress.org/plugins/reverse-order-comments/#description)
 * [Ulasan](https://id.wordpress.org/plugins/reverse-order-comments/#reviews)
 *  [Instalasi](https://id.wordpress.org/plugins/reverse-order-comments/#installation)
 * [Pengembangan](https://id.wordpress.org/plugins/reverse-order-comments/#developers)

 [Bantuan](https://wordpress.org/support/plugin/reverse-order-comments/)

## Deskripsi

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).

## Instalasi

 1. Install & activate the plugin.
 2. Edit your theme files and implement the new function as described in the FAQ section.

## Tanya Jawab

  How do I implement the plugin function in my templates?

Open the template file which should show the comments in a reverse order in your
favorite editor.
 Locate the line

    ```
    <?php comments_template(); ?>
    ```

and replace it with

    ```
    <?php if(function_exists('ro_comments_template')) ro_comments_template(); else comments_template(); ?>
    ```

**Note:**

The arguments of the function can be different in your template, for example if 
it is

    ```
    <?php comments_template('', true); ?>
    ```

change the plugin function accordingly to

  What are the files in theme-examples directory?

theme-examples/
 default (English default theme) comments-topinput.php comments.
php adapted for a guestbook tpl_guestbook.php template for a guestbook

    ```
        default_de                   (German default theme)
          comments-topinput.php      comments.php adapted for a guestbook
          tpl_gaestebuch.php         template for a guestbook
    ```

  Will it work with paged comments?

Yes, but if you use comment navigations with labels like “older” and “newer”, then
it might be puzzling for the user, as the comment order is opposite to the navigation.

In this case I suggest not to use the plugin in combination with comment-pagination
or you should change your navigation labels.

  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

    ```
    <?php if(function_exists('ro_comments_template')) ro_comments_template("/comments-topinput.php"); else comments_template(); ?>
    ```

to

    ```
    <?php if(function_exists('ro_comments_template')) ro_comments_template(); else comments_template(); ?>
    ```

  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 `<?php comments_template(); ?>` is important. Change
it as described above. Add a header to your new page, to tell WordPress it is a 
template.

e.g.

    ```
    <?php
    /*
    Template Name: Guestbook
    */
    ?>
    ```

[Page Template Documentation](https://codex.wordpress.org/Pages#Creating_your_own_Page_Templates)

## Ulasan

Belum ada ulasan untuk plugin ini.

## Kontributor & Pengembang

“Reverse Order Comments” adalah perangkat lunak open source. Berikut ini mereka 
yang sudah berkontribusi pada plugin ini.

Kontributor

 *   [ Tim ](https://profiles.wordpress.org/timz/)

[Terjemahkan “Reverse Order Comments” dalam bahasa Anda.](https://translate.wordpress.org/projects/wp-plugins/reverse-order-comments)

### Tertarik mengembangkan?

[Lihat kode](https://plugins.trac.wordpress.org/browser/reverse-order-comments/),
periksa [repositori SVN ](https://plugins.svn.wordpress.org/reverse-order-comments/),
atau mendaftar ke [log pengembangan](https://plugins.trac.wordpress.org/log/reverse-order-comments/)
melalui [RSS](https://plugins.trac.wordpress.org/log/reverse-order-comments/?limit=100&mode=stop_on_copy&format=rss).

## Log Perubahan

#### 1.1.1

 * 16.07.12 Tested with WP 3.4.1

#### 1.1

 * 08.06.12 Updated to work with WP 3.3.2; Now using filers, making it compatible,
   faster and future proof

#### 1.0.3

 * 07.06.12 maintenance release; change of plugin owner

#### 1.0.2

 * 18.05.08 release on the WordPress plugin directory; renamed the plugin to reverse-
   order-comments; changed the directory structure to enable the WordPress plugin
   autoupdate

#### 1.0.1

 * 13.09.06 small bugfix inside comments-topinput.php templates

#### 1.0

 * 11.11.05 Initial Release

## Meta

 *  Versi **1.1.1**
 *  Diperbarui **14 tahun yang lalu**
 *  Instalasi Aktif **100+**
 *  Versi WordPress ** 1.5 atau yang terbaru **
 *  Diuji hingga **3.4.2**
 *  Bahasa
 * [English (US)](https://wordpress.org/plugins/reverse-order-comments/)
 * Tag
 * [comments](https://id.wordpress.org/plugins/tags/comments/)[guestbook](https://id.wordpress.org/plugins/tags/guestbook/)
   [order](https://id.wordpress.org/plugins/tags/order/)[reverse](https://id.wordpress.org/plugins/tags/reverse/)
 *  [Tampilan lanjut](https://id.wordpress.org/plugins/reverse-order-comments/advanced/)

## Rating

 5 dari 5 bintang.

 *  [  1 ulasan 5-bintang     ](https://wordpress.org/support/plugin/reverse-order-comments/reviews/?filter=5)
 *  [  0 ulasan 4-bintang     ](https://wordpress.org/support/plugin/reverse-order-comments/reviews/?filter=4)
 *  [  0 ulasan 3-bintang     ](https://wordpress.org/support/plugin/reverse-order-comments/reviews/?filter=3)
 *  [  0 ulasan 2-bintang     ](https://wordpress.org/support/plugin/reverse-order-comments/reviews/?filter=2)
 *  [  0 ulasan 1-bintang     ](https://wordpress.org/support/plugin/reverse-order-comments/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/reverse-order-comments/reviews/#new-post)

[Lihat semua ulasan](https://wordpress.org/support/plugin/reverse-order-comments/reviews/)

## Kontributor

 *   [ Tim ](https://profiles.wordpress.org/timz/)

## Bantuan

Ada yang ingin dikatakan? Butuh bantuan?

 [Lihat forum bantuan](https://wordpress.org/support/plugin/reverse-order-comments/)

## Donasi

Apakah Anda ingin mendukung pengembangan plugin ini?

 [ Donasi untuk plugin ini ](http://www.kiva.org/invitedby/tim5156)