The draft tag has no wiki summary.
1
vote
1answer
21 views
Include drafts in internal link dialog
Ok, so I'm doing a new project and we're going to be using Wordpress as a magazine CMS. In some cases we'll have a cluster of articles about a topic and it will be natural to link from one article to ...
1
vote
2answers
38 views
'Archive' folder for posts and pages
Of course there is a Drafts section in Post and Pages, but how would I make an Archive section - which would contain previously published posts and page?
0
votes
0answers
36 views
Capability to read user's own draft post of CPT
I've got a custom role called 'Gym' and custom post type (CPT) called 'Story'. Every Gym user can create a draft of a story and view their own story drafts.
My 'Story' CPT have got the following ...
0
votes
1answer
27 views
How to debug | Some times the “Save Draft” button seems to spin but does not actually save
I am using wordpress 3.5.1 and lately there seems to be a recurring problem with the save draft function where it seems like the draft was saved (i.e the wheel finishes spinning without an error ...
0
votes
2answers
30 views
How to show or hide a post based on meta_value selection?
How would I go about hiding a post based on a meta_value selection done on the back end.
The usual method is to just change the post status from Publish to Draft however, I want this to work based on ...
1
vote
0answers
69 views
Changing status of Published posts which have less Content to “Draft”
function draftpost(){
global $wpdb;
$prefix = $wpdb->prefix;
$wpdb->query("UPDATE ".$prefix."posts SET post_status='draft' WHERE LENGTH( post_content ) <500");
}
...
2
votes
1answer
157 views
Create front end link to save post (or unpublish post) as draft
I have created a front-end posting and dashboard system for my users to add and edit their own posts. In the dashboard area, I have a list of their posts and the following options for each post: View ...
1
vote
3answers
167 views
change a post status when users update posts?
Is there an efficient way to change a post status from 'published' to 'draft' when a user of a certain type tries to update their posts. I tried something along these lines
function ...
5
votes
2answers
152 views
Passing current cookies in wp_remote_get to get Draft Post Preview
I want pass current user cookies in wp_remote_get function to get a Draft Post Preview page content.
I check already the questions:
What URL do you pass to wp_remote_get to load the body of the ...
1
vote
1answer
155 views
Exclude Private, Draft pages from Primary Nav when using custom menu
I'm looking for ways to prevent "private" and "draft" pages from appearing (to non-logged-in admins) in a site's Primary Navigation menu which is based on a custom menu - other than manually removing ...
0
votes
1answer
66 views
Preview page/post revisions without overwriting current content
Is it possible to add or update a Post/Page without it overwriting the current content that it on there? I need to make some edits to a page, but I need to have someone review it before I can publish ...
1
vote
1answer
69 views
Don't post or draft if post already exists
I've got a problem. I don't want duplicate posts. Any way to check if a post already exists and if it does just set the new one to draft? I am using IFTTT to update my blog and sometimes it posts ...
1
vote
0answers
48 views
redirect deleted / drafted pages
A client asked me to unpublished a page, which I did. However, I kept it as a draft, just in case they wanted to republish at a future date.
My issue is that anyone with this link will hit a 404 ...
0
votes
1answer
91 views
Displaying number of drafts in Posts section of admin sidebar
Is there a WP plugin to show the number of drafts in the Posts section of the admin sidebar in the same way that the number of available updates is shown? I’m looking for something like the following ...
3
votes
4answers
317 views
How to show the real post date in a draft
When looking at a draft post, get_the_date() only seems to return today's date, not the post date, even if I have selected another date on the post edit screen.
Is there a way to show the "actual" ...
3
votes
2answers
289 views
How to get the clean permalink in a draft?
When I use the_permalink or get_the_permalink in a draft or scheduled post, the URL provided is not the "final" permalink—it is the unpretty ?p=xxxxx version.
How can I get the final, "clean" ...
0
votes
1answer
304 views
Remove Save Draft & Preview Buttions.. and also Statius: Draft & Visibility: Public
I want to remove the entire section that says Save Draft, Preview and Status: Draft and Visibility: Public.
I want to not show it. Its ok if it is still fuctional.
Attached is the part I do not want ...
1
vote
1answer
300 views
Check if post is in draft or pending review?
Each of our posts are reviews for individual games and we occasionally have to 'pause' the game by changing it from published to pending review. The problem is if the page is indexed by search ...
1
vote
1answer
227 views
Where is the WP auto-save draft JavaScript?
If you write a title, then move away from (blur) that input field, WordPress will auto-save a draft for you, likely in order to create a post slug placeholder for you.
I'm looking to possibly extend ...
0
votes
1answer
95 views
Keep post's draft date after publishing?
I let users add posts in draft status. After I check and see that everything is ok, I publish them. I noticed that drafts created two days ago change date after being published. Is there any way of ...
0
votes
1answer
295 views
Preview Post/Custom Post types in Archive
I have a few custom post types on my website. One of these is a front page slider. I add some text, images, links and as soon as I publish the CPT appears as a slide and I'm a happy camper. The ...
1
vote
2answers
556 views
How to allow a user to make their post (ad) a draft, and then publish again without needing approval?
I'm using WordPress as a directory site, where a user can submit a post, which becomes their ad/listing. The users are assigned a custom wordpress role.
Posts need to need to be approved and ...
0
votes
2answers
610 views
Some users getting a 404 when previewing draft posts/pages
I have a WP network and have found that users with roles other than "super user" (admins, editors, authors, etc.) are getting a 404 when trying to preview draft posts/pages/custom post types.
Any ...
0
votes
1answer
267 views
How to list “invisible” Auto Drafts?
I noticed that when starting to create a new post, and only attach images and then when leavning the post for some reason, it won't show up in the list post view. However when you look in the Media ...
2
votes
1answer
620 views
Post Auto Draft Issue
I've made custom post type without title and editor and I use custom taxonomies, custom fields and attachments to form a post. My title is generated from custom taxonomies and custom fields (or "ID #" ...
1
vote
1answer
714 views
Is it possible to link to draft pages?
Problem: I have a overview-page with a sub-page. Both pages are still in status "draft". Now I want to create a link on the overview-page to the sub-page, a popup appears, but in the list of internal ...
1
vote
1answer
437 views
How to disable drafts?
Using Wordpress 3.1 is it possible to completely disable the drafts functionality or at least remove the "Save Draft" button from the post screen?
0
votes
1answer
333 views
Show Published and Draft posts from Logged in Author
Hello there
that's what i'm trying to achieve:
i have a private page, where only author can access, after log in.
i want to show two columns:
1 - excerpts of the latest 8 posts published by the logged ...
0
votes
1answer
108 views
Set page to draft on plugin deactivation
Im working on a little plugin that when activated creates a theme page and then a function sets this page to published this is the code i have for published:
// function that creates the new ads page ...
13
votes
8answers
3k views
Is there any way to draft a revision of a published page or post? What workarounds have you used?
Say I've already published a page or post. I now want to make changes, but I want a colleague to check them over before they go live. Is there any way of doing this?
Edit: I do realise this isn't ...
2
votes
2answers
2k views
Create slugs programmatically
I'm updating programmatically posts in a WP 3.01 install, using custom made tools.
Sometimes I do change programmatically post_status from DRAFT to PUBLISHED using custom SELECT queries, however this ...
9
votes
4answers
183 views
How can I time 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?
