Aaron Axelsen
Forum Replies Created
-
Currently it will just delete the post. I have never looked or confirmed how the delete post function works, but I would imagine it only removes the post .. and not media that has been uploaded.
This is the function that is being used to delete: http://codex.wordpress.org/Function_Reference/wp_delete_post
Q1. I will consider this for the future, but its not currently possible.
Q2. You can use the “Default Date/Time Duration” option. Set it to custom, and then enter “+7 days”. This will prepopulate the expiration date boxes.you could start by disabling some of the other plugins to see if any of them are impacting cron. Otherwise, you could setup a second development install to test your system.
it looks like your cron events are not firing. When a cron event fires, the date should change to the next date it should fire. And seeing that you have some from back on Jul 21 that are set to daily – something is not right there. You may want to check your wordpress install to make sure eveything is right.
It sounds like your cron is not firing – what is showing on the diagnostics tab under the current cron schedule?
What does the debug log say? Are any of the events firing?
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.
Correct
No – the category on the settings page is just the default value that loads when you set the expiration on the post page. You still have to verify and set the category expiration on ever post page.
If you make a new post, and make sure the category is set under the “Post Expirator” page, that should work. If it does not, let me know.
Changing the category on the plugin settings page does not impact any previously saved posts. It would only apply to newly created posts.
I see there is a category set in the settings page – can you verify that on the actual post that this 1 category is still selected? It may also be useful to enable the debugging log to see what is actually firing at post expiration time.
You can set a custom value of “+1 year” which will change the default expiration date that appears to be 1 year from time the post expirator is enabled for that entry
I’ve been working on a number of changes soon to be released. I just added in an option to set the default duration for the expiration time. I also added an option to configure it to use the post time.
You can test it out here: http://downloads.wordpress.org/plugin/post-expirator.zip
If anyone has any suggestions on how to implement a feature like this, I would be interested in hearing them. I just fear that it may overly complicate the process for the 99% of users that do not need this feature.
Are you trying to remove all categories from a post at expiration time?