Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.
If the asker does not get an answer then they have 10 days to request a refund.
$10
Reverse the order comments
I wanted to insert last comment at the top of the first page, and not the top of the last page as the default.
It is possible to change the sort order?
This question has been answered.
Jose Ribeiro | 05/17/12 at 11:07am
Edit
(5) Possible Answers Submitted...
See a chronological view of answers?
Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.
-

Last edited:
05/17/12
11:17amMichael Caputo says:In your comments template, where it says:
<?php wp_list_comments(); ?>
You need to add "reverse_top_level=true". So it should look like this:
<?php wp_list_comments('reverse_top_level=true'); ?>Previous versions of this answer: 05/17/12 at 11:17am | 05/17/12 at 11:17am
- 05/18/12 11:28am
Jose Ribeiro says:Thank you, does not work
- 05/18/12 11:28am
-
Last edited:
05/17/12
11:21amKailey Lampert says:There's an option in Settings > Discussion that may work for you. Here's a screenshot of where that option is: http://screencast.com/t/i40NNhvScsf4
- 05/17/12 1:29pm
Jose Ribeiro says:Thank you, does not work
- 05/17/12 1:29pm
-

Last edited:
05/17/12
11:31amFrancisco Javier Carazo Gil says:I would have done that as here:
Just open the comments.php file from your theme. Find the following line:
<?php foreach ($comments as $comment) : ?>
Add this line below:
<?php $comments = array_reverse($comments, true); ?>
The code should look like this the next one:
<?php $comments = array_reverse($comments, true); ?>
<?php foreach ($comments as $comment) : ?>
// comments loop
<?php endforeach; ?>
That's all- 05/18/12 1:08pm
Jose Ribeiro says:Thank you, does not work
- 05/18/12 1:08pm
-

Last edited:
05/17/12
11:50amHavrince Daniel says:Just go to Dashboard/ Settings/ Discussion and just edit this:
Comments should be displayed with the newer comments at the top of each page
There is a plugin that do exact same thing but i recommend using first method:
http://wordpress.org/extend/plugins/reverse-order-comments/- 05/17/12 1:29pm
Jose Ribeiro says:Thank you, does not work
- 05/17/12 1:29pm
-

Last edited:
05/17/12
12:52pmArnav Joy says:check this plugin
http://wordpress.org/extend/plugins/simple-reverse-comments/
- 05/17/12 1:38pm
Jose Ribeiro says:Fantastic, this works
- 05/17/12 1:38pm
This question has expired.
Gabriel Reguly, Jose Ribeiro voted on this question.
Current status of this question: Completed
Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.
If the asker does not get an answer then they have 10 days to request a refund.
