displaying comments in reverse chronological order (6 posts)

  1. placutus
    Posted 9 years ago #

    Is there a way to have the two features I list below working in WP?
    1. displaying comments also on the index.php (on the home page directly below the post)
    2. displaying the comments in reverse chronological order, with the most recent at the top and the earliest at the bottom.


  2. 4k
    Posted 9 years ago #

    you'll have to translate but Reverse Order Comments


  3. placutus
    Posted 9 years ago #

    Thanks 4k the plugin you suggested did the job ok.

    Now, coming to my point 1. , do you have any ideas on how to hack WP to have the comments visible directly on the homepage below the post?
    In index.php I tried to replace <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?> with something like <?php include 'comments.php'; ?>
    but nothing happens.

  4. psenthilraja
    Posted 8 years ago #

    Include the following function, in the index.php, within the loop, below the post content function call.

    <?php comments_template(); ?>

  5. moshu
    Posted 8 years ago #

    Incorrect. That will do nothing.
    Search for "comments on index".

    Most importantly: do not post on 8 month old topics (just to give out wrong advice).

  6. snoogly
    Posted 8 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic