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

Plugin: lightweight-accordion (Used by 221 domains)

Lightweight Accordion

👤 Andy Feliciotti 📦 v1.6.0 🔗 Plugin Homepage

Lightweight Accordion plugin for WordPress allows you to add collapse elements to posts using a Gutenberg block or a shortcode (via classic editor). By using the details HTML tag and a few lines of CSS this allows for a javascript-free accordion for minimum page load.

Extremely Lightweight (<1kb): Without using Javascript the plugin uses the native details HTML tag and a few lines of code for almost no impact on front-end.

Customizable: Options include customizing the HTML tag used for the accordion title, open by default, borders, colors, and accordion grouping (auto-close others when one opens).

Shortcode Usage examples

Here are a few examples of using the accordion plugin with shortcodes.

[lightweight-accordion title="My Accordion"]My Content[/lightweight-accordion]

Additionally you can display the accordion open on load with the accordion_open option.

[lightweight-accordion title="My Accordion" accordion_open=true]My Content[/lightweight-accordion]

You can also change the html tag wrapping the title of the accordion using the title_tag option.

[lightweight-accordion title="My Accordion" title_tag="h3"]My Content[/lightweight-accordion]

If you want to include FAQ schema you can add the schema option and set it to faq.

[lightweight-accordion title="What is your return policy?" schema="faq"]You have 1 week to return your items[/lightweight-accordion]

If you’d like put a border around the content of the accordion you can use the “bordered” attribute.

[lightweight-accordion title="Bordered Content" bordered=true]My Content[/lightweight-accordion]

If you want accordions to auto-close when another opens (exclusive accordion), use the “group” attribute with the same value on each accordion.

[lightweight-accordion title="Question 1" group="faq"]Answer 1[/lightweight-accordion]
[lightweight-accordion title="Question 2" group="faq"]Answer 2[/lightweight-accordion]
[lightweight-accordion title="Question 3" group="faq"]Answer 3[/lightweight-accordion]

Shortcode Options

Here is the full listing of shortcode options. Additionally all of these options are accessible when using the Gutenberg block.

  • title (Required Default: null) The title of your accordion will be displayed at the top for users to click. A good example would be to include a user’s question so they could click it for more details.
  • content (Required Default: null) Content that will go into your accordion element.
  • title_tag (Default: “span”) This sets the html tag that wraps the title in the accordion summary. Useful if you want to make it a heading tag for SEO purposes.
  • accordion_open (Default: false) Set this to true if you want your accordion to be open by default.
  • bordered (Default: false) Set this to true if you want a border around the accordion content.
  • title_text_color (Default: false) Set this to a hex value or CSS color to change the color of the accordion title text.
  • title_background_color (Default: false) Set this to a hex value or CSS color to change the color of the accordion title text.
  • schema (Default: false) Set this to faq if you’d like FAQ schema to be included.
  • class (Default: false) Used to add a custom class to the parent container of the accordion.
  • anchor (Default: null) Adds the value as an ID to the accordion div as an anchor.
  • autop (Default: true) By default the shortcode will wrap text in a ‘p’ tag. Set this to false if you’d like this disabled for the specific accordion.
  • group (Default: false) Set this to a group name to make accordions with the same group auto-close when another opens. Uses the native HTML details name attribute for zero JavaScript overhead.

Additional Details

If you’d like to remove the “lightweight-accordion.css” from being enqueued on your site use the filter below. It’s recommend you style the accordion yourself if you use this filter.

add_filter('lightweight_accordion_include_frontend_stylesheet', '__return_false' );

If you’d like to remove the “lightweight-accordion/editor-styles.css” from being enqueued in the admin area of your site you can use the filter below.

add_filter('lightweight_accordion_include_admin_stylesheet', '__return_false' );

If you’d like to remove processing of shortcodes in accordion content you can use this filter.

add_filter('lightweight_accordion_process_shortcodes', '__return_false' );

If you’d like to use inline Microdata for FAQ schema you can use this filter. (Not recommended)

add_filter('lightweight_accordion_output_microdata', '__return_true' );

If you’d like to force “lightweight-accordion.css” to load on all of your site you can use this filter. By default the plugin will detect if the block or shortcode is used and enqueue the CSS.

add_filter('lightweight_accordion_always_include_frontend_stylesheet', '__return_true' );
DomainExposuresHeadersLast Checked
1*i*s*e*-*r.com F 2026-05-08 01:26:33
1*i*-*r*n*i*a.com F 2026-05-08 01:26:33
o*-*e*a*d*o*e*s.com (WP 6.9.4) F 2026-05-08 00:54:24
g*c*i*i*a*m*r*e*i*g.com F 2026-05-07 23:55:11
m*n*t*.coop D 2026-05-07 15:26:32
j*b*.k*h.n*s.uk D 2026-05-07 04:58:25
b*s*e*m*d*a.de (WP 6.9.4) F 2026-05-07 04:17:21
s*p*r*s*i*l*.com (WP 6.9.4) F 2026-05-07 02:48:51
l*n*i*g.wiki (WP 6.9.4) F 2026-05-07 01:28:58
1*i*o*l*n*.es F 2026-05-06 23:26:34
b*y*e*h*i.com (WP 6.9.4) D 2026-05-06 19:54:33
l*g*l*1*3.com F 2026-05-06 19:32:56
v*l*u*w*.com (WP 6.5.8) C 2026-05-04 12:31:01
1*i*-*r*e*.com F 2026-05-04 08:50:04
m*i*s*a.app (WP 6.9.4) F 2026-05-04 05:32:07
s*r*h*i*l*n.com (WP 6.8.5) F 2026-05-04 03:58:11
s*c*e*s*u*l*-*o*c*e*.com (WP 6.9.4) F 2026-05-04 01:15:33
g*o*i*n*i*s*p*i*a*a*.com D 2026-05-03 18:47:45
h*u*e*o*t*k*p*e*n.de (WP 6.9.4) F 2026-05-03 14:26:19
h*u*b*o*-*a*p*l*.de (WP 6.9.4) F 2026-05-03 14:26:19
a*v*k*y*i.com (WP 6.9.4) F 2026-05-03 13:31:10
d*e*c*e*.de D 2026-05-03 09:41:14
1*i*-*l*b*e*.com F 2026-05-03 08:06:07
s*n*e*u*g*m*k*e*.com (WP 6.9.4) F 2026-05-03 06:09:44
p*r*o*a*m*v*r*.ca (WP 6.9.4) F 2026-05-03 05:19:01
p*s*o*p*o*h*t*r*e*t.com (WP 6.9.4) F 2026-05-02 23:35:09
m*v*e*l*s*a*p.com (WP 6.9.4) F 2026-05-02 20:30:50
m*v*r*m*r*e*i*g*r*w.com (WP 6.9.4) C 2026-05-02 19:14:44
1*i*-*u*k*j*t.es F 2026-05-02 17:35:07

Top 50 Plugins

Plugin Count
elementor 1,796,741
contact-form-7 1,766,546
elementor-pro 1,047,260
woocommerce 815,042
revslider 616,486
jetpack 466,278
js_composer 431,474
wp-rocket 333,316
essential-addons-for-elementor-lite 293,145
gravityforms 266,592
complianz-gdpr 255,931
cookie-law-info 230,628
instagram-feed 227,636
google-site-kit 221,594
sitepress-multilingual-cms 220,708
google-analytics-for-wordpress 213,613
header-footer-elementor 209,754
elementskit-lite 206,554
bluehost-wordpress-plugin 190,677
gutenberg 162,083
gutenberg-core 159,164
cookie-notice 150,869
the-events-calendar 131,142
litespeed-cache 130,431
wpforms-lite 129,343
gtranslate 127,652
astra-sites 119,407
popup-maker 115,819
woocommerce-payments 112,815
tablepress 108,825
coblocks 99,308
honeypot 97,125
astra-addon 95,116
wp-smushit 93,343
duracelltomi-google-tag-manager 93,328
all-in-one-seo-pack 93,096
LayerSlider 91,463
bb-plugin 90,683
premium-addons-for-elementor 86,707
megamenu 86,279
akismet 85,938
cleantalk-spam-protect 83,757
mailchimp-for-wp 83,585
woocommerce-gateway-stripe 82,978
ml-slider 80,826
fusion-builder 79,481
borlabs-cookie 79,231
ewww-image-optimizer 78,903
wp-pagenavi 78,615
formidable 77,926

Top 50 Themes

Theme Count
hello-elementor 614,199
Divi 509,746
astra 422,824
flatsome 132,849
Avada 124,112
generatepress 119,667
pub 109,731
oceanwp 83,251
kadence 78,264
enfold 71,684
salient 66,622
twentytwentyfour 58,741
h4 56,268
twentyseventeen 56,055
bb-theme 55,201
cocoon-master 52,071
betheme 51,693
blocksy 50,524
dt-the7 46,049
twentytwentyfive 43,672
neve 39,246
Avada-Child-Theme 37,532
gox 33,400
woodmart 33,232
bridge 32,813
twentytwentyone 32,058
lightning 31,414
twentytwenty 29,980
swell 28,566
Impreza 26,363
bricks 25,959
twentytwentythree 23,984
Newspaper 23,408
sydney 23,318
voxel 22,439
twentytwentytwo 19,960
epik-redesign 19,270
uncode 19,069
kubio 18,843
sinatra 18,674
twentysixteen 18,163
storefront 17,841
pro 17,833
Total 14,695
extendable 14,576
yith-wonder 14,035
hello-theme-child-master 13,314
themify-ultra 12,964
factory-templates-4 12,913
yootheme 12,910