The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
14 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
1answer
45 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
71 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
42 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
68 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
28 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
28 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
93 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 ...
4
votes
4answers
4k views

wp_update_post() doesn't update post_status?

I'm using this bit to insert/update a custom post type from the front-end. The date is set from a custom jquery datepicker. if (strtotime($date) < strtotime('tomorrow')) { ...
0
votes
1answer
43 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
0answers
54 views

Re-Publish Posts on Given Date

I am currently working on a blog that has about 20-30 posts going live each week. Within those 20-30 posts some are 100% brand new articles and some are previously-posted articles that are being ...
1
vote
1answer
525 views
0
votes
1answer
22 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
0answers
23 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 ...
2
votes
2answers
2k views

Update content of multiple pages/posts at once?

Is this possible? using shortcodes? Custom post type? Custom Fields? CSV upload? Unique content per page. Do not need to create new pages, Just update body of them. Seems like a tough one? Also can ...
1
vote
3answers
395 views

Unschedule a post

I have some posts scheduled for tomorrow. I want instead to remove the scheduled date and simply publish them manually when I am ready. I can't find anything about this. Does just setting them to ...
0
votes
2answers
27 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 ...
0
votes
1answer
78 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
2answers
172 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
0answers
31 views

How to add the scheduled posts in existing content link in hyperlink

I am blogging with scheduled publication. Say, I have content "1" (complete and saved already) scheduled to be published tomorrow Now I have another content "2" (complete and saved already) ...
1
vote
2answers
269 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', ...
0
votes
1answer
182 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
0answers
141 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
94 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
136 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... ...
0
votes
0answers
28 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 ...
2
votes
1answer
389 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 ...
9
votes
4answers
256 views

How can I delay the publishing of a page or post?

Sometimes it would be nice to be able to set a draft to be published when I'm not in front of the keyboard. Is this possible? If so, how?
0
votes
1answer
1k 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 ...
-1
votes
2answers
52 views

Is there a way to schedule url to content updates?

I have a client that has multiple pages of content that will be changed on various intervals depending on the day and/or date. For example one of the pages is "Specials of the Day" They already know ...
0
votes
1answer
173 views

User unable to see a scheduled post via the url?

My users aren't able to see scheduled posts. Instead they get shown a 404 error. I'd like to show scheduled posts as well.
0
votes
2answers
42 views

What action to use for when a post is saved / published, with a caveat

I'm trying to do some stuff when a post has been saved, I'm currently using the save_post action, of which generally works. However, the problem I'm having is when a post is scheduled it fires the ...
2
votes
1answer
154 views

Scheduled posts: set default time?

I want to be able to set the default time in the options for a Scheduled Post to be a specific time of the day, as opposed to it defaulting to the current time. Is there a plugin or some code I can ...
7
votes
2answers
216 views

How to prevent posts from being published too close to each other?

I manage a blog which consists of about 25 writers. Sometimes a few of them are in the process of writing a new post at once, and they end up publishing them too close to each other. Is there a way ...
2
votes
1answer
208 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
2k views

Better handling of WP-CRON server load abuse

There are multiple reports on how wp-cron is a far from ideal solution because it runs every time a page is loaded, which is unnecessary in most scenarios (one scenario in which it would be necessary ...
1
vote
1answer
359 views

Schedule future post to custom post status instead of publish?

I've been doing some research into custom post statuses and scheduling posts and I had a question: I was wondering if it were possible to schedule a post to got from future to a custom post status ...
0
votes
1answer
3k views

Force Publish Future (Scheduled) Posts Immediately [duplicate]

I am trying to force publish 'future' or 'scheduled' posts, and I am having trouble The reason I am asking is because I am creating a site that allows users to do the editing on the front of the ...
1
vote
1answer
2k views

Make future posts visible to the public—not just within WP_Query

I know I can publicly show future posts in a loop using 'post_status' => 'future' in WP_Query. But clicking on a future post's permalink will result in a 404 if you are not a logged-in user. ...
0
votes
1answer
84 views

Remove “Edit Link” next to “Publish immediatley” when adding a new post

I need to remove the Edit link next to Publish immediately as I don't want my user to schedule the post. How can I achieve this? Thanks!
1
vote
1answer
303 views

How to fix missing function in wp-cron?

One of my sites consistently fails to publish scheduled posts. I've tried disabling plugins, using Twenty Twelve, etc. with no luck. I installed the Core Control plugin and noticed that there is no ...
0
votes
1answer
66 views

Specific Days, Specific image on Front Page

Is there a plugin that will allow me to do the above? Basically I have a webcomic that updates twice a week with two different stories. http://www.lunarblade.com What I would like to be able to do ...
1
vote
1answer
218 views

How to code schedule / cron job

I am using wp_schedule_event to hourly insert items from an rss news feed into my client's blog. Here is how I am setting it up in my functions.php: add_action('init', function(){ $timescheduled ...
0
votes
1answer
120 views

Can't open scheduled posts

On the homepage of my website I'm retrieving published and scheduled posts this way: <?php global $post; $args = array('numberposts' => '3', 'category' => $category, 'post_status' => ...
1
vote
0answers
49 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', ...
2
votes
2answers
590 views

Missed scheduled WordPress

I am currently in version 3.1 of WordPress and I have a problem with planning my post. In fact, whenever I plan a post, it is written: "Scheduled missed. Could you help me please. Thank you in ...
2
votes
1answer
197 views

Feedburner doesn't update when “scheduled post” publishes

I've searched around and can't find anything on this, so thought I'd see if y'all could help. I am successfully scheduling posts and having them publish - no "missed schedule" problems - but when a ...
5
votes
2answers
3k views

Schedule Posts to Publish from Dates/Times Pre-Set by Admin

I have a multi-author baseball site. I want authors to be able to schedule posts to be published at one of four selected times each day. This is important because some authors write game recaps, and ...
0
votes
2answers
608 views

Does WordPress provide an API for scheduling posts?

I'm a database noob so I'm a little bit clueless as to how to make a scheduled post via a plugin. Basically, does WP provide a reference API that would allow a plugin to create a scheduled post, like ...
1
vote
1answer
66 views

permalink %year% of pre-written posts to be published next year, in the mysterious future (*)

I am pre-writing some posts that will be published next year. My permalink structure is /%year%/%postname%/ After setting the post title, the permalink says it will be ...