removing “leave a comment”
-
hi. I have no knowledge of php whatsoever, but I want to remove the “leave a comment” field. if anyone could help me out, it would be really appreciated. here’s the php for my theme:
[code]
<?php
get_header();
?><?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
<div id="small"><smallbg><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></smallbg></div>
<h2>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></h2>
<div class="entry">
<?php the_content('Read the rest of this entry »'); ?>
</div><p class="postmetadata"><i><?php the_tags('Tags: ', ', ', ''); ?></i> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>
<div class="feedback">
<?php wp_link_pages(); ?>
<?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
</div><?php comments_template(); // Get wp-comments.php template ?>
</div>
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link('« Older Entries') ?></div>
<div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div>
</div><?php else : ?>
<h2 class="center">Not Found</h2>
<p class="center">Sorry, but you are looking for something that isn't here.</p>
<?php get_search_form(); ?><?php endif; ?>
<?php get_footer(); ?>
[/code]
- The topic ‘removing “leave a comment”’ is closed to new replies.