Adding a link to your draft posts in the WordPress admin

When you’re working in a publishing environment, the most used part of WordPress will be viewing your draft posts. After all, this is your current, active work. Once done, it’s over to an editor to publish. Yet, draft posts are a few too many clicks than they really need to be.

The following code, added to your theme’s functions.php file will add new sub-menu options under the “Post” menu.

If any drafts exist, you’ll see a sub-menu named “All drafts”. If you, personally, have any drafts then you’ll see a second sub-menu named “My drafts”. Alongside each, too, is a counter of how many drafts there are.

If you think of any improvements to this, please let me know.

Posted by David Artiss

Enterprise Happiness Engineer for the WordPress VIP team at Automattic. Gamer, film lover and general fan of all things Marvel, Star Trek and Star Wars. Failed comedian. Writer for The Big Tech Question. World's Greatest Grandma.

Talk to me!

This site uses Akismet to reduce spam. Learn how your comment data is processed.