How to change publish date and status for future posts in WP?

Discussion in 'WordPress' started by rwin2007, Aug 29, 2010.

  1. #1
    Hello,

    Can somebody help me out with a mysql script/statement to change the publish status and date for future posts?

    I have many future posts that i want to publish by mass. All futurre posts have all kind of dates in the future. So all posts later than today need to be published at once.

    Can somebody help me out with a SQL script/statement for this?

    Thanks in advance.
     
    rwin2007, Aug 29, 2010 IP
  2. ayekaye01

    ayekaye01 Peon

    Messages:
    214
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    i think you can edit the date of the article.just click quick edit under title post.
    hope this will help you!
     
    ayekaye01, Aug 30, 2010 IP
  3. rahulsonar

    rahulsonar Peon

    Messages:
    70
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    This will give you posts from future. Then you can edit the post date as per your choice, for these rows..
     
    rahulsonar, Aug 31, 2010 IP
  4. rwin2007

    rwin2007 Well-Known Member

    Messages:
    1,231
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    140
    #4
    @rahulsonar

    Oke... but how to set a specific date for all these records... including the status Published.

    Example... set all future posts on publish date 31-08-2010 and status Published. You need an update statement.... i don't want to update all data manually because than i can use the wordpress admin panel.

    Please help me out.

    Thanks in advance
     
    rwin2007, Sep 1, 2010 IP
  5. Sake7

    Sake7 Well-Known Member

    Messages:
    1,098
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    110
    #5
    You need to put there instead [...] what date you want.
     
    Sake7, Sep 1, 2010 IP