WordPress.org

Ready to get started?Download WordPress

Forums

Timestamp Feature not working (2 posts)

  1. aragno
    Member
    Posted 8 years ago #

    How do I get the date and time stamp to show up in my posts? I am very new to this but made a test post. You can see it at http://www.ashtrey.net

    Any help would be appreciated.

  2. devilmaycry
    Member
    Posted 8 years ago #

    This code controls the date:

    <?php the_time('F j, Y') ?>

    And this code controls the time:

    <?php the_time() ?>

    Just place either of those (or both, whichever you prefer) where you like in your index.php to display the time that a post was created.

Topic Closed

This topic has been closed to new replies.

About this Topic