Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #4475

    How do I remove comments and date from post?



    open up single.php and delete following code:

    <span class="date ie6fix"><?php the_time('M d, Y') ?></span>
    <span class="comments ie6fix"><?php comments_popup_link(__('No Comments','newscast'), __('1 Comment','newscast'), __('% Comments','newscast')); ?></span>

    If you want to remove the comments area at the bottom of the post delete following code:

    <div class='entry commententry'>
    <?php comments_template(); ?>


    Thanks! that worked now how do i remove the “by”


    nevermind i just deleted the rest of the <span class=”author ie6fix”><?php _e(‘by’,’newscast’);?> <?php the_author_posts_link(); ?></span>

    and it worked. thanks anyway


    Glad that you solved the problem :)

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Remove comments and date from post’ is closed to new replies.