The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
2answers
196 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
2answers
90 views

l accidentally permanently deleted a Draft. There's any way I can recover it?

I recently started a blog and I was about to finish my second Post. I was cleaning up some stuff and decided to empty my Trash. I wasn't paying much attention to it because I wasn't expecting my ...
1
vote
1answer
250 views

I can't preview post's change once they are published

The preview function works fine when posts are just draft. The url looks like this : http://exemple.domain.com/blog/?p=12&preview=true Then when I pubish my posts, let's say I want to change ...
1
vote
1answer
174 views

Saving Custom Field Data before Publish

When creating a page or a post WordPress lets the content (title, body, featured image) be saved when using Ctrl + S. The Custom Fields do not save in the same way (in this case I'm using Advanced ...
0
votes
1answer
25 views

Making draft page as the main page

A very newbie question. I wanted to update my home page. I copied it as a draft and made the modifications. Now.. how do I make it the main home page? It sounds very simple but have been totally ...
0
votes
1answer
20 views

Allow signed in users (subscribers) to see their drafts

I allow signed in users to post on my site using a form. They can also save drafts. However, their role doesn't allow them to actually see their drafts so they see a 404 page. How can I allow them ...
0
votes
1answer
191 views

Save Draft and Preview not working (1 post)

I'm on WP 4.3, latest. The "Save Draft" and "Preview" functionality aren't working. Drafts are not being saved. Clicking that button takes me to the home page of my website. Same with Preview. I ...
0
votes
1answer
98 views

WordPress is creating a lot of draft posts

My WordPress install (with the following plugins) randomly creates Draft posts whenever I load the posts page. Is there a way to find out which plugin is doing this (aside from deactivating)? Has ...
0
votes
1answer
315 views

wp_insert_post Only creates draft

When I call wp_insert_post() with a post status, it only creates posts with "Draft" status. I've tested it with WordPress built-in statuses and my custom post statuses. But it only creates Draft ...
1
vote
0answers
111 views

wp_publish_post to saved draft, permalinks broken

I'm creating a system, where some custom post drafts are being prepared, and after certain actions taken by moderators it is being automatically published. So, first I create post draft like that: ...
1
vote
0answers
153 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"); } ...
1
vote
0answers
138 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
0answers
9 views

On update, set post status to 'draft'

In my website I have created a custom post type named "Activities". A certain user group is able to add/edit these posts. I'd like to set the post type to "draft" each time a user (not administrator) ...
0
votes
0answers
8 views

Hook into Post Exirator's expiration code

I need to run some code when a post from a custom post type is set to draft, which occurs automatically with the Post Expirator plugin. My code is set to run on the publish_to_draft action, however I ...
0
votes
0answers
37 views

Schedule to change all currently draft posts to publish

I am looking for a simple way to switch all draft posts to publish utilizing wp_schedule_event. Any ideas? Not a noob to WP, but I am a noob to working with wp_schedule_event. I would like for this ...
0
votes
0answers
31 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
15 views

Replacing RAMP with a single Wordpress instance?

We currently use a commercial plugin from CrowdFavorite called "RAMP" that allows you to move content between Wordpress instances. Our workflow is like this: editors create and edit content in a WP ...
0
votes
0answers
45 views

Users can only save their draft once before saving for revision

I use the Members Plugin and Custom Post Types. I created a role and want them to contribute posts (within this Custom Post Type musician) but don't publish them. Additionally I want to give the ...
0
votes
0answers
78 views

CPT unsaved draft gives error 404 - when Post Formats support enabled

I've a plugin for Portfolio CPT (can be downloaded from here: http://bit.ly/1tEj5bC), using this plugin, every thing works fine. But when i edit any portfolio entry and click on 'Preview Changes' ...
0
votes
0answers
63 views

How To Force User to Enter Post Title First When Adding New Post

This is my first ever question here and In a wordpress newbie so please bear with me. Using a plugin, I set a custom upload directory, to save the uploaded media (post images and featured image) in ...
0
votes
0answers
266 views

wp_insert_post hook not being called with wp_publish_post or wp_insert_post?

I have a plugin that converts hashtags (any text that starts with #) into Wordpress tags. It's working great when I manually create a post via the Wordpress dashboard, but doesn't work when I ...
0
votes
0answers
35 views

Why does typing a post in the Quick Draft or comments, eliminate double spaces?

I'm personally a fan of using two spaces after periods, in order to improve readability of my material. But lately I've been using the Quick Draft feature in the dashboard, to jot things down, and ...
0
votes
0answers
52 views

Display multiple “save draft button” on a post edit

I am aware of the submit_button() and get_submit_button() function, but can I call a "save draft" button on the same way? I have a very long "edit post page" and would like to display the save draft ...
0
votes
0answers
246 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 ...