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

Plugin: luckywp-table-of-contents (Used by 4,305 domains)

LuckyWP Table of Contents

👤 LuckyWP 📦 v2.1.14 🔗 Plugin Homepage

Creates SEO-friendly table of contents for your posts, pages or custom post types. Great customizable appearance.

Features

  • Automatical insertion a table of contents (configure post types and position).
  • SEO-friendly: table of contents code is ready to use by Google for snippets on result page.
  • Insert by shortcode, Gutenberg block or widget.
  • Button on toolbar of the classic editor.
  • Gutenberg block into “Common Blocks”.
  • Setting the minimum number of headings to display table of contents.
  • Setting the depth of headings for table of contents.
  • Skip headings by level or text.
  • Hierarchical or linear view.
  • Numeration items: decimal or roman numbers in order or nested.
  • Customizable appearance: width, float, title font size and weight, items font size, colors.
  • Color schemes (dark, light, white, transparent, inherit from theme) and the ability to override colors.
  • Toggle Show/Hide (optionally)
  • Customizable labels.
  • Smooth scroll (optionally).
  • Setting offset top for smooth scroll.
  • Wrap table of contents with tag (optionally).
  • Pretty hash in URL (like example.com/faq/#how_do_this).
  • RTL support.
  • Available override global settings for a particular post.
  • Highly compatible with WordPress themes and plugins.

Auto Insert

For automatical insertion a table of contents in a posts, select option “Auto Insert Table of Contents” in the plugin settings (tab “Auto Insert”).

Supported positions:

  • before first heading;
  • after first heading;
  • after first block (paragraph or heading);
  • top of post content;
  • bottom of post content.

You can also select post types to which the table of contents will be automatically added.

Manual Insert

For manual insertion a table of content in a posts, use one of the ways:

  • button “Table of Contents” on toolbar in classic editor;
  • gutenberg block “Table of Contents”;
  • shortcode [lwptoc].

Pretty hash in URL

By default, hash generated as heading text (for example, #How_Do_This). You can change hash format in global settings, tab “Misc.”.

For non-English websites it is recommended to enable the Intl PHP extension.

Compatibility

LuckyWP Table of Contents was successfully tested with the following plugins:

  • Elementor Page Builder
  • Beaver Builder and Beaver Builder Themer Add-On
  • WPBakery Page Builder
  • Oxygen
  • WordPress Multilingual Plugin (WPML), officially confirmed
  • Rank Math, officially confirmed
  • WP Rocket
  • Toolset Views and Toolset Access

Hooks

Filters lwptoc_before, lwptoc_after

Use for add custom HTML before/after the table of contents.

Example:

add_filter('lwptoc_before', function ($before) {
    return '

Example text before TOC.

' . $before; });

Filter lwptoc_shortcode_tag

Use this filter for change shortcode tag name [lwptoc].

Example:

add_filter('lwptoc_shortcode_tag', function ($tag) {
    return 'toc';
});

Filter lwptoc_heading_id

Use for modify heading ID.

Example:

add_filter('lwptoc_heading_id', function ($id, $label) {
    return $id;
}, 10, 2);
DomainExposuresHeadersLast Checked
No results for this page.

Top 50 Plugins

Plugin Count
elementor 1,952,883
contact-form-7 1,834,236
elementor-pro 1,115,090
woocommerce 905,543
revslider 669,564
jetpack 455,323
js_composer 451,579
wp-rocket 337,578
essential-addons-for-elementor-lite 302,217
gravityforms 260,848
header-footer-elementor 241,647
complianz-gdpr 237,217
instagram-feed 235,352
google-analytics-for-wordpress 230,220
gutenberg-core 227,821
elementskit-lite 226,777
cookie-law-info 226,293
google-site-kit 225,450
sitepress-multilingual-cms 210,080
bluehost-wordpress-plugin 201,331
wpforms-lite 161,792
astra-sites 154,513
gutenberg 153,690
litespeed-cache 142,755
cookie-notice 134,730
gtranslate 132,470
coblocks 125,426
the-events-calendar 124,415
popup-maker 117,182
woocommerce-payments 99,929
astra-addon 99,208
tablepress 99,084
bb-plugin 98,816
LayerSlider 97,311
wp-smushit 96,651
premium-addons-for-elementor 94,192
mailchimp-for-wp 92,399
duracelltomi-google-tag-manager 90,248
honeypot 89,300
cleantalk-spam-protect 87,809
akismet 87,548
woocommerce-gateway-stripe 85,707
megamenu 83,317
all-in-one-seo-pack 82,828
fusion-builder 81,482
formidable 79,568
smart-slider-3 79,400
creative-mail-by-constant-contact 78,230
creame-whatsapp-me 78,105
ewww-image-optimizer 76,846

Top 50 Themes

Theme Count
hello-elementor 647,191
Divi 540,528
astra 490,862
pub 154,843
Avada 126,205
flatsome 122,474
generatepress 121,902
oceanwp 88,879
h4 85,197
kadence 81,234
enfold 71,703
salient 68,882
bb-theme 61,424
twentytwentyfour 60,739
twentyseventeen 56,908
cocoon-master 56,102
blocksy 55,399
betheme 54,185
twentytwentyfive 52,850
dt-the7 46,384
neve 40,396
woodmart 38,939
Avada-Child-Theme 35,645
twentytwentyone 35,050
bridge 34,210
gox 33,503
twentytwenty 31,088
lightning 30,329
swell 29,457
twentytwentythree 27,891
Impreza 25,524
bricks 25,490
Newspaper 22,916
twentytwentytwo 22,453
epik-redesign 20,773
pro 18,852
storefront 18,648
uncode 18,623
twentysixteen 18,609
extendable 18,575
sydney 16,948
yith-wonder 16,512
Total 14,992
themify-ultra 14,988
twentyfifteen 13,251
hestia 13,171
porto 12,878
twentynineteen 12,823
yootheme 12,536
thrive-theme 12,469