The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
19 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
0answers
21 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
107 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
63 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
29 views

auto-scheduling posts

I had to make a script for auto-scheduling post.. The interval between every post published should be of 20mins This is the code i made so far function techento_data_valid_schedule($data) { if ...
0
votes
1answer
41 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
101 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
49 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
95 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
22 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 ...
1
vote
1answer
249 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 ...
0
votes
0answers
68 views

Displaying Single Future Posts in a specific Category or Taxonomy

I want posts that are tagged with a certain term and scheduled to be posted some time in the future to be publicly available. So if I create a post, assign it a special term (category, tag, custom ...
0
votes
0answers
231 views

Programmatically schedule post with wp_update_post function

I schedule posts in a wp plugin (WP 3.8) with the following function. My posts seem to be in the correct status after scheduling them (when editing them, date time and status are good), and also after ...
0
votes
0answers
69 views

wp_schedule_single_event running twice

I have set up a meta box with a checkbox, so when checked and the post is saved, a scheduled event is registered to send an email to all users (around 1200) in the background. Sometimes the emails ...
0
votes
0answers
21 views

Schedule a post without editing permissions

I want an user to schedule posts but I don't want the user to edit those. Is there a way to schedule draft or pending posts without the others editing permissions?
0
votes
2answers
147 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
581 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
115 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
37 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 ...
7
votes
2answers
195 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 ...
0
votes
1answer
1k 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 ...
0
votes
1answer
249 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 ...
1
vote
2answers
1k 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 ...
0
votes
1answer
82 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!
2
votes
1answer
189 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 ...
1
vote
1answer
260 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 ...
1
vote
3answers
283 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
1answer
61 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 ...
0
votes
1answer
2k 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
194 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 ...
2
votes
1answer
112 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 ...
0
votes
1answer
115 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' => ...
3
votes
2answers
2k 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')) { ...
1
vote
0answers
39 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', ...
5
votes
2answers
2k 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 ...
1
vote
1answer
459 views

Allow non-logged in users to see a future post after clicking on a list of future posts

I have been able to list out pages that are set for future in a custom template like this: ...
0
votes
2answers
531 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
64 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 ...
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
156 views

rewrite_rules problem

I am using scheduled posts as a event program, by making a loop pick up future posts. Every now and again, the production site starts to show 404's for the single event pages, and to fix it I have ...
2
votes
1answer
193 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 ...
2
votes
2answers
527 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 ...
1
vote
2answers
739 views

Missed schedule

My future posts are going missed. They are not getting published on the time they should, and it says "Missed Schedule". I read somewhere that it could be a server issue, so how can I fix it?
1
vote
1answer
1k views

timestamp and scheduled post irregularities

Update: I've confirmed the problem (that scheduled posts are based on UTC time), now just need advice and background to determine best solution. Questions: 1) how WP determines UTC time before ...
2
votes
1answer
484 views

How to create pages that do change or expire after a specified amount of time?

You can create a new page/post for this and set a custom publish date for it, but now the question is: How can you make a page to be available for a specified amount of time and replace it with ...
0
votes
1answer
261 views

How can I show my scheduled posts in Google Calendar?

I typically schedule posts well in advance before they get published. At times I can have as many as 5-10 scheduled posts set to be published within the coming weeks. Is there a way to show a ...
9
votes
4answers
234 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?