Support » Plugin: Post Expirator » [Plugin: Post Expirator] Set posts to draft on given day, but with fix time

  • Hello there,
    I would like to “disable” the time option so that the expiration date in the backend can be changed but the time is fixed as “23.59” for example.
    Is this possible by changing some settings or do I need to edit anything in the php code?

    A solutions would be great because I have added an expiration date to 200 articles recently but forgot to change the time :S A “23.59” default would be really cool for me…

    http://wordpress.org/extend/plugins/post-expirator/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Aaron Axelsen

    (@axelseaa)

    Currently this would have to be done in the php code as there are no options to support this.

    You would have to do two steps:

    1) modify the plugin to hard code your desired time (this i could likely add into the core)

    2) update all of your existing 200 articles to expire at that desire time.

    When each post is saved, there is a “post meta” item added that contains the expiration timestamp. So, you would need to loop through and update that timestamp to retain the same date, but with your preferred time.

    Hi there,
    my intention was that I do not need to change all my 200 recently edited articles again… so… well…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Post Expirator] Set posts to draft on given day, but with fix time’ is closed to new replies.