• Resolved lisaking2010

    (@lisaking2010)


    I deleted the comment code from my website over a year ago and now I want to add it back in for every post or possibly just a page full of comments, but I want to be able to approve them. (I did save the original code somewhere, but cannot find it!) Any suggestions on how to go about doing this? I am not a php code writer. Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The code that you want to add is this:
    <?php comments_template(); ?>

    I would start by looking in the index.php.

    If I was you, I would delete a fresh copy of the original theme and look at both index.php.

    Good luck.

    Thread Starter lisaking2010

    (@lisaking2010)

    I think there are three pages where this code might exist: single.php (it has that code already), the index.php and comments.php and both of those do not have that code.

    How do I go about getting a fresh copy? Do you need to re-purchase and re-download?

    Thank you for your time Christine.

    The site is http://www.gorillanuts.com if anyone is interested, they are wire connectors, don’t be scared.

    I think that the single.php and index.php are the right files.. the comments.php is the file that gets called by that code, I pasted above.

    If you bought the theme, you could ask them if they can help. They do have a support tab on their site.. I would ask them and since they’ve built it, they should know exactly where to put that code in.

    Thread Starter lisaking2010

    (@lisaking2010)

    I did have to get the original code, which luckily we had. It ended up being on the index.php page. I compared the code and copied back in the following:

    <div class=”postMeta”><?php the_tags(‘Tags: ‘, ‘, ‘, ‘
    ‘); ?> Posted in <?php the_category(‘, ‘) ?>
    Comments: <?php comments_popup_link(‘No Comments »’, ‘1 Comment »’, ‘% Comments »’); ?></div>

    Thanks Christine for your response!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Adding Comment Fields Back In’ is closed to new replies.