Title: Admin Collapse Subpages
Author: bravokeyl
Published: <strong>2011 年 9 月 12 日</strong>
Last modified: 2019 年 7 月 9 日

---

搜尋外掛

![](https://ps.w.org/admin-collapse-subpages/assets/banner-772x250.jpg?rev=874408)

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/admin-collapse-subpages_e3e3e3.svg)

# Admin Collapse Subpages

 由 [bravokeyl](https://profiles.wordpress.org/bravokeyl/) 開發

[下載](https://downloads.wordpress.org/plugin/admin-collapse-subpages.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/admin-collapse-subpages/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/admin-collapse-subpages/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/admin-collapse-subpages/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/admin-collapse-subpages/#developers)

 [技術支援](https://wordpress.org/support/plugin/admin-collapse-subpages/)

## 外掛說明

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.

### Plugin in your Language

From version 2.3 our plugin supports internationalization, which means you can have
plugin in your specified language.

It’s currently available in US English ,UK English, Chinese, Telugu , Serbian.

### Support us by Translating

Go [here](https://translate.wordpress.org/projects/wp-plugins/admin-collapse-subpages)
and translate into your language.

### Special Thanks

We specially thank [Borisa Djuraskovic](http://www.webhostinghub.com/) for translating
this plugin in Serbian Language.

What’s new in Version 2.0 ?

1)Fix en-queuing of scripts .
 2)Expand all , Collapse all links appear only on 
the pages list not on every list (like plugins ,posts etc.,) 3)Updated jQuery.cookie.
js to 1.4.0

## 螢幕擷圖

[⌊Example Edit Page menu.⌉⌊Example Edit Page menu.⌉[

Example Edit Page menu.

[⌊Same menu with a group of subpages minimized.⌉⌊Same menu with a group of subpages
minimized.⌉[

Same menu with a group of subpages minimized.

[⌊Same menu completely minimized.⌉⌊Same menu completely minimized.⌉[

Same menu completely minimized.

[⌊Expand/collapse all buttons at the top of the page.⌉⌊Expand/collapse all buttons
at the top of the page.⌉[

Expand/collapse all buttons at the top of the page.

## 安裝方式

 1. Download, unzip, and upload the ‘admin-collapse-subpages’ folder along with all
    its files to the ‘/wp-content/plugins/” directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Visit your Pages admin page and notice the lovely +/- buttons.

## 常見問題集

  Why is there a delay after I use “Quick Edit”?

The WordPress Quick Edit functionality is a little buggy in my opinion. To make 
a long story short, this delay is so that WordPress can complete the edit(and any
possible parent changes) before refreshing the expand/collapse status.
 I’d recommend
not using Quick Edit to change parent/child pages at all. It often doesn’t refresh
any changed rows properly.

## 使用者評論

![](https://secure.gravatar.com/avatar/e2688e7df6b47ad8f906213acbf2f3a5c1b0d8d94262bc2802aded6283a70a22?
s=60&d=retro&r=g)

### 󠀁[Still working great in April 2024](https://wordpress.org/support/topic/still-working-great-in-april-2024/)󠁿

 [joshfg](https://profiles.wordpress.org/joshfg/) 2024 年 4 月 18 日

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>’; }

![](https://secure.gravatar.com/avatar/22fc0d7af0c5b242046e0cf45a686b7bb1cea67477ae83629c9d61ccaa318acf?
s=60&d=retro&r=g)

### 󠀁[Works Great – Mid-2022 v6.0](https://wordpress.org/support/topic/works-great-mid-2022-v6-0/)󠁿

 [bizwizkid](https://profiles.wordpress.org/bizwizkid/) 2022 年 6 月 24 日

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

![](https://secure.gravatar.com/avatar/c73adb77cc59fe54c3d2703e0feb0f6a49f2bd26e7c1c7f7f4997268f6ade04b?
s=60&d=retro&r=g)

### 󠀁[alt nicht aktualisiert funktioniert nicht](https://wordpress.org/support/topic/alt-nicht-aktualisiert-funktioniert-nicht/)󠁿

 [maxichz](https://profiles.wordpress.org/maxichz/) 2020 年 11 月 9 日

läuft nicht unter WP Version 5.5.3

![](https://secure.gravatar.com/avatar/b2ad5e2040be3540e50aebdd6bab9ae1ffa2bf5718ea66841e82e0b048e34ad2?
s=60&d=retro&r=g)

### 󠀁[Does exactly what it says on the tin !!](https://wordpress.org/support/topic/does-exactly-what-it-says-on-the-tin-100/)󠁿

 [ygirod](https://profiles.wordpress.org/ygirod/) 2019 年 9 月 9 日

Thanks a lot !

![](https://secure.gravatar.com/avatar/862b8df7b27c776f11f27892d49cc30f34f0acba1938b79a4772d677e4d4e9e8?
s=60&d=retro&r=g)

### 󠀁[very useful.](https://wordpress.org/support/topic/very-useful-1431/)󠁿

 [motherofdragons](https://profiles.wordpress.org/motherofdragons/) 2017 年 11 月
14 日 1 則留言

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!

![](https://secure.gravatar.com/avatar/662272e4597d2fb81f4508b6d2bb2e7d40b04b09aa0f83aa39dd445326bfb233?
s=60&d=retro&r=g)

### 󠀁[This plugin has solved a big problem for me](https://wordpress.org/support/topic/this-plugin-has-solved-a-big-problem-for-me/)󠁿

 [Ezz El Dean Hashish](https://profiles.wordpress.org/ezzeldean/) 2017 年 11 月 
6 日 1 則留言

I’m web developer and you helped me to manage more than 350 pages on my client website
very easily, thank you very much and I want to help you by translating this supplement
to Arabic if you want 🙂 And what about Donation button? I want to support you with
small amount 😉

 [ 閱讀全部 20 則使用者評論 ](https://wordpress.org/support/plugin/admin-collapse-subpages/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Admin Collapse Subpages〉的開發相關工作。

參與者

 *   [ bravokeyl ](https://profiles.wordpress.org/bravokeyl/)
 *   [ lupka ](https://profiles.wordpress.org/lupka/)

〈Admin Collapse Subpages〉外掛目前已有 2 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/admin-collapse-subpages/contributors)
為這個外掛做出的貢獻。

[將〈Admin Collapse Subpages〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/admin-collapse-subpages)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/admin-collapse-subpages/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/admin-collapse-subpages/)，或
透過 [RSS](https://plugins.trac.wordpress.org/log/admin-collapse-subpages/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/admin-collapse-subpages/)。

## 變更記錄

#### 2.4

** New

 * Added support for category pages

** Changed

 * Used localStorage instead of jquery.cookie
 * Used dashicons for plus/minus instead of images

#### 2.1

 * Added support custom post types which are hierarchical

#### 2.0

 * Fixed bug – Adding expand/collapse links to all list tables
 * Updated jquery.cookie.js to 1.4.0
 * Enhanced loading of scripts and styles

#### 1.0

 * Initial version of the plugin

## 中繼資料

 *  版本 **2.4**
 *  最後更新 **7 年前**
 *  啟用安裝數 **4,000+**
 *  WordPress 版本需求 ** 4.6 或更新版本 **
 *  已測試相容的 WordPress 版本 **5.2.24**
 *  語言
 * [English (US)](https://wordpress.org/plugins/admin-collapse-subpages/)、[Russian](https://ru.wordpress.org/plugins/admin-collapse-subpages/)、
   及 [Spanish (Chile)](https://cl.wordpress.org/plugins/admin-collapse-subpages/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/admin-collapse-subpages)
 * 標籤:
 * [admin](https://tw.wordpress.org/plugins/tags/admin/)[links](https://tw.wordpress.org/plugins/tags/links/)
   [page](https://tw.wordpress.org/plugins/tags/page/)[pages](https://tw.wordpress.org/plugins/tags/pages/)
   [post](https://tw.wordpress.org/plugins/tags/post/)
 *  [進階檢視](https://tw.wordpress.org/plugins/admin-collapse-subpages/advanced/)

## 評分

 4.9 星，滿分為 5 星

 *  [  19 個 5 星使用者評論     ](https://wordpress.org/support/plugin/admin-collapse-subpages/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/admin-collapse-subpages/reviews/?filter=4)
 *  [  1 個 3 星使用者評論     ](https://wordpress.org/support/plugin/admin-collapse-subpages/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/admin-collapse-subpages/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/admin-collapse-subpages/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/admin-collapse-subpages/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/admin-collapse-subpages/reviews/)

## 參與者

 *   [ bravokeyl ](https://profiles.wordpress.org/bravokeyl/)
 *   [ lupka ](https://profiles.wordpress.org/lupka/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/admin-collapse-subpages/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://bravokeyl.com/contact/)