Support » Fixing WordPress » Removing "Comments are closed" from Static Pages

  • Resolved ReverendMike


    I’d like to post static Pages and remove the string “Comments are closed” from the pages entirely, but still allow comments on Posts. Is there any way to do this?

Viewing 1 replies (of 1 total)
  • <?php get_header(); ?>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <div class=”ind-post” id=”post-<?php the_ID(); ?>”>
    <h1><?php the_title(); ?></h1>
    <div class=”entry”>
    <?php the_content(); ?>
    <?php wp_link_pages(array(‘before’ => ‘<p>‘.__(‘Pages’, “magazine-premium”).’: ‘, ‘after’ => ‘</p>’, ‘next_or_number’ => ‘number’)); ?>
    REMOVED>>>>>> <?php comments_template(); ?>

    <?php endwhile; endif; ?>
    <?php get_footer(); ?>

Viewing 1 replies (of 1 total)
  • The topic ‘Removing "Comments are closed" from Static Pages’ is closed to new replies.