🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Conta Get it free
Collapsing Pages icon
Possivelmente abandonado Tested up to 6.4.15

Collapsing Pages

This is a very simple plugin that uses Javascript to form a collapsable set of links in the sidebar for the pages. Every page corresponding to a given parent page will be expanded.

Instalações ativas200+100+ nível
Downloads · 30d182▲ +56.9% vs prev. 30d
Classificação—0 comentários
Pontuação da saúde26/100Em risco
Downloads de todos os tempos42.5KSince Apr 2008
Suporte resolvido—Sem tópicos recentes
RequerWP 5.0Php qualquer
Downloads · 7d42▼ -8.7% week over week
Nosso veredicto

Considere uma alternativa

Collapsing Pages shows warning signs in 2026 — compare the alternatives below before installing. It runs on 200+ sites and was last updated 3 years ago, and scores 26/100 on our health check.

  • Pequena base de usuários (mais de 200 instalações ativas)
  • Muito poucos comentários até agora
  • Nenhuma atualização em 2 anos
  • Testado apenas até WordPress 6.4 (mais recente é 7.1)

Como ele se acumula?

Lado a lado em instalações, atualizações, avaliações e suporte

Downloads diários

4812Sep 1Oct 15Nov 29
Ontem3
Média diária (1y)4
Dia de pico99Aug 14, 2026
Últimos 12 meses1.5K

Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.

Rankings

Where Collapsing Pages stands today

WordPress.org Classificações de pesquisa

Posição ao vivo na pesquisa de plugins, top 100
Palavra chavePosiçãoPlugins concorrentesCategoria
cardápio >100 10,000 Melhores plugins de menu →
navigation >100 7,095 Best navigation plugins →
pages >100 10,000 Best pages plugins →
sidebar >100 10,000 Best sidebar plugins →
widget >100 10,000 Best widget plugins →

Adoção da versão

Compartilhamento de sites ativos por lançamento.

  • 2.048.1%
  • 1.027.9%
  • 0.624.0%

About Collapsing Pages

Do Readme oficial · v2.0.3

Descrição

This is a very simple plugin that uses Javascript to form a collapsable set of
links in the sidebar for the pages. Every page corresponding to a given
parent page will be expanded.

It is largely based off of my Collapsing Pages and Collapsing Pages
plugins.

What’s new?

  • 2.0.3 (2024.01.01)

    • Fixed issue with subsubpages not closing correctly
    • Got rid of some more warnings
    • Tested with 6.4.2
  • 2.0.2 (2023.12.01)

    • Got rid of some warnings
    • Updated deprecated property __experimentalGroup
    • Tested with 6.4.1
  • 2.0.1 (2023.06.16)

    • Correções de bugs
  • 2.0.0 (2023.03.17)

    • Updated to use Gutenberg block
  • 1.0.1 (2016.05.09)

    • Fixed bug where sometimes setting accordion to false broke javascript
  • 1.0 (2015.08.12)

    • Compatible with WordPress 4.3
    • Fixed bug where expanding symbol showed up at lowest depth specified instead
      (thanks to tkibler for pointing it out)
    • Added option to only display pages of the current subpage
    • Added option to show top-level page (previously it was always shown)
    • Added accordion style option
    • Cleaned up widget settings
    • improved style management, including the ability to specify style per widget
    • Switched from unicode symbols to html entities
    • Not showing tags for title if empty
    • Fixed bug with title attribute of pages
    • Totally rewrote javascript

Opções

If using the manual version, you can pass options either as an array, or using
the query style, just like for other wordpress functions such as
wp_list_pages

  $defaults=array(
    'title' => __('Pages', 'collapsing-pages'), 
    'sortOrder'=> 'ASC' ,
    'sort'=> 'pageName' ,
    'defaultExpand'=> '',
    'expand' => 0,
    'depth' =>-1,
    'inExcludePage' => 'exclude',
    'linkToPage' => true,
    'inExcludePages' => '',
    'showPosts' => false,
    'animate' => 0,
    'useCookies' => true,
    'postTitleLength' => 0,
    'showTopLevel' => true,
    'currentPageOnly' => false,
    'debug' => false,
  );
  • inExcludePage
    • Whether to include or exclude certain pages
      • ‘exclude’ (default)
      • ‘include’
  • inExcludePages
    • The pages which should be included or excluded
  • showPosts
    • Whether or not to include posts as well as pages. Default if false
  • linkToPage
    • True, clicking on a parent page title will link to that page (default)
    • False, clicking on a parent page will expand to show sub-pages
  • sort
    • How to sort the pages. Possible values:
      • ‘pageName’ the title of the page (default)
      • ‘pageId’ the Id of the page
      • ‘pageSlug’ the url of the page
      • ‘menuOrder’ custom order specified in the pages settings
  • sortOrder
    • Whether pages should be sorted in normal or reverse
      order. Possible values:

      • ‘ASC’ normal order (a-z 0-9) (default)
      • ‘DESC’ reverse order (z-a 9-0)
  • expand
    • The symbols to be used to mark expanding and collapsing. Possible values:
      • ‘0’ Triangles (default)
      • ‘1’ + –
      • ‘2’ [+] [-]
      • ‘3’ images (you can upload your own if you wish)
      • ‘4’ custom symbols
  • customExpand
    • If you have selected ‘4’ for the expand option, this character will be
      used to mark expandable link categories
  • customCollapse
    • If you have selected ‘4’ for the expand option, this character will be
      used to mark collapsible link categories
  • postTitleLength
    • Truncate post titles to this number of characters (default: 0 = don’t
      truncate)
  • animate
    • When set to true, collapsing and expanding will be animated
  • useCookies
    • When true, expanding and collapsing of pages is remembered for each
      visitor. When false, pages are always display collapsed (unless
      explicitly set to auto-expand). Possible values:

      • true (default)
      • false
  • showTopLevel
    • True – show top level pages (default)
    • False – only display sub-pages and below
  • currentPageOnly
    • True – show only parent and sub pages of the current page
    • False – show all pages (subject to the include or exclude parameters
      set) (default)
  • debug
    • When set to true, extra debugging information will be displayed in the
      underlying code of your page (but not visible from the browser). Use
      this option if you are having problems

Exemplos

collapsPage('animate=true&sort=ASC&expand=3,inExcludePages=about')

This will produce a list with:
* animation on
* shown in alphabetical order
* using images to mark collapsing and expanding
* exclude page about

Programa demonstrativo

I use this plugin in my blog at http://blog.robfelty.com

CAVEAT

Currently this plugin relies on Javascript to expand and collapse the links.
If a user’s browser doesn’t support javascript they won’t see the links to the
posts, but the links to the pages will still work (which is the default
behavior in wordpress anyways)

Instalação

IMPORTANT!
Please deactivate before upgrading, then re-activate the plugin.

MANUAL INSTALLATION
(the only option for pre 2.3 wordpress, unless you have the widget plugin installed)

Unpackage contents to wp-content/plugins/ so that the files are in
a collapsPage directory. Now enable the plugin. To use the plugin,
change the following where appropriate (most likely sidebar.php):

<ul>
     <?php wp_list_pages(...); ?>
</ul>

To something of the following:

    <?php
  echo "<ul>\n";
      if( function_exists('collapsPage') ) {
      collapsPage();
    } else {
      wp_list_pages(...);
    }
  echo "</ul>\n";
    ?>

You can specify options if you wish. See the options section.

The above will fall back to the WP function for pages if you disable
the plugin.

WIDGET INSTALLATION

For those who have widget capabilities, (default in WordPress 2.3+), installation is easier.

Unzip contents to wp-content/plugins/ so that the files are in a
collapsing-pages directory. You must enable the Collapsing Pages plugin, then
simply go the Presentation > Widgets section and add the Collapsing Pages
Widget.

Log de Changes

1.0.1 (2016.05.09)

  • Fixed bug where sometimes setting accordion to false broke javascript

1.0 (2015.08.12)

  • Compatible with WordPress 4.3
  • Fixed bug where expanding symbol showed up at lowest depth specified instead
    (thanks to tkibler for pointing it out)
  • Added option to only display pages of the current subpage
  • Added option to show top-level page (previously it was always shown)
  • Added accordion style option
  • Cleaned up widget settings
  • improved style management, including the ability to specify style per widget
  • Switched from unicode symbols to html entities
  • Not showing tags for title if empty
  • Fixed bug with title attribute of pages
  • Totally rewrote javascript

0.6.1 (2010.06.21)

  • Removed extraneous debugging info (subpagecount=)

0.6 (2010.06.18)

  • Fixed html validation bug when linkToPage is false (thanks to
    levente.csabai)
  • fixed html parsing error in widget (thanks to vbonline)’

0.5.3 (2010.01.28)

  • Restricted settings page to authorized users
  • Fixed bug with manual usage
  • Fixed bug with selecting “show posts as well as pages option”
  • Fixed bug with wrong page id assigned to self class
  • Switched from scriptaculous to jquery. No longer conflicts with plugins
    which use mootools (e.g. featured content gallery)

0.5.2 (2009.07.19)

  • Added advanced options section in configuration
  • Added option to remember expanding and collapsing for each visitor
    (using cookies)
  • Now issuing a correct id for each ul when using widgets
  • Small change in manual installation

Registro de change completo em WordPress.org →

Capturas de tela

a few expanded pages with default theme, showing nested pages
a few expanded pages with default theme, showing nested pages
a few expanded pages with default theme, showing drop down version
a few expanded pages with default theme, showing drop down version

Para desenvolvedores

Este é o seu plugin? Mostre os números.

Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.

Selo de Instalações Ativas Selo de classificação Distintivo de pontuação de saúde

Best Collapsing Pages alternatives

All menu plugins →
Alternativas
Classificação Plugin Instalações ativas Classificação Atualizada Saúde
1 Editor de menu de administrador Editor de menu de administrador Permite editar o menu de administrador WordPress. Você pode reordenar, ocultar ou renomear menus, adicionar… por Janis Elsts 300K+ ★★★★★★★★★★ 4.6 (312) 2 semanas atrás 80
2 Max Mega Menu Max Mega Menu An easy to use mega menu plugin. Written the WordPress way. by megamenu 300K+ ★★★★★★★★★★ 4.8 (884) 6 dias atrás 88
3 Menu Image, Icons made easy Menu Image, Icons made easy Adds an image or icon in the menu items. You can choose the position of the image (after… by Rui Guerreiro 100K+ ★★★★★★★★★★ 4.5 (123) 1 ano atrás 39
4 Duplicate Menu Duplicate Menu Easily duplicate your WordPress menus with one click. Por Jon Christopher 100K+ ★★★★★★★★★★ 4.6 (104) 11 meses atrás 62
5 User Menus – Nav Menu Visibility User Menus – Nav Menu Visibility Show/hide menu items to logged in users, logged out users or specific user roles. Display… Por Daniel Is 70K+ ★★★★★★★★★★ 5 (1.3K) 3 meses atrás 76
6 Menu Cart for WooCommerce Menu Cart for WooCommerce Automatically displays a shopping cart in your menu bar. Works with WooCommerce and Easy… by WP Overnight 70K+ ★★★★★★★★★★ 4.6 (99) 2 semanas atrás 78
7 WP Mobile Menu – The Mobile-Friendly Responsive Menu WP Mobile Menu – The Mobile-Friendly Responsive Menu Need some help with the mobile website experience? Need an Mobile Menu plugin that keep… by Rui Guerreiro 70K+ ★★★★★★★★★★ 4.7 (256) 3 semanas atrás 79
8 Nav Menu Roles Nav Menu Roles Hide custom menu items based on user roles. by HelgaTheViking 70K+ ★★★★★★★★★★ 4.9 (219) 1 mês atrás 95
9 Menus condicionais Menus condicionais Este plugin permite que você defina menus condicionais por postagens, páginas, categorias, arquivos… por ThemifyMe 60K+ ★★★★★★★★★★ 4.4 (71) 4 meses atrás 62
10 Gum Addon for Elementor Gum Addon for Elementor Offers inbuilt widgets for elementor that help to create design more attractive by Atawai 50K+ ★★★★★★★★★★ Sem comentários 3 meses atrás 64

FAQ

Collapsing Pages: quick answers

Respostas diretas, extraídas de dados ao vivo WordPress.org.

Fonte: WordPress.org

Is Collapsing Pages free?

Yes. Collapsing Pages is free to download and use from the official WordPress.org plugin directory.

Is Collapsing Pages safe to use in 2026?

Collapsing Pages shows warning signs in 2026 — compare the alternatives below before installing. It runs on 200+ sites and was last updated 3 years ago, and scores 26/100 on our health check.

How many websites use Collapsing Pages?

Collapsing Pages is active on 200+ WordPress websites and has been downloaded 42,456 times since it launched in April 2008. It was downloaded 182 times in the last 30 days.

Does Collapsing Pages work with WordPress 7.1?

Collapsing Pages is officially tested up to WordPress 6.4.15, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was Collapsing Pages last updated?

The latest version, 2.0.3, was released on January 1, 2024 (3 years ago).

Who makes Collapsing Pages?

Collapsing Pages is developed and maintained by robfelty.

What are the best alternatives to Collapsing Pages?

The most popular alternatives to Collapsing Pages are Admin Menu Editor (300K+ installs), Max Mega Menu (300K+ installs) and Menu Image, Icons made easy (100K+ installs).

Alimentado por PageForge

Um modelo e uma planilha. Uma página real para cada pesquisa.

PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.

  • CSV e XLSX, mais Google Sheets em Profissional e Empresarial
  • Seu próprio título, URL, SEO campos e esquema para cada página
  • Funciona com o editor de blocos, Elementor, Divi e Avada
  • Gratuito em WordPress.org, sem cartão de crédito

↑↓ mover↵ abrir