WordPress.org

Ready to get started?Download WordPress

Forums

Display full comments, not just a link? (9 posts)

  1. technicle
    Member
    Posted 6 years ago #

    Hello:

    I would like comments to display fully under each post, rather than as a link saying 1 Comment, 2 Comments, etc. Is there a setting I can use for that?

  2. UseShots
    Member
    Posted 6 years ago #

    It usually depends on your theme settings. Usually they display "n comments" link on the home page, and full comments on individual post pages.

    Which theme do you use?

  3. technicle
    Member
    Posted 6 years ago #

    Hi Shots,
    I use good 'ole WordPress Default 1.6.

  4. UseShots
    Member
    Posted 6 years ago #

    WordPress Default shows links only below items on the home page and full comments on post pages. Do you want to display comments on the home page? Why?

  5. technicle
    Member
    Posted 6 years ago #

    I would like to display entire conversations without anyone having to click on a particular comment link to read the comments. This is quite common on many blogs I've seen.

  6. UseShots
    Member
    Posted 6 years ago #

    I don't follow you. WordPress Default theme does display entire conversations on post pages.

  7. technicle
    Member
    Posted 6 years ago #

    It's actually quite easy to understand. I would like comments to show up on my blog, without any clicking on links.

    As it is now, readers have to click on a link that says 1 Comment, 2 Comments, etc. I would like the comments to show without having to click on a link. You know, no clicking, just reading the posts and the comments, together, on the same page, with no clicking.

  8. IMC
    Member
    Posted 5 years ago #

    Tech, useshots is saying that if you go to the post, the comments display fully without having to click anything. If you view your posts from a category or homepage, where more then 1 post is shown, the comments will not display by default. You have to click the comments 1, comments 2, etc. link.

    As for how to display full comments while on a category or homepage with multiple posts, i have no answer for that.

  9. devasiajoseph
    Member
    Posted 5 years ago #

    Here is a solution:
    1.Open /wp-includes/comment-template.php
    2.Find the "function comments_template( $file = '/comments.php' ){"
    3.Inside the function you will see :
    if ( ! (is_single() || is_page() || $withcomments) )
    return;
    Change this to
    if ( ! (is_single() || is_page() || $withcomments) )
    //return;
    4.Open /wp-content/themes/yourtheme/index.php
    add "<?php comments_template(); ?>" inside post loop
    "while (have_posts()) : the_post(); "

    Please note that the post comment text box will be displayed along with comments.

Topic Closed

This topic has been closed to new replies.

About this Topic