• when my website (www.splurj.com) was set up by a third party the comments were disabled for my posts, but now I’ve copied the theme from my main site to my blog (blog.splurj.com) and want to activate the comments on my blog posts.

    Can anyone tell me what I need to do, what code to use in which php document, or where to activate my comments? Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • First, go to Settings->Discussion and see if the third box is checked “Allow people to post comments on new articles” if it is they you need to start editing the php if it’s not check it and save then let us know if that fixed it.

    Also, if it’s checked and not working add

    <?php comments_template(); ?>

    to your single.php

    I have the same problem but I dont know where to insert the strand in my single.php here is an example of my single.php if you could explain where to place it. That would be awesome.

    <?php get_header(); ?>

    <!– BEGIN content –>
    <div id=”content”>

    <?php
    if (have_posts()) : the_post();
    ?>

    <div class=”single”>
    <h2><?php the_title(); ?></h2>
    <div class=”content”><?php the_content(); ?></div>
    </div>

    <div id=”comments”>
    comments disabled.
    </div>

    <?php else : ?>
    <div class=”single”>
    <h2>Not Found</h2>
    <p>Sorry, but you are looking for something that is not here.</p>
    </div>
    <?php endif; ?>

    </div>
    <!– END content –>

    <?php get_sidebar(); get_footer(); ?>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘activating my comments on my posts’ is closed to new replies.