I dont want to show this on my post pages Posted in Uncategorized | Edit| Comments are closed. I went into comment.php and it says <?php // if you delete this the sky will fall on your head endif; ?> How do I go about setting up my posts so that "Posted in Uncategorized | Edit| Comments are closed." will not show on any posts I make follow the link you will have abetter idea of what I am talking about http://www.fastremortgagesuk.co.uk/mortgage-quotes/
in single.php delete this line: <p class="postmetadata alt"> <small> This entry was posted <?php /* This is commented, because it requires a little adjusting sometimes. You'll need to download this plugin, and follow the instructions: http://binarybonsai.com/wordpress/time-since/ */ /* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?> on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?> and is filed under <?php the_category(', ') ?>. You can follow any responses to this entry through the <?php post_comments_feed_link('RSS 2.0'); ?> feed. <?php if ( comments_open() && pings_open() ) { // Both Comments and Pings are open ?> You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(); ?>" rel="trackback">trackback</a> from your own site. <?php } elseif ( !comments_open() && pings_open() ) { // Only Pings are Open ?> Responses are currently closed, but you can <a href="<?php trackback_url(); ?> " rel="trackback">trackback</a> from your own site. <?php } elseif ( comments_open() && !pings_open() ) { // Comments are open, Pings are not ?> You can skip to the end and leave a response. Pinging is currently not allowed. <?php } elseif ( !comments_open() && !pings_open() ) { // Neither Comments, nor Pings are open ?> Both comments and pings are currently closed. <?php } edit_post_link('Edit this entry','','.'); ?> </small> </p> PHP: and <?php comments_template(); ?> PHP: You could just edit out ^ to prevent posting, but the other stuff is for all that other junk at the end of the post. In index.php, find this: <p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p> PHP: and change to: <p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?><?php edit_post_link('Edit', '', ''); ?> </p> PHP: This is just based off the default theme so your code may be different. Use as a guideline as I don't know what your specific code looks like. You will also want to edit your archive.php file and take out: <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?> PHP: