LuckyWP Table of Contents
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);
| Domain | Exposures | Headers | Last Checked |
|---|---|---|---|
| c*a*y*i*e*a*e.top | F | Jul 15, 2026 | |
| z*u*-*s*h*d*s.net | F | Jul 15, 2026 | |
| l*x*a*i*o*.org (WP 7.0) | F | Jul 15, 2026 | |
| m*a*p*r*u*c*i*r*.it (WP 6.9.4) | F | Jul 15, 2026 | |
| d*n*i*g*o*s*c*f*.com (WP 7.0) | F | Jul 15, 2026 | |
| e*m*r*b*r*m*n*.com (WP 6.9.1) | F | Jul 15, 2026 | |
| 8*8*a*i*o*u*.uk (WP 7.0.1) | F | Jul 15, 2026 | |
| a*n*k.pl | F | Jul 15, 2026 | |
| w*n*h*r*-*a*i*o*p*.c*m.pl (WP 7.0.1) | F | Jul 15, 2026 | |
| s*v*n*a*i*s*c*s*n*.uk (WP 7.0) | F | Jul 15, 2026 | |
| b*a*k*i*m.pl (WP 7.0) | F | Jul 15, 2026 | |
| c*s*n*-*a*.c*m.pl (WP 7.0) | F | Jul 15, 2026 | |
| n*n*c*s*n*i*a*i*.it (WP 7.0) | F | Jul 15, 2026 | |
| b*t*o*i*.pl (WP 7.0) | F | Jul 15, 2026 | |
| b*t*n*-*r.org (WP 7.0) | F | Jul 15, 2026 | |
| b*t*a*l.de (WP 7.0) | F | Jul 15, 2026 | |
| v*g*s*n*s.c*m.pl (WP 7.0.1) | F | Jul 15, 2026 | |
| w*n*e*e*d*.pl (WP 6.9.4) | F | Jul 15, 2026 | |
| h*l*f*e*t*e*q*a*a*s.com (WP 7.0.1) | F | Jul 15, 2026 | |
| d*n*e*e*t*.com (WP 7.0.1) | F | Jul 15, 2026 | |
| d*r*n*e*s*a*a*.com (WP 7.0.1) | F | Jul 15, 2026 | |
| k*l*k*o*l*g.se (WP 7.0.1) | F | Jul 15, 2026 | |
| s*c*o*e*a*.com (WP 6.7.2) | F | Jul 15, 2026 | |
| k*s*u*o.org | F | Jul 15, 2026 | |
| d*z*y*h*l*i*g.com | F | Jul 15, 2026 | |
| p*v*t*n*l*s*s.com | F | Jul 15, 2026 | |
| m*d*u*a*a*h*t*k.com | F | Jul 15, 2026 | |
| 3*d*i*g*l*n*i*r*g*l*r*.net (WP 6.9) | F | Jul 15, 2026 | |
| c*s*o*e*f*r*.com (WP 7.0.1) | D | Jul 15, 2026 | |
| k*v*n*h.org | F | Jul 15, 2026 | |
| l*l*e*.ca (WP 7.0) | F | Jul 15, 2026 | |
| f*s*i*e*.dk | F | Jul 15, 2026 | |
| 4*a*e*c*m.bet (WP 7.0.1) | F | Jul 15, 2026 | |
| n*c*i*b*n*f*a*e*.com (WP 6.9.1) | F | Jul 15, 2026 | |
| m*g*z*n*.co (WP 6.9.1) | F | Jul 15, 2026 | |
| y*s*n*c*d.com (WP 6.9.4) | F | Jul 15, 2026 | |
| e*e*t*o*w*r*.net (WP 6.9.1) | F | Jul 15, 2026 | |
| e*g*f*s*h.de (WP 6.9.1) | F | Jul 15, 2026 | |
| 1*j*l*2*0*.com (WP 6.9.4) | F | Jul 15, 2026 | |
| d*p*s*t*s*l*z*f*j*.com (WP 6.9.4) | F | Jul 15, 2026 | |
| g*n*s*a*g*l*.top | F | Jul 15, 2026 | |
| m*h*o*g*a*s*3.top | F | Jul 15, 2026 | |
| e*d*r*a*d*.com | F | Jul 15, 2026 | |
| d*s*a*r*g*a*e*.de (WP 6.9.1) | F | Jul 15, 2026 | |
| v*a*r*i*i*a*i*.com | F | Jul 15, 2026 | |
| p*l*v*r*i*.org (WP 6.9.1) | F | Jul 15, 2026 | |
| b*g*b*a*i.c*.in (WP 6.8.5) | F | Jul 15, 2026 | |
| m*x*a*i*o*s.com (WP 7.0.1) | F | Jul 15, 2026 | |
| 1*i*s*i*d*a.in | F | Jul 15, 2026 | |
| 1*i*.c*m.ph | F | Jul 15, 2026 | |
| 1*i*s*u*.com | F | Jul 15, 2026 | |
| b*r*j*h*l*f*.ru | F | Jul 15, 2026 | |
| l*f*p*b*i*a*i*n*.c*.uk (WP 6.9.4) | F | Jul 15, 2026 | |
| n*k*s*n*-*l.com (WP 7.0) | F | Jul 15, 2026 | |
| h*s*e*s*.pl | B | Jul 15, 2026 | |
| o*s*r*a*o*i*a*b*e*t*l*.it (WP 6.9.4) | F | Jul 15, 2026 | |
| w*l*b*u*t*s*o*d*w*.top | F | Jul 15, 2026 | |
| o*s*i*e*i*h*s.net | F | Jul 15, 2026 | |
| d*n*s*e*o*p.com (WP 7.0.1) | F | Jul 15, 2026 | |
| y*k*e*y*k.com | F | Jul 15, 2026 | |
| y*k*e*k*d*.com | F | Jul 15, 2026 | |
| b*t*n*r*d*.pl (WP 7.0.1) | F | Jul 15, 2026 | |
| s*i*y*o*e*c*s*n*.c*.uk | D | Jul 15, 2026 | |
| b*n*a*a*p*e*e*o*m*n*.com (WP 6.9) | F | Jul 15, 2026 | |
| y*d*m*o*e.com (WP 7.0) | F | Jul 15, 2026 | |
| b*n*s*e*1.com | F | Jul 15, 2026 | |
| a*i*t*r*g*m*-*n*i*d*a.org | F | Jul 15, 2026 | |
| m*u*n*r*a*f*r*.com | F | Jul 15, 2026 | |
| h*g*r*o*a*r*n*e*e*t.nl (WP 6.9.4) | F | Jul 15, 2026 | |
| m*d*l*o*w*e*t*u*h*l*e*s*m.com (WP 6.9.4) | F | Jul 15, 2026 | |
| r*d*i*g*o*o*c*c*e*.com (WP 7.0.1) | F | Jul 15, 2026 | |
| b*s*o*l*n*c*s*n*e*r*p*.com (WP 7.0.1) | F | Jul 15, 2026 | |
| h*l*b*r*e*a*e.com (WP 6.7.2) | F | Jul 15, 2026 | |
| t*c*t*i*u*e.net | D | Jul 15, 2026 | |
| a*y*a*-*e*s*u*y*.kz | F | Jul 15, 2026 | |
| a*a*s*g*o*p.com (WP 6.7.1) | F | Jul 15, 2026 | |
| b*n*-*a*i*o*o*l*n*.com | F | Jul 15, 2026 | |
| a*-*p*o*.com (WP 6.9.4) | F | Jul 15, 2026 | |
| e*a*a*t*o*d.com (WP 7.0.1) | F | Jul 15, 2026 | |
| s*k*e*-*e*h*n*e*.dk | F | Jul 15, 2026 | |
| o*t*e*l*c*n*y.org | F | Jul 15, 2026 | |
| m*o*o*f*h*y*r*.in | F | Jul 15, 2026 | |
| n*w*p*r*a*h*a.org (WP 6.3.1) | F | Jul 15, 2026 | |
| s*p*r*u*.it (WP 7.0.1) | F | Jul 15, 2026 | |
| c*u*-*a*e*.at (WP 6.9.1) | F | Jul 15, 2026 | |
| g*r*k*n*o.c*.at (WP 6.9.1) | F | Jul 15, 2026 | |
| l*g*n*o*p*r*e*s.top | F | Jul 15, 2026 | |
| t*e*s*n*n*m*r*c*c*n*e*e*c*.com (WP 6.9.4) | F | Jul 15, 2026 | |
| a*a*y*i*9*b*t.com | F | Jul 15, 2026 | |
| 1*m*h*s*o.c*.nz (WP 6.9.1) | F | Jul 15, 2026 | |
| r*o*s*l*n*e*.com (WP 6.9.1) | F | Jul 15, 2026 | |
| c*s*n*-*c*a*e.com (WP 7.0.1) | F | Jul 15, 2026 | |
| v*m*y*p*r*y.com | F | Jul 15, 2026 | |
| t*b*t*u*e*i*.com (WP 7.0.1) | F | Jul 15, 2026 | |
| 4*r*w*s*c*s*n*.c*.uk | D | Jul 15, 2026 | |
| n*t*r*e*.com (WP 5.3.21) | F | Jul 15, 2026 | |
| i*t.o*g.ua | A | Jul 15, 2026 | |
| b*o*e*h*f.at (WP 6.9.1) | F | Jul 15, 2026 | |
| c*s*c*t*o*i*a.it (WP 6.9.4) | F | Jul 15, 2026 | |
| d*r*y*o*l*t*e.site | F | Jul 15, 2026 |