WordPress.org

Ready to get started?Download WordPress

Forums

Way to title posts using time stamp? (3 posts)

  1. kidnebraska
    Member
    Posted 7 years ago #

    Is there a way to have WordPress automatically title a post using the time stamp? I want the titles for my posts to be given by the output of the_time('d M Y H:i') (e.g. "28 Feb 2007 23:17"), but I don't want to actually type that in each time I write an entry. It seems like there should be a way, but I can't think of anything obvious.

    Any help is appreciated!

  2. makemead
    Member
    Posted 7 years ago #

    I'd just modify the template to place what you want where you want it.

  3. Doodlebee
    Member
    Posted 7 years ago #

    Yes, what he said. Replace `<?php the_title() ?>' with your PHP date info.

    Of course, this may bring in some issues - it *could* just display the current date, rather than the date of your post. I'm not sure...you'd have to try it and see...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags