WordPress.org

Support

Support » How-To and Troubleshooting » Posts on future dates?

Posts on future dates?

  • LynwoodDunseith
    Member

    @lynwooddunseith

    Ahoy hoy,
    I am trying to post blog entries on dates in the future. I have tried editing the timestamp for the date in the future I want the contnet to be on. However, while the calendar shows an entry on that day, when I click on the date the page comes back with no post.
    What I’m trying to do is post a daily agenda in advance for my instructors to look at. Is this posssible with the current version?
    Any help appreciated,
    Lynwood

Viewing 5 replies - 1 through 5 (of 5 total)
  • Mike Little
    Participant

    @mikelittle

    Hi Lynwood,
    It is not possible in the ucrrent version to display future posts. In fact the calendar should be either.
    There was however a thread on the old b2 board where I believe the participents got it working.
    Mike

    Alex King
    Member

    @alexkingorg

    I coulda sworn I’d fixed the calendar once already but future posts are still unaccounted for in the queries. I’ve fixed it and checked the changes into CVS.
    Mike, please take a look at the changes when you have a moment. I didn’t know if I needed to account for $time_difference in those queries. Thanks.

    Mike Little
    Participant

    @mikelittle

    Hi Alex,
    Your date for comparison in the query needs to be
    date(‘Y-m-d H:i:s’, (time() + ($time_difference * 3600)))
    Which is used elsewhere in that code to determine the current day.
    I’m not at my ususal machine so I can’t commit it to CVS myself.
    But I have tested it.
    You need the same comparison in the tooltip titles query too.
    Mike

    Alex King
    Member

    @alexkingorg

    Ok, I’ve made that change as well in both places.

    i’m sorry, but i didn’t get it. where and how do i have to change what to be able to post blogs in the future?
    thanks a lot
    padEEnottheverybestprogramer…

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Posts on future dates?’ is closed to new replies.