WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Get rid of dates on posts (3 posts)

  1. sarsells
    Member
    Posted 3 years ago #

    Hi
    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>
    </div>

    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.

    Sarah

  2. 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.

  3. sarsells
    Member
    Posted 3 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags