WordPress.org

Ready to get started?Download WordPress

Forums

Adding the date to a Prologue post (5 posts)

  1. graf1771
    Member
    Posted 5 years ago #

    Hi,

    I've been playing with Prologue and trying to figure out if you could also add a date / timestamp function to the posts.

    Looking through the main WordPress code I think I need to send some data via $post_date but I can't work out the format needed. Has anyone done anything with this before, or know of a plugin that works with post_date so I can check it out and view the code :-) ?

    I'm aiming to get Prologue to work as a calendar/diary style system, so you'll be able to post messages on future and past dates... any ideas?

    Thanks

  2. moshu
    Member
    Posted 5 years ago #

    Everything in WP is displayed by the Template_Tags.
    See: Template_Tags#Date_and_Time_tags

    (for displaying future dated posts - you will need to search, it is not built-in)

  3. graf1771
    Member
    Posted 5 years ago #

    That was a quick reply!

    It's not quite what I'm looking for though. I want to go to an archived category (eg. 1st January 2005) and use the Prologue post form to write a post to that date, so it will only show up when you go to that archived date, or if you pull in posts from that date elsewhere.

    I hope that makes sense, it's quite tricky to explain...

  4. moshu
    Member
    Posted 5 years ago #

    I have no idea what Prologue is...

    On the other hand when writing a post you can always change its time stamp.

  5. graf1771
    Member
    Posted 5 years ago #

    Ah ok, Prologue is a theme developed by some people over at Automattic:

    Prologue theme

    I think I added tags to make this appear in the correct section of help, but I may have made a mistake.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags