Using this plugin one can easily collapse/expand pages with children and grand children.
As of April 2026, Admin Collapse Subpages is a WordPress page plugin with 4.0K+ active installations and a 4.9/5 rating from 20 reviews. It has been downloaded 47K+ times in total. Requires WordPress 4.6+ and PHP false+. Available on WordPress.org since 2011. Last updated 6 years ago — may have compatibility concerns. Downloads are down 25% this week. Top alternative: Post Type Switcher.
Simple plugin that allows you to collapse subpages in the Pages admin list also for custom post types that are heirarchial. Especially helpful if you have a ton of pages /cpt’s with heiararchial set to true. It uses a cookie to save the expand/collapse status of your pages.
This is loosely based on Collapse Sub-Pages by Dan Dietz, which broke with the 3.0 upgrade due to UI changes and hasn’t been updated. I’ve had to rewrite the jQuery to make it work with 3.x versions.
Because this is a jQuery, it’s possible that they could make additional changes that would break it. I’ll do my best to stay on top of it, but let me know if it stops working.
From version 2.3 our plugin supports internationalization, which means you can have plugin in…
Works without any issues for me in WordPress 6.4.4
I added some custom backend CSS (via the Code Snippets plugin) to style it with the eye/visibility icons and semi opaque descriptions for a more intuitive user-experience:
add_action('admin_head', 'custom_admin_css');
function custom_admin_css() {
echo '<style>
/*-------/ Plugin: Admin Collapse Subpages /-------*/
body.wp-admin .column-primary .expand_link a:before {content: "\f530"; opacity: 0.85;}
body.wp-admin .column-primary .expand_link a.minus:before {content: "\f177"; opacity: 0.3;}
body.wp-admin .column-primary .expand_link a:after {
content: "Subpages hidden";
position: absolute;
font-family: sans-serif;
font-size: 10px;
height: 12px;
opacity: 0.85;
margin: 3px 0 0 5px;}
body.wp-admin .column-primary .expand_link a.minus:after {content: "Click to hide subpages"; opacity: 0.3;}
body.wp-admin .column-primary .expand_link a:hover:before,body.wp-admin .column-primary .expand_link a:hover:after {opacity: 1;}
body.wp-admin .column-primary .expand_link a.minus:hover:before,body.wp-admin .column-primary .expand_link a.minus:hover:after {opacity: 0.6;}
</style>';
}I’m using this plugin and it’s a godsend.
Just install and view your Pages section in your backend Administration area.
You can expand/collapse all, or click on individual page headings and the usual menu of all the sub-pages below expand.
I’m using v6.0
+1
läuft nicht unter WP Version 5.5.3
Thanks a lot !
I am managing taxonomy ‘brand’ and page with this plugin.
for taxonomy terms,I added a new line JS file,the code like:jQuery(‘.acs-hier.taxonomy-brand .actions’).append(catLinks);
also I change some Style on parent element or son element,such as background-color,border,font-size,display:none,etc
the code like: jQuery(this).addClass(‘has-sub’)
little change, more effect.
save much time for me.
thanks!
| WordPress | 4.6+ requiredTested up to 5.2.24 |
| PHP | false+ required |
** New
** Changed
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.