Support » Themes and Templates » [Theme: Twenty Eleven] Show all comments on home page

[Theme: Twenty Eleven] Show all comments on home page

  • Hi! I’d like to have all the comments on the home page show by default instead of the user having to click the little balloon icon. Not sure where to edit the theme file(s) to enable this.

    I have seen some comments saying this is too great a server load, etc., but I only have a small number of comments and in my situation, it’s preferable to just have them visible right away, at the end of the homepage article.



Viewing 7 replies - 1 through 7 (of 7 total)
  • Anyone? 8^)



    Forum Moderator

    Do not edit the Twenty Eleven theme. It is the default WordPress 3.2 theme and having access to an unedited version of the theme is vital when dealing with a range of site issues. Create a child theme for your changes.

    Thanks esmi, that’s a good point and i will try to revise things so it’s set up that way.

    However, I’m still unsure of how to proceed to show comments on the homepage. I’m so used to the “classic” way of hacking and modifying, and Twenty Eleven is so different.
    There isn’t even a “home.php” so I don’t know what file to change if I only want to make changes to the homepage.

    I need help with this as well.

    I also need help with this

    I was able to figure it out,
    that in the in the index.php page put
    <?php $withcomments = 1; ?>
    and in the content.php page
    <?php comments_template( ”, true ); ?>

    Hi mariazapata,
    I want to do the same change and I am very new to this stuff. So I would highly appreciate if you could please answer a couple of questions:

    1) Do you copy and create the index.php & content.php in to your child theme directory?
    2) where in the respective php pages do you put the two codes?

    Thanks a lot in advance for your answers.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Theme: Twenty Eleven] Show all comments on home page’ is closed to new replies.