Controlled Draft Publisher

外掛說明

Publishes one draft post every X minutes. Includes logging, stats, and an admin dashboard with start/stop, manual publish, filter, and refresh controls.

Features:
– Publish one draft post at a configurable interval.
– Simple start/stop controls and manual publish button.
– Activity log with timestamps, post titles, and permalinks.
– Basic stats: total published and last published entry.
– Works with selected post types.

Privacy Policy

Controlled Draft Publisher stores an activity log (cdp_log) in the WordPress database when logging is enabled. The log includes post IDs, titles, timestamps, permalinks, and post types for published drafts. No user data is collected or sent externally. Logs can be cleared or exported via the dashboard.

Notes

  • Ensure your site meets the PHP and WordPress version requirements before installing.
  • Server cron or WP-Cron behaviour may vary on low-traffic sites; consider using a real cron if reliable timing is required.
  • Translation-ready: Includes controlled-draft-publisher.pot in the languages/ folder for translators.

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2, or any later version, as published by the Free Software Foundation.

License URI

https://www.gnu.org/licenses/gpl-2.0.html

螢幕擷圖

  • Dashboard: Controlled Draft Publisher main controls and activity graph.
  • Recent Activity: Recent activity log with all information about posted items.
  • Settings: select post types, interval, and enable/disable logging.

安裝方式

  1. Upload the plugin folder to the /wp-content/plugins/ directory, or install via the WordPress admin.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress admin.
  3. Go to Draft Publisher Settings to configure post types, interval, and logging.
  4. Use the Draft Publisher dashboard to start/stop the scheduler or manually publish drafts.

常見問題集

Can I control which post types are published?

Yes, you can select one or more post types in the plugin settings. Default is post.

Does it support custom intervals?

Yes, set the number of minutes between publishes in the settings page. Minimum safe interval is recommended to avoid accidental bulk publishes.

Is publishing logged?

Yes, if logging is enabled the plugin stores a rolling activity log (option cdp_log) and updates the last/total counters.

How does scheduling work?

The plugin uses WordPress cron (WP-Cron) to schedule publishes. For low-traffic sites, set up a server cron job (e.g., */5 * * * * wget -q -O - https://your-site.com/wp-cron.php) for reliable timing.

Can I manually publish a draft?

Yes, use the “Publish Now” button on the dashboard to publish a draft immediately.

使用者評論

2025 年 10 月 21 日
The plugin is cool, it’s simple – that’s what I was looking for.
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Controlled Draft Publisher〉的開發相關工作。

參與者

將〈Controlled Draft Publisher〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.4

  • Added taxonomy settings to select publishing from categories and tags.

1.3

  • Fixed white screen when loading Settings page.
  • Change Recent Activity log view per page from 10 to 50.
  • Added Settings link in Plugins page.

1.2

  • Added start/stop controls to the dashboard.
  • Fixed timezone display for “Next Scheduled Run” (uses site timezone, e.g., BST).
  • Improved scheduling logic for dynamic intervals.

1.1

  • Added CSV export for activity log.
  • Added 7-day publish history chart to dashboard.
  • Enhanced logging with post type and permalink details.

1.0

  • Initial release.