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

Plugin: collapsing-categories (Used by 118 domains)

Collapsing Categories

👤 robfelty 📦 v3.0.12 🔗 Plugin Homepage

Collapsing Categories creates an expandable list of categories and
subcategories. It can also expand to show posts. The primary usage is as a
widget, but you can also use the code in your theme manually if you wish (see
installation instructions)

Options

Options can be set
from the block panel. If you wish to insert the code into your theme manually
instead of using a widget, you can use the following options. These options
can be given to the collapsCat() function either as an array or in query
style, in the same manner as the wp_list_categories function.

$defaults=array(
   'showPostCount' => true,
   'inExclude' => 'exclude',
   'inExcludeCats' => '',
   'showPosts' => true, 
   'showPages' => false,
   'linkToCat' => true,
   'olderThan' => 0,
   'excludeAll' => '0',
   'catSortOrder' => 'ASC',
   'catSort' => 'catName',
   'postSortOrder' => 'ASC',
   'postSort' => 'postTitle',
   'expand' => '0',
   'defaultExpand' => '',
   'postTitleLength' => 0,
   'accordion' => 0,
   'catfeed' => 'none',
   'taxonomy' => 'category',
   'showPostDate' => false,
   'postDateAppend' => 'after',
   'postDateFormat' => 'm/d',
   'useCookies' => true,
   'showTopLevel' => true,
   'postsBeforeCats' => false,
   'expandCatPost' => true,
   'debug'=>'0'
);
  • inExclude
    • Whether to include or exclude certain categories
      • ‘exclude’ (default)
      • ‘include’
  • inExcludeCats
    • The categories which should be included or excluded
  • showPages
    • Whether or not to include pages as well as posts. Default if false
  • linkToCat
    • 1 (true), clicking on a category title will link to the category archive (default)
    • 0 (false), clicking on a category title expands and collapses
  • catSort
    • How to sort the categorys. Possible values:
      • ‘catName’ the title of the category (default)
      • ‘catId’ the Id of the category
      • ‘catSlug’ the url of the category
      • ‘catCount’ the number of posts in the category
      • ‘catOrder’ custom order specified in the categorys settings
  • catSortOrder
    • Whether categories 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)
  • postSort
    • How to sort the posts. Possible values:
      • ‘postDate’ the date of the post (default)
      • ‘postId’ the Id of the post
      • ‘postTitle’ the title of the post
      • ‘postComment’ the number of comments on the post
      • ‘postOrder’ sort by menu order
  • postSortOrder
    • Whether post 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)
  • accordion
    • When set to true, expanding one category closes all others at that level
  • catfeed
    • Whether to add a link to the rss feed for a category. Possible values:
      • ‘none’ (default)
      • ‘text’ shows RSS
      • ‘image’ shows an RSS icon
  • taxonomy
    • Type of taxonmy to display. Possible values:
      • ‘category’ (default)
      • ‘link_category’
      • ‘post_tag’
      • ‘both’ (categories and tags)
      • any other registered taxononmy (e.g. recipe press uses recipe-categories)
  • showPostDate
    • When true, show the date of each post
  • postDateAppend
    • Show the date before or after the post title. Possible values:
      • ‘after’ (default)
      • ‘before’
  • postDateFormat
    • What format the post date is in. This uses the standard php date
      formatting codes
  • useCookies
    • When true, expanding and collapsing of categories is remembered for each
      visitor. When false, categories are always display collapsed (unless
      explicitly set to auto-expand). Possible values:

      • 1 (true) (default)
      • 0 (false)
  • showTopLevel
    • When set to false, the top level category will not be shown. This could
      be useful if you only want to show subcategories from one particular
      top-level category

      • 1 (true) (default)
      • 0 (false)
  • postsBeforeCats
    • When set to true, posts in category X will be ordered before
      subcategories of category X

      • 1 (true)
      • 0 (false) (default)
  • expandCatPost
    • When set to true, any category to which a post is assigned will
      automatically be expanded on a single post page.

      • 1 (true) (default)
      • 0 (false)
  • showEmptyCat
    • When set to true, empty categories are shown
      • 0 (false) (default)
      • 1 (true)
  • 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

collapsCat('catSort=ASC&expand=3&inExcludeCats=general,uncategorized')

This will produce a list with:
* categories shown in alphabetical order
* using images to mark collapsing and expanding
* exclude posts from the categories general and uncategorized

`

echo '

    ‘ . “\n”;
    if (function_exists(‘collapsCat’)) {
    collapsCat(array(
    ‘postSort’ => ‘postDate’,
    ‘postSortOrder’ => ‘DESC’,
    ) );
    } else {
    wp_get_categories(‘your_options_here’);
    }
    echo “

\n”;
?>
`

Demo

I use this plugin in my blog at http://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 categories will still work (which is the default
behavior in wordpress anyways)

DomainExposuresHeadersLast Checked
l*o*t*o*s*e*.ru (WP 5.3.21) ⚠️ F 2026-06-14 11:45:44
l*w*n*s*r*.com (WP 6.9.4) F 2026-06-14 00:15:56
d*c*.p*o*e*h.com (WP 5.1.19) ⚠️ F 2026-06-13 04:45:37
h*a*t*-*f*i*o*-*.s*o*s.ru D 2026-06-13 03:53:50
s*e*l*r*s.s*o*s.ru D 2026-06-13 03:53:50
s*o*s.ru D 2026-06-13 03:53:50
t*k*a*r*.w*e*l*.com (WP 4.0) ⚠️ F 2026-06-12 15:10:26
p*e*s*o*n*i*.o*g.za (WP 7.0) F 2026-06-12 12:58:10
s*d*l*t.nl (WP 6.9.4) F 2026-06-06 19:42:41
p*e*s*o*n*i*s*.o*g.za (WP 6.9.4) F 2026-06-03 17:22:52
t*c*i*o*g*i*o*a.es (WP 7.0) F 2026-06-03 17:19:30
m*e*v*l*e.com (WP 7.0) F 2026-06-03 03:32:19
f*e*y*i.fr (WP 6.9.4) F 2026-06-03 03:02:19
f*a*m*c*i*a*i*n.com F 2026-06-02 23:14:09
f*a*a*i*i*i*a*i*n.com F 2026-06-02 23:10:53
m*c*e*l*h*z*n*o*k*.com (WP 6.9.4) F 2026-06-02 13:20:21
m*c*a*l*u*o*k.com (WP 7.0) F 2026-06-02 10:47:57
f*r*u*a*r*.com (WP 7.0) F 2026-06-02 00:12:54
1*f*l*-*n*i*e.com F 2026-06-01 03:24:27
p*t*c*i*o*i*o.shop F 2026-05-31 17:02:27
g*s*r*w*b.at D 2026-05-31 16:11:49
f*m*a*e*t*r*s.es F 2026-05-31 13:15:13
p*e*o*l*i*t*o.com (WP 7.0) D 2026-05-31 02:03:36
w*a*r*e*p*o*.w*e*g*n*.com F 2026-05-30 17:27:22
t*e*o*c*i*g*o*l*c*m*a*y.com D 2026-05-30 14:35:43
a*t*a*h*n*y.com (WP 7.0) F 2026-05-30 10:05:50
r*t*d*y*n.com (WP 7.0) F 2026-05-29 23:38:01
r*t*-*a*a*.com (WP 7.0) F 2026-05-29 23:29:38
a*p*n*h*y*.lk (WP 7.0) F 2026-05-29 23:07:55
a*o*i*c*o*a*b*.com (WP 6.9.1) F 2026-05-29 16:18:59
a*d*o*i*a*t.fr (WP 6.9.4) F 2026-05-29 04:33:01
r*f*e*t*e*i*e.nl F 2026-05-28 19:57:20
m*e*r*e*l*b*n.de (WP 7.0) F 2026-05-28 13:07:50
v*e*c*m*a*d*r.com (WP 7.0) F 2026-05-28 06:25:37
f*r*a*d*n*p*r*.com (WP 7.0) 🔓 F 2026-05-28 04:57:09
b*y*-*o*e.net F 2026-05-27 18:03:37
b*l*t*n*k*k*t*k.hu C 2026-05-27 11:05:13
p*s*r*z*v*t.sk (WP 6.9.4) F 2026-05-27 10:15:22
h*w*o*e*r*t*o*a*t.com F 2026-05-27 08:06:31
c*m*e*d*u*.p*k*g*m.net (WP 7.0) D 2026-05-27 04:40:16
v*a*i*m*b*l*a*i*.com (WP 6.9.4) F 2026-05-27 03:59:47
i*g*e*e*e*v*a*g*a*o*i.com F 2026-05-27 00:54:18
i*g*e*e*e*t*r*s*o.com F 2026-05-27 00:54:18
s*t*s.t*m*l*.edu (WP 6.9.3) F 2026-05-26 20:12:36
m*m*h*t*g*a*h*.de (WP 7.0) F 2026-05-26 14:21:51
c*o*s*e*l*n*e*n*t*o*a*.info (WP 3.5.1) ⚠️ 📡 F 2026-05-26 11:26:46
d*l*v*l*e*.com (WP 6.9.4) F 2026-05-26 08:43:27
b*o*-*e*e*v*a*.org (WP 6.0.12) ⚠️ D 2026-05-26 06:49:23
i*i*g.com (WP 7.0) F 2026-05-26 00:21:07
s*r*u*-*n*w*e*.at F 2026-05-25 06:32:18
u*p*c*i*g*y*o*t*m*r*w*r.com (WP 7.0) F 2026-05-24 20:06:37
b*f*t*a*g*e*a*.com (WP 7.0) F 2026-05-24 13:58:29
s*u*d*y*i*t*n.com (WP 7.0) F 2026-05-24 10:35:18
p*w*r*a*l.com (WP 7.0) F 2026-05-24 10:27:33
c*u*w*i*i*g.de (WP 7.0) F 2026-05-23 20:18:45
m*n*t*l*.com F 2026-05-23 16:55:40
g*t*p.c*.il F 2026-05-23 11:55:10
l*r*s*e*.c*.il F 2026-05-23 11:55:09
r*t*d*y*n.c*.il C 2026-05-23 11:55:09
b*o*.r*t*d*y*n.c*.il (WP 6.9.4) F 2026-05-23 11:55:09
e*n*e*t*l*t*-*a*n*n.ch (WP 7.0) F 2026-05-22 23:01:13
d*b*a*l*n*.com (WP 6.9.1) F 2026-05-22 14:50:22
t*u*a*o*i.com F 2026-05-22 09:59:12
a*y*x*u*e*o*r*v*l.com (WP 7.0) F 2026-05-22 06:45:08
a*o*i*c*o*a*b*.es (WP 6.9.1) F 2026-05-21 15:07:10
d*a*e*e*h*a*t*y*o*u*i*n*.com (WP 6.9.4) C 2026-05-21 14:24:11
a*p*.lk (WP 7.0) F 2026-05-21 06:42:11
o*-*-*e*.com (WP 6.9.4) F 2026-05-21 04:25:24
l*g*l*l*g.ie F 2026-05-20 22:55:50
e*a*t*a*v*l*e*.com (WP 6.9.4) F 2026-05-20 10:29:40
r*g*l*t*o*s.com 📡 F 2026-05-19 07:46:19
d*l*a*r*o*t*o*s.com (WP 6.9.4) F 2026-05-19 01:50:58
r*d*t*r*f*r*.com F 2026-05-18 20:34:31
b*l*v*n*l*i*c*r.com (WP 6.9.4) F 2026-05-18 11:52:18
d*l*a*m*n*.com F 2026-05-18 03:25:30
h*w*l*p*p*r*b*s*.com F 2026-05-17 06:00:16
g*t*c*e*n*e*.at D 2026-05-17 03:58:57
j*n*i*e*.com F 2026-05-17 00:47:28
e*p*c*s*o*p*i*e*.com (WP 5.2.4) ⚠️ 🔓 F 2026-05-16 22:40:09
r*v*o*l*c*i*n*.com (WP 6.9.4) F 2026-05-16 22:12:24
n*-*a.c*m.ua (WP 5.8.1) ⚠️ F 2026-05-15 08:44:06
e*k*w.com (WP 6.9.4) F 2026-05-15 04:10:22
b*a*k*n*d*o*t*.com (WP 6.9.1) F 2026-05-14 23:43:27
b*z*o*x.com (WP 6.9.4) F 2026-05-14 12:03:59
c*o*s*e*l.com (WP 3.5.1) ⚠️ F 2026-05-14 09:48:22
e*g*i*h*e*t*n*e*.com (WP 5.3.2) ⚠️ F 2026-05-13 22:16:40
j*h*p*i*s*n.com F 2026-05-13 21:14:41
p*a*e*a*o*k*e.es (WP 5.6.17) ⚠️ F 2026-05-13 12:51:44
j*b*c*p*.com F 2026-05-13 07:02:46
s*i*h*i*g*e*b*v*n*e*d*l*t.nl (WP 6.9.4) F 2026-05-13 02:26:54
t*e*o*c*p*a*t*l*g.com (WP 6.9.4) F 2026-05-12 22:47:40
n*t*r*b*o*e*t*l*p*o.com (WP 6.9) F 2026-05-12 22:18:09
h*i*a*t*e*d*c*r*e*.nl (WP 6.9.4) F 2026-05-12 13:03:03
i*v*s*o*c*p*.blog (WP 6.9.4) F 2026-05-12 10:49:45
h*c*r*m*.org (WP 6.9.4) F 2026-05-11 14:18:07
p*r*f*r*u*e.com (WP 6.9.4) F 2026-05-11 06:40:40
p*e*j*i*l*m*.com F 2026-05-11 05:03:43
g*f*t*k*.com F 2026-05-11 01:23:27
a*s*t*l*o*a*i*n.ru (WP 4.4.33) ⚠️ F 2026-05-10 20:32:02
m*g*s*h*s*t*e*t*r.com (WP 6.9.4) F 2026-05-10 06:04:31

Top 50 Plugins

Plugin Count
elementor 1,845,026
contact-form-7 1,814,379
elementor-pro 1,074,639
woocommerce 834,328
revslider 631,057
jetpack 474,701
js_composer 442,043
wp-rocket 343,148
essential-addons-for-elementor-lite 303,315
gravityforms 291,645
complianz-gdpr 264,632
cookie-law-info 238,008
instagram-feed 233,160
google-site-kit 227,086
sitepress-multilingual-cms 226,612
google-analytics-for-wordpress 218,275
header-footer-elementor 214,731
elementskit-lite 214,055
bluehost-wordpress-plugin 191,979
gutenberg 165,128
gutenberg-core 163,247
cookie-notice 156,862
litespeed-cache 137,160
the-events-calendar 135,646
wpforms-lite 131,895
gtranslate 131,059
astra-sites 121,430
popup-maker 118,674
woocommerce-payments 114,788
tablepress 113,253
coblocks 101,881
honeypot 100,128
astra-addon 97,326
duracelltomi-google-tag-manager 96,036
wp-smushit 95,656
all-in-one-seo-pack 95,213
LayerSlider 93,578
bb-plugin 92,205
megamenu 89,033
premium-addons-for-elementor 88,891
akismet 87,453
mailchimp-for-wp 85,480
cleantalk-spam-protect 85,280
woocommerce-gateway-stripe 84,759
ml-slider 83,225
borlabs-cookie 82,106
fusion-builder 81,492
wp-pagenavi 81,138
ewww-image-optimizer 80,807
smart-slider-3 79,595

Top 50 Themes

Theme Count
hello-elementor 631,095
Divi 521,797
astra 432,703
flatsome 142,108
Avada 127,084
generatepress 125,483
pub 112,409
oceanwp 85,449
kadence 80,767
twentytwentyfour 80,280
enfold 73,503
salient 68,110
h4 57,690
twentyseventeen 57,578
bb-theme 56,107
betheme 53,173
cocoon-master 52,483
blocksy 52,231
dt-the7 47,224
twentytwentyfive 45,213
sydney 42,519
neve 40,452
Avada-Child-Theme 38,420
woodmart 34,046
gox 34,021
bridge 33,548
twentytwentyone 32,826
lightning 31,937
twentytwenty 30,760
swell 28,919
Impreza 27,210
bricks 26,663
voxel 25,694
twentytwentythree 24,488
Newspaper 24,266
sinatra 22,661
kubio 21,620
twentytwentytwo 20,266
uncode 19,571
epik-redesign 19,281
twentysixteen 18,733
storefront 18,307
pro 18,094
Total 15,054
extendable 14,875
yith-wonder 14,120
hello-theme-child-master 13,717
themify-ultra 13,308
yootheme 13,284
hestia 13,196