WordPress OSINT, maintenance or security needs? Reach out!
TLDWP

Plugin: collapsing-pages (Used by 16 domains)

Collapsing Pages

👤 robfelty 📦 v2.0.3 🔗 Plugin Homepage

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)

    • Bug fixes
  • 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

Options

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

Examples

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

Demo

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)

DomainExposuresHeadersLast Checked
e*s*n*i*l*k*o*l*d*e.net D 2026-07-07 16:13:09
g*a*u*i*a.o*g.uy (WP 4.6.8) ⚠️ 👤 F 2026-07-06 05:34:52
e*r*o*m*r*h.com F 2026-07-03 21:08:19
m*r*o*e*s.c*.uk F 2026-07-03 17:39:53
d*u*d*r*e*.org F 2026-07-01 05:22:13
r*r*.c*.uk 📡 F 2026-06-30 07:19:54
l*r*i*g.com 👤 F 2026-06-29 20:29:29
p*e*r*i*h*l*.org (WP 6.9.4) F 2026-06-12 23:26:24
m*r*g*g*b*o*e*u*a.com 👤 F 2026-06-06 00:48:26
f*r*e*r*.com (WP 6.9.4) F 2026-06-01 22:56:10
i*s*a*r*m*r*-*a*a*.com (WP 4.6.29) ⚠️ F 2026-05-28 11:21:56
k*s*v*w*l*e*.com (WP 7.0) F 2026-05-23 21:08:09
c*t*o*i*-*e*s.bg (WP 2.9.2) ⚠️ 📡 F 2026-05-23 19:55:33
m*b*l*i*t*m.com F 2026-05-20 22:07:24
a*h*r*t*a*k*n*t*a*.com (WP 6.3.8) ⚠️ F 2026-05-17 15:46:11
r*v*e*i*g.com (WP 4.8.28) ⚠️ F 2026-05-13 11:11:18

Top 50 Plugins

Plugin Count
elementor 1,810,516
contact-form-7 1,799,344
elementor-pro 1,068,897
woocommerce 828,832
revslider 626,358
jetpack 470,836
js_composer 434,701
wp-rocket 343,674
essential-addons-for-elementor-lite 272,813
complianz-gdpr 268,074
gravityforms 261,067
cookie-law-info 237,046
instagram-feed 231,837
google-site-kit 230,144
sitepress-multilingual-cms 217,619
header-footer-elementor 213,640
google-analytics-for-wordpress 213,328
bluehost-wordpress-plugin 192,980
elementskit-lite 186,647
gutenberg 167,461
cookie-notice 156,268
gutenberg-core 152,794
litespeed-cache 139,267
wpforms-lite 130,810
gtranslate 128,889
the-events-calendar 126,976
astra-sites 120,340
popup-maker 114,515
woocommerce-payments 113,841
tablepress 103,883
honeypot 100,159
coblocks 98,761
astra-addon 96,634
wp-smushit 93,879
all-in-one-seo-pack 93,475
layerslider 92,727
duracelltomi-google-tag-manager 92,629
bb-plugin 88,397
premium-addons-for-elementor 87,342
akismet 86,889
cleantalk-spam-protect 85,100
mailchimp-for-wp 84,628
ml-slider 83,013
megamenu 82,658
woocommerce-gateway-stripe 82,107
fusion-builder 79,469
smart-slider-3 78,255
borlabs-cookie 77,874
ewww-image-optimizer 77,843
formidable 77,666

Top 50 Themes

Theme Count
hello-elementor 630,877
Divi 516,152
astra 429,649
flatsome 133,851
Avada 124,986
generatepress 119,447
pub 105,800
oceanwp 84,314
kadence 81,166
enfold 72,587
salient 67,309
twentyseventeen 56,139
twentytwentyfour 53,940
betheme 53,554
bb-theme 53,534
h4 52,635
blocksy 51,748
cocoon-master 51,216
dt-the7 46,872
twentytwentyfive 45,066
neve 39,715
Avada-Child-Theme 37,821
woodmart 36,976
gox 36,260
bridge 33,115
twentytwentyone 31,739
lightning 30,300
twentytwenty 29,744
swell 28,440
Impreza 26,787
bricks 26,556
Newspaper 24,630
twentytwentythree 23,482
twentytwentytwo 19,846
epik-redesign 19,722
uncode 19,279
twentysixteen 18,040
pro 17,817
sydney 17,113
storefront 16,895
Total 14,941
extendable 14,833
hello-theme-child-master 14,113
factory-templates-4 13,722
yith-wonder 13,409
themify-ultra 13,295
yootheme 13,082
hestia 12,981
porto 12,211
twentynineteen 12,029