Support » Plugins » Hacks » Please show me the offending "comments" code line (a quicky)

  • Resolved Ian

    (@daddyfox)


    I want to remove the notification on my page that “comments are turned off” but I cannot find which line/code to delete.

    <?php get_header(); ?>
    <div class=”content”>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <article class=”post”>
    <h1><?php the_title(); ?></h1>
    <p class=”meta”> Article date <?php the_time(__(‘j F Y’)); ?> <?php edit_post_link(‘EDIT POST’, ”, ”); ?></p>
    <?php the_content(); ?>
    <?php wp_link_pages(‘before=<p>’ . __(‘Pages:’) . ‘&after=</p>’); ?>
    </article><?php /* /end post */ ?>
    <?php comments_template(”, true); ?>
    <?php endwhile; else: ?>
    <p class=”meta”><?php _e(‘Sorry, no posts matched your criteria’); ?></p>
    <?php endif; ?>
    </div>
    <!– /end post –>
    </div>
    <!– /end content –>
    <?php get_sidebar(); ?>
    </div>
    <!– /end container –>
    <?php get_footer(); ?>

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Please show me the offending "comments" code line (a quicky)’ is closed to new replies.