View WordPress Page Drafts in the Dashboard

Wordpress Draft pages on Dashboard

TheDashbaord page of yourWordPress admin interface offers a quick and useful high-level view of your site’s content with the ability to quickly take action as well. There are a number of modules on the dashboard, one of which is the QuickDraft module. Not only does the QuickDraft module allow you to quickly begin a draft of a new post but it also presents you with a list of drafts. For some reason it has been decided that this module should only display drafts of Posts. It would seem to make perfect sense that draft Pages would also be included, but they’re not. However, there is a quick fix for this!

For some reason it has been decided that this module should only display drafts of Posts. It would seem to make perfect sense that draft Pages would also be included, but they’re not. Have no fear, there is a quick fix for this!

To make draft Pages show up in your QuickDraft module on your WordPress Dashboard simply edit the dashboard.php file in your WordPress install. This file can be found here:

> wp-admin > includes > dashboard.php

The line in question is in the function wp_dashboard_recent_drafts. Search for this function and edit the following:

'post_type'      => 'post',

and change it to

'post_type'      => 'any',

 

That’s it! Now you’ll have your draft pages listed right there on your dashboard for easy access.

 

quickdraft-pages

 

Leave a Reply

Your email address will not be published. Required fields are marked *