Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics

Does not show draft pages

Hello! Interesting problem …

When Admin Columns is activated, the pages list does not show draft pages. When I deactivate it, the draft pages show up again.

Not a huge deal, since I don’t need to deal with the pages list very often. But thought you would want to know.

(Latest updates to everything; Admin Columns and Admin Columns Pro for Advanced Custom Fields)

5 years, 2 months ago
Stefan van den Dungen Gronovius


Thanks for your feedback and letting us know about this issue.
Can you try to figure out if the overview page where you have this issue, is sorted?
If you see a ‘Reset Sorting’ button on top of the overview, can you click that and see if Draft posts are displayed on the overview? If so, can you try if you have that behavior on all your overview pages?

5 years, 2 months ago

Interesting. Yes, that worked.

I had them sorted by Slug. They’re now sorted by Title, and all are showing (published and draft).

If I click on the Slug header to sort by Slug, all the draft ones disappear.

Just for testing purposes, I added Slug to the posts overview page, and sorted by it. Drafts still showed up.


  • Effect is caused by sorting by Slug,
  • Only happens on Page list, not Posts list.
  • Is solved by using Reset Sorting.

Thanks for your help!

5 years, 2 months ago
Stefan van den Dungen Gronovius

Hi Bruce,

Thanks for for the clarification.
The reason that this is happening is that er we a subquery to get the base sorting order.
In this query we use the default post_statuses => any (all searchable statuses) to retrieve the posts.
We do have a hook where you can alter the post statuses to anything you like. Here’s an example to enable all post statuses for posts.

add_filter( 'acp/sorting/post_status', function ( $status, \ACP\Sorting\Strategy $strategy ) {
	if ( $strategy instanceof \ACP\Sorting\Strategy\Post ) {
		// Set all post_statuses for Post Sorting query
		$status = array( 'publish', 'pending', 'draft', 'future', 'private' );

	return $status;
}, 10, 2 );
5 years, 2 months ago

You must be logged in to reply to this topic.