The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
1answer
233 views

Scheduled Posts and wp-cron - Why don't scheduled posts publish if too old?

I notice that the documentation for wp_schedule_single_event mentions the following:- The action will fire off when someone visits your WordPress site, if the schedule time has passed. However ...
0
votes
1answer
37 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 ...
0
votes
1answer
44 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 ...
1
vote
0answers
57 views

Problems with cron

I have a this code that delete some post meta at al 7:55 hour of the server: if ( !wp_next_scheduled('borra_meta_datos') ) { wp_schedule_event( mktime(7, 55, 0, date('n'), date('j')), 'daily', ...
0
votes
0answers
14 views

Scheduled Popups

I am working with a church that is looking to have a popup appear on Sundays and Wednesdays informing viewers that their services are streaming live. I can not find a plugin that will handle this. Is ...
0
votes
0answers
22 views

Wordpress posting scheduled posts at wrong time

When I set 2 scheduled posts, one at 21:15 and 21:30, they post at the same time (21:15). Using Wordpress 4.2.6 (This is not "missed schedules". Rather this is "schedules posted at wrong time") TIA ...
0
votes
0answers
12 views

wp_schedule_event get value from database Not Working

I'm develop plugin auto post, but my event schedule not working. the function only work when browser open. i get data from database. i want have dynamic dropdown add_filter( 'cron_schedules', ...
0
votes
0answers
13 views

How to email a published post notification at a certain time?

I am using follwoing code to send an email if any post is published or draft to published. <?php add_action('future_to_publish', 'send_emails_on_new_event'); add_action('new_to_publish', ...
0
votes
0answers
26 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
0answers
51 views

How to update post meta in schedule event action-function?

I want to execute something like this. What I must to change in following code? wp_schedule_event( time(), 'hourly', $string); add_action($string, 'do_this_hourly'); function do_this_hourly() { ...
0
votes
0answers
11 views

Wordpress Add Product - “Scheduled” status issue

When we create a new product with a future date, the status of this post is "Scheduled" Is that any way to force publish the status to make it "Published"
0
votes
0answers
41 views

Running wp_schedule_single_event on Post Import

I'm trying to have a category deleted after a certain length of time once a post has been published. I was successful in doing this when a post is manually created, but I cannot for the life of me ...
0
votes
0answers
28 views

Constantly schedule posts for two weeks in advance

I was wondering if there was a way to automatically and constantly have posts scheduled for two weeks in the future. Example: I have a post that I want published every Tuesday at 1pm, and I want ...
0
votes
0answers
195 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
0answers
33 views

How to use function schedule post to integrate with date type (magic fields)?

Lately I'm developing a cinema website. The users are having problem setting movie on coming-soon, release, and now showing types. They need to do it in manual way. So I just saw WordPress function ...