Questions tagged [draft]
The draft tag has no summary.
107 questions
2 votes
0 answers
40 views
Draft theme editor changes
Like a new post, where I can make changes and save it without publishing with the draft button... Can I save the changes in the theme editor as a draft so that when I have everything done I can ...
1 vote
1 answer
131 views
Can't publish custom type posts that don't support title and editor, instead they're saved as draft
I’m developing a plugin that registers custom post types without support for title and editor. I’ve been working on this project for a couple of months now and when I began (WP version 6.3.1), it used ...
0 votes
2 answers
59 views
when I Try to Create new Post or Page it goes Draft(I can't post Anything)
I have Done Some Debugging is there: 1, Deactivate Plugins 2, Switch Themes 3, Update plugins & themes 4, update the WordPress version 5, in functions.php : function remove_dashboard_widgets() { ...
0 votes
1 answer
57 views
Set post to draft if matching word is found in the post
Not sure what exactly I'm missing here but I'm trying to set a post to draft if one of the words are detected, it will only publish the post if the user removes the word found within the post. At the ...
1 vote
1 answer
652 views
Problems with draft website pages
I set up all the pages for my website (set as public & DRAFT) (https://9v7.961.myftpupload.com/?page_id=50) - BUT - lots of stuff not working (menu shows no pages, cannot link to Posts, custom ...
1 vote
2 answers
2k views
How to change my 3000 Published post status to Draft using PHPMyAdmin
I have to change my all 3000 published post status to draft. one way to do it one by one or another option is to select bulk post... but bulk selecting also takes a lot of time because I have around ...
0 votes
0 answers
85 views
Revert a Draft page to its original version
I recently went into my Main Page to make some changes, and my inexperience with the new block mode caused me to mess it up. However, I had saved the messed-up version as a Draft. Now, I want to get ...
0 votes
1 answer
540 views
Updating a custom post status after an expiry date rather than trashing it
I have set up a custom post type of featured products. Within that post type I have a custom date field for an expiry date. Currently when the date expires, the post gets moved to the Trash. I'm ...
2 votes
0 answers
260 views
Hiding Draft Post In Admin
Does anyone know of a way to hide draft post so that when "All" post is selected, draft post is not included? I tried adding this code to my functions.php file but it lead to an error, I'm ...
0 votes
1 answer
1k views
Hook when post is set from published to draft?
Is there an action i can hook into when a post is set from published back to draft? I have tried both transition_post_status and publish_to_draft but they don't seem to work when I set the post back ...
0 votes
1 answer
48 views
Content Visibility for Wordpress is not working (Drafts, public etc.)
I have an old WordPress installation. Unfortunately, public posts and drafts are displayed on the front. I think it's because of the wordpress loop. The following code is used: <section class="...
0 votes
1 answer
101 views
How to get the old Wordpress Draft Editor view back with the Word count?
I would like to change my drafts page back to normal. By normal I mean with the page count and other normal features shown in the 2nd image As you can see I can see the word count also in the old ...
0 votes
1 answer
1k views
My posts are getting to Auto draft when I try to Publish
My posts on my site are getting into auto-draft mode when I try to publish it. So far, I have tried the following: 1. Change the theme. 2. Disable all plugins 3. Disabled widgets using functions.php....
0 votes
1 answer
573 views
Auto Draft Specific Categories Posts after a certain number of Days
I want to put posts from two categories to automatically draft after the number of days like 90 Days from the date of Publish and I created a function with the help of some codes in other forums, but ...
1 vote
1 answer
559 views
How to get the Tags on Publish post hook?
Requirement: On the each publish/update post, we need all tags from the post and do some functionality on that. Case 1: Create post, add tags and Publish immediately === WORKS PERFECT === Case 2: ...