WordPress.org

Ready to get started?Download WordPress

Forums

displaying comments in reverse chronological order (6 posts)

  1. placutus
    Member
    Posted 7 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.

    Thanks

  2. 4k
    Member
    Posted 7 years ago #

    you'll have to translate but Reverse Order Comments

    http://www.zyblog.de/wordpress-plugins/reverse-order-comments/

  3. placutus
    Member
    Posted 7 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
    Member
    Posted 6 years ago #

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

    <?php comments_template(); ?>

  5. moshu
    Member
    Posted 6 years ago #

    @psenthilraja,
    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
    Member
    Posted 6 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic