• Hi there,

    I was wondering if there was a way to add, in the back-office part, a “new post” button in the “new post” interface? So that we can, well, add a new post directly upon submitting without the need to go back in the posts pages (where the actual and only “new post” button is). NB: I’m basically a back-end developer, so hacking in php shouldn’t be a problem. Plugin would also be welcomed, even if I doubt a plugin should be needed for such a tweak.

    Thank you very much in advance !

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi, basically you want to stay on new post page after submitting a post. More like insert and add new?

    Couple of hooks are there like ‘save_post’. But a redirect to a specific page doesn’t look possible that way. You can possibly use javascript event on click of the publish button and redirect it to the new post page.

    Thread Starter Stephane Smirnow

    (@mamorukunbe)

    Thank you very much. I was hoping for something more “WP frienldy”, but that’s already a trail to fellow 🙂

    Moderator bcworkz

    (@bcworkz)

    It’s important users are returned to the same edit screen so they can see if there were any problems with publishing the post. Most of the time it’s not a problem, but when it is it’s important to know about it.

    Why not use the “+ New > Post” admin bar item? Yeah, it’s one more click, but better than returning to the list table.

    Curiously, the classic editor does have a new post button right on the edit screen, but the block editor does not.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘New post immediately after submitting’ is closed to new replies.