Support » Fixing WordPress » Get rid of dates on posts

  • Resolved sarsells


    I want to get rid of the date, on posts.
    I am assuming I have to do this in the PHP?

    I have looked at my theme (Blue Zinfandel), and can find reference to the time on both the main index and home php files.

    On main the following appears

    <div class=”contenttitle”>
    <h1>” rel=”bookmark”><?php the_title(); ?></h1>
    <?php the_time(‘F j, Y’); ?> | <?php comments_popup_link(‘Leave a Comment’, ‘1 Comment’, ‘% Comments’); ?></p>

    Do I just delete <?php the_time(‘F j, Y’); ?>
    And if so, do I do it on home php as well?

    THanks for your help.


Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Jan Dembowski


    Brute Squad and Volunteer Moderator

    Make a copy of those files (I say it three times, backup, backup, backup, and backup…) and instead then remove just the <?php the_time('F j, Y'); ?> in both index.php and home.php.

    If that does not work (or blows up), then put back the backup copies you made.



    Thank you. Will have a go shortly and let you know how I get on!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Get rid of dates on posts’ is closed to new replies.