WordPress.org

Ready to get started?Download WordPress

Forums

Show 'COMMENTS' box at the end of each post. (4 posts)

  1. WANE
    Member
    Posted 1 year ago #

    Hi I have been searching all over the net and I just can't find what I need so I am hoping someone on here can help me.

    At the end of each post there is an 'Add a comment' link, but I would like to change this to a box to make it easier for my viewers to see. I'm hoping it's just a little bit of coding in the Single.php page or something I need to alter?

    I'm new to all of this as I had someone set up my blog for me, but i'm hoping I can just change this without bothering them, so if anyone knows what I need to put where, it would be much appreciated! :)

  2. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    there is an 'Add a comment' link, but I would like to change this to a box

    i.e. just change the formatting?

    or have a comments form there?

    what theme are you using?
    can you post a link to your site?

  3. WANE
    Member
    Posted 1 year ago #

    Thanks so much, I would like a comments form there so it's easier for visitors to the site to see.

    I am unsure what theme it is as I have had it modified by someone.

    My blog is http://www.wordsarenotenoughblog.com

    Again, thanks for your response! :)

  4. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    two possibilities -

    a:
    adding just the comment form on the front page below each post:

    add this before the 'endwhile' of the loop of the front page template (index.php ?):

    <?php global $withcomments; $withcomments = 1; comments_template('/frontpage-comments.php');
      // force comments form to show on front page ?>

    and create a new file frontpage-comments.php to add to the theme folder;
    file content for example: http://pastebin.com/M5P9Rk1V

    or b:
    add the whole comments and comment form to the front page (not recommended as this might cause a high server load, and does not allow all features of the comments list, and might cause problems):

    add this before the 'endwhile' of the loop of the front page template (index.php ?):

    <?php global $withcomments; $withcomments = 1; comments_template();
      // force comments and comment form to show on front page ?>

Topic Closed

This topic has been closed to new replies.

About this Topic