Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
12 views

Can run cron event manually with WP-CLI but not with any plugin, unsure if it's being scheduled

I have a cron event that I am able to manually run with wp cron event run --all When I go to my dashboard and go to WP-Crontrol OR Advanced Cron Manager, I can see my event listed and tell it to ...
0
votes
1answer
108 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 ...
0
votes
0answers
183 views

display custom post type on a calendar

I want to create a calendar that looks like a google calendar and displays published and scheduled posts of a custom post types. Most of the calendar plugins I see are Event calendars. This is not ...
1
vote
0answers
169 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 ...
0
votes
1answer
52 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:
1
vote
1answer
55 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. ...
0
votes
3answers
44 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 ...
1
vote
2answers
169 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 ...
0
votes
1answer
152 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 ...
0
votes
1answer
56 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/...
0
votes
2answers
424 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 ...
1
vote
0answers
90 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' ); ...
0
votes
1answer
271 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 ...
0
votes
1answer
235 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....
6
votes
1answer
93 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 ...
0
votes
1answer
115 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 ...
0
votes
1answer
1k 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 ...
0
votes
3answers
2k 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 ...
0
votes
1answer
125 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 ...
0
votes
0answers
137 views

How to Publish a Post Multiple Scheduled Time

I want to publish a post in WP, but not immediately. So what I am doing is like this- From this tutorial. So, I am getting only 1 time when the post will be published. But I want to the post be ...
1
vote
0answers
202 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 ...
1
vote
1answer
203 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'...
2
votes
1answer
73 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 ...
0
votes
0answers
103 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 ...
0
votes
1answer
68 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?
0
votes
1answer
69 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 ...
0
votes
1answer
660 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 ...
0
votes
1answer
116 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 ...
2
votes
1answer
489 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 ...
0
votes
2answers
506 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. ...
0
votes
1answer
719 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 ...
1
vote
1answer
246 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 ...
2
votes
1answer
2k 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 ...
0
votes
1answer
242 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 ...
1
vote
1answer
850 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 ...
0
votes
1answer
140 views

Include scheduled ( future ) posts in WordPress post navigation ( previous_post_link, next_post_link )

Is this possible? How can i change the query for adjacent posts and add 'post_status=future' to display next and previous posts for scheduled ones? I suppose i should use some kind of filter, but ...
0
votes
2answers
37 views

Posted posts scheduling to unhide for new members

So I came up with this idea. It works like autoresponder, which send already prepared and scheduled content every 7(let's say) days to a all subscribers. And for a new subscriber it starts from the ...
0
votes
2answers
1k views

has_post_thumbnail() Returns False on Scheduled Posts

I am making some changes to a custom WP template and have hit an odd issue. Published posts work absolutely fine, but when you view a scheduled post the Featured Image disappears. It's as if there ...
1
vote
1answer
810 views

Any way to create scheduled post programatically?

I'm searching through the web for any solutions that will allow me to create a post programatically with post status : Future (Scheduled Post). I'm reading through wp_schedule_event WordPress ...
0
votes
1answer
67 views

How to schedule categories?

Is there anyway to schedule categories? like I already created the categories but I don't want it published to the public until the scheduled date like how you can schedule posts.
0
votes
2answers
36 views

How to prevent people from seeing an attachment to a scheduled post that's released in future?

I'm developing a website for a large corporation. They release financial documents on specific dates and times. I've developed a custom form to upload these pdfs to articles, and custom loops that ...
2
votes
2answers
1k views

wp_insert_post to schedule a post - but nothing happens?

I'm trying to schedule a post that is currently a draft: function schedule() { $postdate = date('2014-06-11 00:30:00'); $post = array( 'ID' => 11, 'post_status' => 'future', '...
1
vote
3answers
2k views

How to Display Details page of future (scheduled) posts

My question here is to display all the single detail page of future scheduled posts. It is returning 404 page. How can this be done in wordpress? What I have used so far is $args = array( ...
0
votes
1answer
241 views

Scheduling posts via sql

I got 10k posts with dates that are in the future. I imported my posts as a draft cause it seems quicker. I have used phpmyadmin to set the status of the posts to future with this sql command: UPDATE ...
0
votes
0answers
412 views

Display “Today” Instead of Date for Pubslished Posts

I have a list of 'post_status'' => 'future' which are published at certain dates throughout the year. These posts are custom posts whith Advanced Custom Fields. Since a couple of days I'm trying ...
0
votes
2answers
463 views

How do I publish portfolio items with a future date?

I am trying to publish portfolio items with a future date (using for an event based website) and I can't see to find any plugins or anything. I have seen them for generic posts, such as "The Future ...
0
votes
2answers
755 views

Query to view scheduled or draft post

I have created a mailer template for my my single post. I can view the mailer version of my post using a url variable ?mailer I've configured the above using the code below within my single.php... ...
4
votes
1answer
1k views

What is considered the post's creation date for wp_insert_post?

I have the following hook which sets a default "hotness" for a post. For context, hotness is a meta_value saved to the post, and changes every time someone upvotes or downvotes the post. I use this ...
1
vote
2answers
231 views

Posts miss schedule, no notification (3.7.1)

I have a site running 3.7.1 where posts are sporadically failing to post on schedule. Unlike the "missed schedule" error that sometimes occurs, these misses don't generate any notification and the ...
0
votes
1answer
3k views

Setting Post Date Returning “Notice: A non well formed numeric value encountered”

I am using wp_insert_post to create post. While executing that function, I also set post date to schedule the post publish date using some variables. Here is the part of my code: //Intervals $...