Filter Admin Published Default

Description

Enables all public post types in wp-admin to show the Published filter by default: posts, pages, and any custom post type with a public URL. Those are the post types where the distinction actually matters, the ones with a front end, where you want to see at a glance what is live and what is not.

This came out of a real need. Some clients of mine had so many drafts and pre-scheduled posts that the published ones were pushed off the first page entirely, and finding a live post meant paginating through drafts to get to it. I got tired of the extra click to filter by published every single time.

Usage

Once activated you don’t need to do anything.

Installation

Installing “Filter Admin Published Default” can be done either by searching for “Filter Admin Published Default” via the “Plugins > Add New” screen in your WordPress dashboard, or by using the following steps:

  1. Download the plugin via https://wordpress.org/plugins/filter-admin-published-default/
  2. Upload the ZIP file through the ‘Plugins > Add New > Upload’ screen in your WordPress dashboard
  3. Activate the plugin through the ‘Plugins’ menu in WordPress

FAQ

  1. How does it work? Just install, activate, and you’re good!

Reviews

June 24, 2024
It becomes difficult to find it in the plugin manager directly from wordpress, we have to use your dev name to find it.. but since many years there no website I make without installing this plugin ! it should be already a functionality native in wordpress. Works perfectly all the time. Many thanks !
July 11, 2021 1 reply
This is a Admin plugin to display published posts (pages, posts, products) by default. To see all you need to select ALL. I test POSTS and PAGES and (woo) PRODUCTS and it works. Still working with WP 5.7.2 This is great when you’ve imported a theme with lots of sample pages. I set them all to Pending Review to keep them out of my way while I build a site.
November 12, 2018
install and activate – pages default is now published. sweet. many thanks from vegan eating hummus update: Mac, wp 4.9.8 – Dashboard > At a Glance > xx Pages || The list will still default to All. But no biggie – plugin kicks in using sidebar Pages/All Pages links.
September 3, 2016
Perfect, and works. I have a so many “drafts” on every site I do, so it’s nice not to have to “turn them off” each time. Exactly what I needed.
Read all 7 reviews

Contributors & Developers

“Filter Admin Published Default” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

2.1.0

  • Fixed a fatal error. The chuck_admin_publish_link_types filter is public, and a callback returning a non-string post type reached rawurlencode(), which throws a TypeError on PHP 8 and took down every admin page with a white screen. Filter output is now validated before use.
  • The “All items” link is now located by matching its URL instead of assuming submenu index 5. Index 5 is core’s convention, not a contract, so a plugin that reorders the submenu could previously cause the wrong link to be rewritten.
  • A link another plugin has already repointed is now left alone instead of being overwritten.
  • Added the Requires PHP header to the plugin and readme.

2.0.2

  • Tested up to WordPress 7.1
  • Fixed: post types that are public but hidden from the admin menu no longer get a malformed submenu entry fabricated for them. Writing to a menu key WordPress never registered created an item with no title and no capability, which polluted the global admin menu for anything that walks it.

2.0.1

  • Fix URL escaping to use rawurlencode() instead of esc_attr()
  • Strengthen direct access guard with ABSPATH check
  • Remove redundant empty check

2.0.0

  • 2026-03-09
  • Tested and compatible with WordPress 6.9.1
  • Requires WordPress 5.2+
  • Fixed: chuck_admin_publish_link_types filter now applies even when no custom post types are registered
  • Removed redundant type-casting code
  • Code cleanup and modernization

1.3

  • 2017-11-14
  • tested to wp 4.9

1.2

  • 2017-09-02
  • tested to wp 4.8.1
  • clarify plugin descriptions
  • secured against any direct plugin file access

1.1

  • 2015-04-25
  • tested to wp 4.2

1.0.1

  • 2014-09-25
  • Expanded to include all public post types excluding attachments (media)
  • Adds chuck_admin_publish_link_types filter to add / remove types

1.0

  • 2014-07-28
  • Initial release after twitter conversation: https://twitter.com/ChuckReynolds/status/493933761851965443