WordPress.org

Ready to get started?Download WordPress

Forums

Styling comments_template() in index.php? (4 posts)

  1. RicardoPomalaza
    Member
    Posted 3 years ago #

    I'm running wordpress on a site for a friend and he wants comments to show up on his main blog page. I included the comments_template() below his posts on index.php but the CSS styling for comments.php seems to have disappeared. When I go into a post though (simple.php), the comments below retain their css styling. Is there a way I can make comments_template() on the main blog page retain their styling as well?

    This is the code I used in the main blog page (index.php):

    <?php
      $withcomments = "1";
      comments_template();
    ?>
  2. Michelle Langston
    Theme Wrangler at Automattic
    Posted 3 years ago #

    Post the URL of the site, please.

  3. RicardoPomalaza
    Member
    Posted 3 years ago #

    http://www.brianbeckford.com/blog/

    The comments show up but they aren't styled like in the post's page. Why?

  4. Michelle Langston
    Theme Wrangler at Automattic
    Posted 3 years ago #

    I'm not seeing any comments on the front page, just the link to the comments...

Topic Closed

This topic has been closed to new replies.

About this Topic