Forums

Which file to edit when wanting to display time of posts? (5 posts)

  1. imwiththebandlq
    Member
    Posted 3 years ago #

    When I make a post in my blog I want it to have the format "November 13, 2008 at 1:39am" Right now I have all my formats set correctly I just need to know which file to edit to add the time after the month and year in my posts. Easy, I know :] Please help?

  2. moshu
    Member
    Posted 3 years ago #

    Not sooo easy. It can be a lot of files - depending on which "view" are we talking about.
    Learn more: Template_Hierarchy.

  3. imwiththebandlq
    Member
    Posted 3 years ago #

    I don' t understand :[

  4. imwiththebandlq
    Member
    Posted 3 years ago #

    I've found the code I want <?php the_time('g:i a'); ?></p>

    I just need to know where to put it. It's been awhile since I've touched wordpress. A year, while. Heh.

  5. mfshearer72
    Member
    Posted 3 years ago #

    Probably put it below the_title() in your loop in the single.php file.

Topic Closed

This topic has been closed to new replies.

About this Topic