Welcome to Dagon Design. In addition to free scripts, WordPress plugins, and articles, we offer a variety of services including custom theme design, plugin creation, and PHP scripting. Contact me for more information.

Version 1.31   Updated Tuesday, July 7th, 2009 at 6:18pm

Scheduled Post Shift Plugin for WordPress

This plugin automatically takes your oldest post, and updates its timestamp so that it appears as the latest post on your WordPress site. It does this by utilizing the cron feature built into WordPress 2.1 (and newer). It can rotate all the posts on your site, or just ones in specific categories. You can currently schedule it by setting the number of hours between shifts. For example, set it to 24 hours and it will shift the oldest post every day, at the time that you enabled it. You can also choose to only shift a post if it has been more than a set number of hours since the last post.

Download

  If you have found this page useful, please consider donating. Thanks!

Instructions

  • Download the above file, rename it from .txt to .php, and upload it to your plugins directory
  • Enable the plugin
  • Configure the plugin options (under DDPostShift)
  • Click the ‘Enable Post Shift’ button to start

Disabling the Schedule

To stop the schedule, simply click the ‘Disable Post Shift’ button on the options page.

Change Log

  • 07-07-09 Version 1.31 – Added option to only shift a post if it has been a set number of hours since the last post was added.
  • 02-22-09 Version 1.3 – Updated to work better in recent WordPress versions. Log file support added, and several other updates. Can also shift posts when no drafts are available.
  • 08-28-08 Version 1.22 – A few bugs fixed. Now supports multiple category rotation.
  • 04-27-08 Version 1.21 – Updated for WordPress 2.5 and to be compatible with WP Security Scan plugin
  • 09-29-07 Version 1.2 – Updated for WordPress 2.3
  • 05-16-07 Version 1.1 – Updated for WordPress 2.2
  • 04-09-07 Version 1.0 – First release

Options

Here are the options available in this plugin’s options page in the WordPress admin panel.

Shift Delay

This is the number of hours between post shifts. The schedule will start as soon as you click the ‘Enable Post Shift’ button.

Only Shift after X Hours

If used, a post will only be shifted automatically if it has been more than this many hours since the last post was added.

Category IDs

If left blank, the plugin will operate on all of your posts. If you enter a comma-separated list of category ID’s, it will only update posts in those categories.

Log File

Full path on your server where you would like the log saved. You can leave this specific to this blog, or set up a global log for multiple blogs. Leave blank to disable this feature. Be sure to give this file write-access

Pages: « 8 7 6 5 [4] 3 2 1 » Show All

  1. 60
    Richard

    Some feedback on v. 1.3 and wp-2.7 Plugin installs correctly and now holds the enabled status. There are some problems however.
    1- Log file needs to be created manually (not really an issue)
    2- Despite inputting one cat id (146) it advances category ID=1 (uncategorized)ONLY.

    Any help appreciated. Thanks.

  2. 59
    Richard

    Thanks so much for maintaining this plugin with an update for 2.7.

  3. Version 1.3 Released

    This update fixes many issues for users of recent WordPress versions. It has been tested in the latest release of WordPress (2.7.1)

    Log file support has also been added, to see exactly what the plugin is doing.

  4. 57
    Richard

    I can confirm that one problem is that the script won’t hold the ‘enabled state’in the settings page. Beyond that I cant’t test untill this part works. I would be grateful for some input, but I sympathise with any developer who has to keep up with the constant irritating core changes from wordpress developers. It’s a nightmare maintaining a site with plugins as you never know which ones will break with each wp update. But that’s another subject …

  5. 56
    Richard

    Is there a new release pending to fix the 2.7 compatibility? thanks…

  6. I am on WP ver2.7 too.
    Hoping for a compatible release. Pls.

  7. As others have reported, it looks like DD Post Shift doesn’t work in 2.7. To me it looks like the queries are still good. So I’m guessing it’s related to the cron functionality which I’m not familiar enough with to test.

    Marios

  8. Hello

    Don’t work with WP 2.7 :(

  9. It’s not work on ver 2.7
    Need new release

  10. It’s really great plugin! But it doesn’t work with the newest WP and it is pity. I’m interceding for upgrade.
    Thanks a lot for a good job.
    ====
    Anybody can confirm this information???

  11. The script seems to be disabling itself randomly. It will accept updates of how many hours, and I can Enable/Disable it … but it’s not holding the “Enable” state.

    Hope you can fix this, it’s a great idea.

  12. Thank you ive been looking for something like this. Now I can go on holiday without stressing cheers.

  13. It’s really great plugin! But it doesn’t work with the newest WP and it is pity. I’m interceding for upgrade.
    Thanks a lot for a good job.

  14. I agree – this plugin looks great, but I can’t get it to work on the latest version of WP. Any thoughts (or not) on an update?

    Thanks!

  15. Hi I use this great plugin on one of my older blogs…
    But on my new WP blog it doesnt work :(

    Will there be an update so users with the newest WP can also use it?

    Thanks for the great work mate!

Pages: « 8 7 6 5 [4] 3 2 1 » Show All

Leave a Comment

Before you comment: If you are having an issue with a script, please make sure you have read the entire article. Also, please read through the comments because most common issues have already been discussed many times. Thanks.


Be sure to wrap all code in <code></code> tags.