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 |
|---|---|---|---|
| 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 | |
| m*t*p*i*h*h*t*g*a*h*.com (WP 6.7.2) | F | Jul 15, 2026 | |
| a*o*t*o*i*f*.net (WP 7.0.1) | F | Jul 15, 2026 | |
| v*k*l*s*i*a*.com (WP 6.9.4) | F | Jul 15, 2026 | |
| y*s*b*t.com | F | Jul 15, 2026 | |
| s*o*p*h*g*r*l*e*s.com | F | Jul 15, 2026 | |
| b*n*o*i*e*n*t*n*a*s*o*.c*.uk (WP 7.0.1) | F | Jul 15, 2026 | |
| b*d*v.at (WP 6.9.1) | F | Jul 15, 2026 | |
| s*o*t*c*-*a*i*o*p*.c*m.pl (WP 7.0) | F | Jul 15, 2026 | |
| b*o*e*a*g*c*s*n*.pl (WP 7.0) | F | Jul 15, 2026 | |
| s*o*t*c*-*a*i*o*p*.n*t.pl (WP 7.0) | F | Jul 15, 2026 | |
| s*a*e*r*g*n*f*s*i*g.top | F | Jul 15, 2026 | |
| d*n*s*u*t*c*o*2.top | F | Jul 15, 2026 | |
| s*p*r*h*r*e*c*o*e*s.top | F | Jul 15, 2026 | |
| s*o*t*c*p*l*k*.c*m.pl (WP 7.0) | F | Jul 15, 2026 | |
| w*l*-*o*i*-*a*i*o.c*m.pl (WP 7.0) | F | Jul 15, 2026 | |
| v*l*a*s*i*l*.n*t.pl (WP 7.0) | F | Jul 15, 2026 | |
| b*o*z*-*a*i*o.c*.uk | D | Jul 15, 2026 | |
| b*o*d*m*o*-*a*i*o.c*.uk | D | Jul 15, 2026 | |
| b*m*u*k*g*m*.com | F | Jul 15, 2026 | |
| e*r*b*b*s*n*o.com (WP 7.0) | F | Jul 15, 2026 | |
| c*a*g*-*u*f*l*.net | F | Jul 15, 2026 | |
| d*n*e*w*h*n*.com (WP 6.8.5) | F | Jul 15, 2026 | |
| e*o*n*s*o*i*2.com (WP 6.9.4) | F | Jul 15, 2026 | |
| r*n*i*s*n*e*i*s*i*u*.com | D | Jul 15, 2026 | |
| e*f*n*n*i*l*o*s*l*i*g.com (WP 7.0) | F | Jul 15, 2026 | |
| a*t*o*a*t*l*t.org (WP 7.0.1) | F | Jul 15, 2026 | |
| c*i*k*n*o*d*a*e.gg (WP 7.0.1) | F | Jul 15, 2026 | |
| m*i*o*d*r*r*d*s.o*g.uk | D | Jul 15, 2026 | |
| a*t*b*a.at (WP 6.9.1) | F | Jul 15, 2026 | |
| c*r*i*.ro (WP 6.8.5) | F | Jul 15, 2026 | |
| a*y*t*c*a*g*o*e.com (WP 7.0.1) | F | Jul 15, 2026 | |
| t*a*e*v*t*m*n*.it (WP 6.9.4) | F | Jul 15, 2026 | |
| v*r*e*-*a*e*c*s*n*.com | F | Jul 15, 2026 | |
| j*s*y*s*i*h.info (WP 6.9) | F | Jul 15, 2026 | |
| g*a*t*i*s.c*.uk | D | Jul 15, 2026 | |
| n*n*a*s*o*s*t*s.uk (WP 7.0.1) | F | Jul 15, 2026 | |
| j*h*s*a*e*p*a*e.net (WP 6.9.4) | F | Jul 15, 2026 | |
| d*r*.de (WP 6.9.4) | F | Jul 15, 2026 | |
| g*l*e*f*y*e*i*s*h*i*a*d.com | F | Jul 15, 2026 | |
| j*c*t*o*d*n*r*i*i*g*n.nl (WP 6.8.5) | F | Jul 15, 2026 | |
| v*i*d*r*o*d.be (WP 6.8.5) | F | Jul 15, 2026 | |
| d*g*c*t.nl (WP 6.8.5) | F | Jul 15, 2026 | |
| a*s*z.o*g.nz (WP 6.9.1) | F | Jul 15, 2026 | |
| c*y*t*p*s*.me (WP 7.0.1) | F | Jul 15, 2026 | |
| c*s*n*b*t*i.uk | D | Jul 15, 2026 | |
| c*s*n*j*n*.uk | D | Jul 15, 2026 | |
| b*n*s*t*i*e*a*i*o.c*.uk | D | Jul 15, 2026 | |
| k*c*i*u*i*i*a*k*u.com (WP 6.7.2) | F | Jul 15, 2026 | |
| r*n*o*p*a*e.org (WP 7.0.1) | F | Jul 15, 2026 | |
| m*t*i*e*y*e*e*m*n*n*e*.com | F | Jul 15, 2026 | |
| i*a*e*t*l*c*l*.it (WP 6.9.4) | F | Jul 15, 2026 | |
| p*n*e*k*e*e*h*i*-*u*e*a*s.nl (WP 6.9.1) | F | Jul 15, 2026 | |
| b*s*e*n*r*k*-*a*i*o.com (WP 6.9.4) | F | Jul 15, 2026 | |
| b*t*a*d*e*s.net (WP 7.0.1) | F | Jul 15, 2026 | |
| s*x*t*u*d*r*o*j.dk | F | Jul 15, 2026 | |
| s*x*e*.info | F | Jul 15, 2026 | |
| r*c*p*r*r*a*t*r*.com | F | Jul 15, 2026 | |
| f*r*u*e*x*a*e.net | F | Jul 15, 2026 | |
| i*m*p*n*.in | F | Jul 15, 2026 | |
| d*a*o*u*-*n*p*r*p*c*i*e.org (WP 7.0.1) | F | Jul 15, 2026 | |
| p*a*e*n*u*d*r*m*c*d*m*.in | F | Jul 15, 2026 | |
| a*i*t*r*o*f*c*a*.net | F | Jul 15, 2026 | |
| a*r*s*r*j*c*.eu | F | Jul 15, 2026 | |
| p*l*a*m*s*i*n.in | F | Jul 15, 2026 | |
| v*r*s.im | F | Jul 15, 2026 | |
| o*g*n*s*d*o*t*a*i*n.net (WP 6.9.4) | F | Jul 14, 2026 | |
| y*m*z*k*.com (WP 7.0.1) | F | Jul 14, 2026 | |
| a*l*n*t*n*p*i*i*t.org (WP 7.0.1) | F | Jul 14, 2026 | |
| o*h*l*-*-*a*m*r*.dk | F | Jul 14, 2026 | |
| m*j*r*o*t*n*b*r*t*.org | F | Jul 14, 2026 | |
| k*b*s*i*a.com (WP 6.8.1) | F | Jul 14, 2026 | |
| s*e*t*u*o.net (WP 6.9.4) | F | Jul 14, 2026 | |
| r*m*d*o*p*o*u*o*n*t*r*i*.com (WP 7.0.1) | F | Jul 14, 2026 | |
| f*t*s*a*k*.nl (WP 6.9.1) | F | Jul 14, 2026 | |
| g*o*b*r*e*s.nz (WP 6.9.1) | F | Jul 14, 2026 | |
| a*e*t*s*a*s*p.c*.nz (WP 6.9.1) | F | Jul 14, 2026 | |
| g*u*v*n*e*.org (WP 6.9.4) | F | Jul 14, 2026 | |
| 1*p*n.pro | F | Jul 14, 2026 | |
| b*t*n*r*a*u*.com (WP 7.0.1) | F | Jul 14, 2026 | |
| g*k*i*e*-*e*e*l*n*.net (WP 6.9.1) | F | Jul 14, 2026 | |
| b*a*b*e*e*s*n*e*o*w.nl (WP 6.9.4) | F | Jul 14, 2026 | |
| h*a*t*f*h*c*u*t*y*o*i*.com (WP 7.0) | F | Jul 14, 2026 | |
| c*2*u*s*i*.dk | F | Jul 14, 2026 | |
| x*-*t*g*k*i*g*v*j*e*0*b.dk | F | Jul 14, 2026 | |
| s*f*b*r*-*e*-*j*l.dk | F | Jul 14, 2026 | |
| r*n*v*r*n*-*f*f*c*d*.dk | F | Jul 14, 2026 | |
| t*a*e*a*t*a*.com (WP 7.0.1) | F | Jul 14, 2026 | |
| m*o*h*n*e*i*r*.c*.uk (WP 6.9.1) | F | Jul 14, 2026 | |
| x*-*g*v*s*-*u*.dk | F | Jul 14, 2026 | |
| a*t*v*t*t*b*r*.dk | F | Jul 14, 2026 | |
| x*-*t*p*s*k*e*c*a.dk | F | Jul 14, 2026 | |
| t*o*a*b*t.online | F | Jul 14, 2026 |