Hey everyone, just a quick one (and hopefully easy…)
I wondered if it was possible to “force” a post to enter into draft mode when you click Add New. I have put in a little jQuery code in the admin head which automatically populates the title with a default text but as far as I can gather, the post only enters draft mode when you tab out of the title area into the main text box.
You may be asking why I want this to happen. Well, my client has asked for a bespoke custom meta box with image upload. However, if he was to upload the image first without actually typing anything (therefore not technically creating the post) the Save button next to the image uploader will not work, as it performs the same action as Publish.
So, what I’m asking is if it’s possible to actually create the post as soon as Add New is clicked, rather than it waiting until content is entered…
Thanks in advance
- The topic ‘Force a post to “create” itself when clicking Add New?’ is closed to new replies.