Questions tagged [scheduled-posts]

WordPress allows users to set a future date or time for publishing a post. Especially on sites with low visitor counts missed schedules are common. There are ways to solve this.

Filter by
Sorted by
Tagged with
0 votes
0 answers
47 views

Running a function using Crown WordPress on one day a week, for example, Mondays of every week

Hello friends I am trying to write a plugin to be able to publish a post on a specific day. I need to be able to publish a specific text as a post on Mondays every week. The searches I did on the ...
Fardad Farhang's user avatar
0 votes
1 answer
51 views

Publish scheduled pages right away in Wordpress

I have more than thousand pages which are imported via a spreadsheet. For some reason, they are scheduled to be published on different dates. I want to publish them right away. Is there any way to do ...
Abhishek's user avatar
0 votes
1 answer
55 views

Sort scheduled posts in ascending order by default

I have a self-hosted WordPress blog (5.9). When I go to view scheduled posts, I want the default sort order to have the soonest scheduled posts on top. I can do this by manually hitting the date ...
Terence Eden's user avatar
0 votes
0 answers
185 views

Adding $args to wp_schedule_event() causes hook to add infinitely to WP Cron

I'm working on calling my function from server cron instead of using WP Cron. The problem I occured is simple. When I add $args to wp_schedule_event() method, and check for the successfull addition in ...
Artis S's user avatar
1 vote
0 answers
48 views

Scheduling update post daily

I have created a function to change the post category to archive after expiry date. And it will update every time when I save a post. But the question is that how can I schedule an update for posts ...
gabriel's user avatar
  • 11
0 votes
0 answers
60 views

Scheduling wordpress posts

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 "...
Dazza's user avatar
  • 23
1 vote
1 answer
905 views

Error trying to publish immediately. Post status = future (Missed schedule error)

We have moved a to new server and now we can’t publish. At least, we can’t publish instantly. Maybe can be useful: we are using Plesk & CloudFlare. When we publish a new post, the post_status ...
Anfuca's user avatar
  • 181
0 votes
0 answers
32 views

Show custom content when loop or wp query reaches specific time?

Like Facebook, the birthday of a user will showing something like “month year day, you were born” on his timeline, or on someday it will show “graduated form ?? School”. Is it possible for Wordpress ...
Duke Yin's user avatar
0 votes
1 answer
354 views

Show scheduled posts in loop (but don't link to them)?

Is there a way to show scheduled posts in the regular loop but have them not link? I'd like to show that they're coming soon. This code makes them visible, but you can click into the post, which I ...
Elizabeth's user avatar
  • 347
0 votes
1 answer
231 views

post_exists stops working in a scheduled event

I am creating a wordpress plugin that takes an article from one of my wordpress sites and then posts it to different wordpress site. For testing purposes, I want it to pull an article at random and ...
bsmith's user avatar
  • 1
0 votes
0 answers
29 views

How to publish post to individual based on date

I am creating a website for pregnant women, upon registration I am asking for their expected due date. The experience I need is: When a user registers they enter their child's due date as one of ...
rlsaj's user avatar
  • 123
0 votes
2 answers
319 views

Include future posts in tags and in search

I am using something like this to query and display future or scheduled posts on my homepage: <?php query_posts('post_status=future&posts_per_page=10&order=ASC'); while ( have_posts() ) : ...
ben.kaminski's user avatar
0 votes
1 answer
539 views

Automatically delete posts one by one depending on published time

How can I delete the posts one by one depending on the published time of the post every 24 hour? Why this snippet deleting all the posts at once, even if they are not published in the same hour or ...
Adham Mohamed's user avatar
0 votes
1 answer
71 views

Schedule an action callback

I have a function in which I want to send out emails of expiring account. Is there a way of scheduling a "doaction()" or similar. What I want is this: doaction('Something here', ...
Debbie Kurth's user avatar
0 votes
1 answer
196 views

What am I doing wrong creating post draft via wp-cron? (wp_schedule_event & wp_insert_post)

So I've been googling and apparently a lot of people have struggled with this for the past X years and there doesn't seem to be any clear responses on Stack Overflow. What I am developing is a ...
icantevenjustpostitPLEASE's user avatar
0 votes
1 answer
376 views

Scheduled posts are being published immediately

I do have the same issue as in here. Since I can't leave a comment and so I post another new topic for help. Does anybody else can solve it? I come across the same issue suddenly. I haven't tried to ...
Anfield's user avatar
1 vote
1 answer
28 views

Set the publication date independent of the scheduled publication date

I want to write a post today (2019-01-15) I want to schedule the publication for the future (2020-09-03) I want the published date to reflect when it was originally written - so it appears as example....
Terence Eden's user avatar
1 vote
0 answers
622 views

How do I change the permalink of a scheduled post so that it can be linked to?

When you create a post of any type (either post or page or custom taxonomy) it gets a permalink that visitors can click on and visit. http://example.com/my_first_blog_post_permalink/ However, if ...
jchwebdev's user avatar
  • 765
0 votes
1 answer
849 views

Scheduling a post using publish date from a custom field. Resulting post is set as published in the future instead of scheduled

I've been trying to set a scheduled publish date using an ACF field. I'm trying to make a custom backend editor for computer-illiterate clients to create and edit posts. I believe that the default ...
Paul Elrich's user avatar
1 vote
0 answers
426 views

How to switch wordpress post status between publish and schedule in MySQL?

I am writing a program to switch a post between publish and schedule For a scheduled post, I try to set post_status from future to publish, and set a past time to post_date and post_date_gmt, but the ...
CL So's user avatar
  • 111
0 votes
1 answer
289 views

Add scheduled page or post in the menu section on back-end

I want to add scheduled page/post in the menu section on back-end before publish the page/post. Please see the screenshot:
Kaizur's user avatar
  • 61
1 vote
2 answers
917 views

Update Modified date when scheduled posts get published

I have a post scheduled to go out 1 week from now. I made the change today to schedule it and let it be. When it finally gets published, the post date is the date it was scheduled to be published. ...
Molten Ice's user avatar
0 votes
3 answers
61 views

Is there a way to schedule changes to a page?

Our clients would like to schedule changes made to a given page (for instance by displaying the link to register to an event). Typically, the same page (/registration) should display (before the ...
E. Jaep's user avatar
  • 109
1 vote
2 answers
771 views

All Wordpress scheduled posts are being published immediately

I am having a problem when creating scheduled posts. I create the posts as normal, click edit, set a scheduled time and click ok then the shedual button. Soon as i do this i check the website and the ...
TomPo101's user avatar
0 votes
1 answer
284 views

Is it possible to schedule a page edit to go live on a certain date?

On one of our websites, we have a page with a text block (Visual Composer) about a special offer which is available until the 1st of July. I, of course, would like that to disappear as soon as the 1st ...
McOwen's user avatar
  • 142
0 votes
1 answer
129 views

Create blog post from external source and set publication date

I'm building a script which creates new blog posts from an external source. my code is as follows: // Load WordPress require_once '../../wp-load.php'; require_once ABSPATH . '/wp-admin/...
Jamie Moffat's user avatar
1 vote
2 answers
2k views

Disabled wp-cron, set up system cron but still have missed schedule posts

I have a caching plugin (WP Rocket) so I am aware of the issues with wp-cron and scheduled posts. So, I disabled wp-cron and then set up a system cron. Now, I noticed that when a post is scheduled it'...
Gary Hall's user avatar
1 vote
0 answers
280 views

WordPress action hooks related to scheduled posts not Fired

I have scheduled posts to publish automatically in future. I want when theses posts are published do some stuffs, so I used below code: add_action( 'publish_post', 'after_post_published' ); ...
Asghar M's user avatar
0 votes
1 answer
675 views

Schedule reminder at exact time

I have event website. I want send reminder about event exactly 2 hours before the event to subscribers. So how can schedule wordpress to call the function exactly at time. I know about wp_schedule ...
Gowri's user avatar
  • 851
0 votes
1 answer
422 views

How to Create movie schedule by custom post type query

I want to create movie scheduler by custom post type query. That will display like: "Day 1, 15 oct 2016" 1.Movie list goes here 2.Movie list goes here "Day 2, 17 oct 2016" 1.Movie list goes here 2....
Md. Elias's user avatar
5 votes
1 answer
361 views

Immediately published posts are scheduled and published 2 hours later

If I try to publish posts immediately, they get scheduled for the current time but are published 2 hours later. Also scheduled posts are published 2 hours after the planned time. In think its a ...
christophrus's user avatar
1 vote
1 answer
187 views

WordPress automatic publish: is there a timeout when WordPress won't publish anymore?

When you schedule a post for publish, and it misses its publish time, for how long after that will WordPress publish it? I know that WordPress cron jobs trigger when a user loads the page after the ...
ptf's user avatar
  • 423
0 votes
1 answer
3k views

How to export custom post type with ACF to individual file with automation?

I have a custom post type product using ACF (Advanced Custom Fields) I would like to schedule a daily cron task automation to export all published posts into post_id.txt, one for each post. I know ...
KDX's user avatar
  • 183
0 votes
3 answers
4k views

"Missed schedule" posting bug

I have a low traffic WordPress (4.5.3) site at http://brandgrowmedia.ca/. When a blog post is scheduled, it frequently (~80% of the time) does not post and is marked as "Missed schedule". I looked ...
zgall1's user avatar
  • 67
0 votes
1 answer
193 views

Scheduling publish of a new version of existing page results in 404

The best way I can explain this is: I have an already published page (version 1), which I make edits to and want to schedule the new version (version 2) to be published at a later date. When I ...
miles's user avatar
  • 339
1 vote
0 answers
425 views

How to create a WP Cron hooks based on schedules from Advanced cron manager plugin?

I need to run the following script once per 24 hours: (1) http:domain.com/wp-cron.php?import_key=Iq_GCn7v0&import_id=36&action=trigger the following one to run after the above, once or twice ...
cmsdeployed's user avatar
2 votes
1 answer
422 views

Scheduling posts in database

I have more than 100 posts to schedule. I have set the date and the status (future) with a SQL query. But when the time comes the post is not published and in desktop I can read message 'Schedule lost'...
Antonio Sánchez's user avatar
2 votes
1 answer
132 views

How to schedule autopost publishing at each 60 minutes?

I am using following code to auto publish posts from images uploaded, it works but does not schedule posts publishing, all post are published right after images were uploaded by media uploader in ...
FiveX's user avatar
  • 21
0 votes
0 answers
241 views

Auto draft posts when scheduled date is reached

I have a plugin that allows all scheduled posts to be visible immediately... I'm looking for a function that will automatically set a post's status to "draft" when it reaches it's scheduled date and ...
Pete's user avatar
  • 998
0 votes
1 answer
105 views

How to restrict an author scheduling their post date to a maximum X days ahead from the current date

How would I restrict an author in scheduling their post X (let's say 8) days ahead of the current date?
Pete's user avatar
  • 998
0 votes
1 answer
82 views

suffix title with "EXPIRED" when scheduled post has reached it's published date

I'm scheduling and displaying all my posts in the future. I'd like to somehow add some text after the post title when the publish date is reached. In effect the post will expire at the time of the ...
Pete's user avatar
  • 998
0 votes
1 answer
1k views

Is it normal for a scheduled post to say "Missed Schedule"

There is a custom post type I am making called announcements. When I set it to a future publishing time, say at 8:00. It will say at 8:01 'Missed Schedule'. However after a little while I will refresh ...
Satbir Kira's user avatar
0 votes
1 answer
168 views

How to customize 'recurrance' of' wp_schedule_event'?

I am new to WordPress development. I build a function to send email twice a day with wp_schedule_event. My recurrance is twicedaily. Is this possible to change twicedaily time to 9:00 and 14:00. If so ...
Ramesh Murugesan's user avatar
2 votes
1 answer
826 views

Allow Facebook to preview posts before published

I want to allow Facebook (user agent facebookexternalhit) to access scheduled posts before they're published, so it can access meta information in order to schedule a status. Currently I temporarily ...
prunmit's user avatar
  • 31
0 votes
2 answers
1k views

How to Insert data with wp cron

I am using wp_schedule_event for Insert data every 1 Minutes in a teble. But here is some confusion where i have to add code for Insert. Here is my code which add in functions.php in my theme. ...
Pavnish Yadav's user avatar
0 votes
1 answer
2k views

Return scheduled posts with WP REST API

I'm using WP REST API plugin for a custom web application and I need to get access to the scheduled posts of the target wordpress website. However I can't find any parameter or filter to achieve this ...
elvismdev's user avatar
  • 300
1 vote
1 answer
505 views

Display only one post each WEEK

I have custom post type named 'NEWS' where i already published 52 posts at a time. Now, in front i would like to display them ONE NEWS for ONE WEEK. So 52 NEWS will cover one year for me. My ...
Mehedi Hasan's user avatar
2 votes
1 answer
4k views

Change scheduled posts to published

I wrote the following function to change scheduled posts to published (I've got about 1000 of them). When I run the code below, the date change, but the status does not... Can anyone shed some light ...
Sagive's user avatar
  • 2,772
0 votes
1 answer
539 views

Comments on future posts

I have enabled future (scheduled) posts to display as single post so on that page comments are enabled but there is a problem when i try to post comment. I get a blank screen without any warning or ...
Cookie_Pa's user avatar
1 vote
1 answer
2k views

Schedule Page to Menu [duplicate]

Every week I tend to have 2-4 pages scheduled though I need to get them added to my menu as well. The "Add New Top Level Pages to Menu" option won't work in my case though as the pages in question ...
Spedwards's user avatar