最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Scheduling wordpress posts

programmeradmin2浏览0评论

I'd like to schedule 1 post to be published every day until the total post count runs out, before cycling the process over again. Each of these posts must expire (revert to "draft" or "archived") after 7 days of "published" age. All of these posts would be under a custom post type.

In total I will create 200 posts. All 200 posts must be published consecutively before the cycle begins again at post #1. Consequently every 7 days at a specified time (00:00) one new post will be published, and one post of 7 days age will be unpublished.

Does anyone have any pointers on how I might execute this? I'm familiar with a few plugins such as 'WP Scheduled Posts Pro' by WPDeveloper, but I would need to manually go through all 200 posts to schedule each date, and then update their publish/unpublish dates every year via SQL (fastest method instead of going through each post individually). This plugin also wouldn't allow me to increase the amount of posts without disrupting the existing schedule. The plugin also has way more features than required.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论