Support » Fixing WordPress » Display full comments, not just a link?

  • technicle

    (@technicle)


    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?

Viewing 8 replies - 1 through 8 (of 8 total)
  • UseShots

    (@useshots)

    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?

    technicle

    (@technicle)

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

    UseShots

    (@useshots)

    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?

    technicle

    (@technicle)

    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.

    UseShots

    (@useshots)

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

    technicle

    (@technicle)

    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.

    IMC

    (@imc)

    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.

    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.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Display full comments, not just a link?’ is closed to new replies.