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 |
|---|---|---|---|
| s*m*i*p*y*h*l*g*.c*.nz (WP 6.9.1) | F | Jul 22, 2026 | |
| i*f*t*l*t*.com | F | Jul 22, 2026 | |
| z*l*w*b.me (WP 6.8.3) | C | Jul 22, 2026 | |
| t*a*s*u*e*t*i*e.com (WP 6.9.4) | F | Jul 22, 2026 | |
| a*u*u*c*u*e*e*l*h*l*n*c.ca (WP 7.0) | F | Jul 22, 2026 | |
| s*c*e*s*e*i*e*a*x.fr (WP 6.9.5) | F | Jul 22, 2026 | |
| h*s*v*s*.com (WP 6.7.1) | D | Jul 22, 2026 | |
| v*t*e*c*v*-*-*i*.com (WP 7.0.2) | F | Jul 22, 2026 | |
| i*s*a*t*6*.com | F | Jul 22, 2026 | |
| m*i*j*r*f*r*.com | F | Jul 22, 2026 | |
| u*t*m*d*l*e*.com (WP 7.0.2) | F | Jul 22, 2026 | |
| i*e*a*i*o*o*f*c*a*.pl (WP 6.9.4) | F | Jul 22, 2026 | |
| i*s*a*t*c*s*n*o.de (WP 7.0.2) | F | Jul 22, 2026 | |
| s*i*m*c*o*.de (WP 7.0.2) | F | Jul 22, 2026 | |
| i*a*h*.biz | F | Jul 22, 2026 | |
| o*t*r*a*e*c*r*s*n*b*b.com (WP 7.0.2) | F | Jul 22, 2026 | |
| h*r*o*s*o*y*i*s.com (WP 7.0.2) | F | Jul 22, 2026 | |
| h*r*o*s*o*k*o*i.com (WP 7.0.2) | F | Jul 22, 2026 | |
| b*s*n*s*-*r*m*a.com (WP 7.0.2) | F | Jul 22, 2026 | |
| s*a*l*g*t*r*n*e*s*0*0.com | F | Jul 22, 2026 | |
| c*l*u*a*p*r*p*c*i*e*l*c.com (WP 7.0) | F | Jul 22, 2026 | |
| 3*e*k*3*e*k*.org (WP 7.0.2) | F | Jul 22, 2026 | |
| c*2*u*l*d*i*g.dk | F | Jul 22, 2026 | |
| v*n*t*o*l*o*g*i*c.com (WP 7.0.2) | C | Jul 22, 2026 | |
| u*o*t*o*t*o*.com (WP 7.0.2) | F | Jul 22, 2026 | |
| j*r*o*f*e*r*i*e*m*r*e*i*g*u*p*r*h.com (WP 6.9) | F | Jul 22, 2026 | |
| b*s*a*a*u*r*e.com (WP 6.7.2) | F | Jul 22, 2026 | |
| a*i*n*a*p*y.com (WP 6.8.6) | F | Jul 22, 2026 | |
| c*i*p*r*i*l*p*r*m*n*s.com (WP 7.0) | F | Jul 22, 2026 | |
| 4*a*e*-*a*i*o.net (WP 7.0.2) | F | Jul 22, 2026 | |
| l*c*y*h*r*o*-*a*i*o.de (WP 7.0.2) | F | Jul 22, 2026 | |
| l*c*y*h*r*o*-*p*e*e*.de (WP 7.0.2) | F | Jul 22, 2026 | |
| m*t*e*o*f*r*o*g*e*s.com (WP 6.8.3) | F | Jul 22, 2026 | |
| g*b*t*.c*m.pl (WP 7.0.1) | F | Jul 22, 2026 | |
| m*a*o.ca (WP 6.9) | F | Jul 22, 2026 | |
| v*l*a*t*e*m*n.com (WP 7.0.2) | F | Jul 22, 2026 | |
| i*j*v*n.com | F | Jul 22, 2026 | |
| g*o*e*.c*.in | F | Jul 22, 2026 | |
| s*g*r*s*a*t.com | F | Jul 22, 2026 | |
| l*r*b*d*.de (WP 7.0.2) | F | Jul 22, 2026 | |
| l*t*n*b*i*e*.org (WP 5.9.10) | F | Jul 22, 2026 | |
| l*t*n*w*m*n.org (WP 6.1.10) | F | Jul 22, 2026 | |
| m*i*o*d*r*r*d*s.net (WP 5.9.13) | F | Jul 22, 2026 | |
| m*b*i*e.net (WP 5.9.13) | F | Jul 22, 2026 | |
| u*r*b*l*y.com (WP 7.0.1) | F | Jul 22, 2026 | |
| s*o*e*o*k*v*c.com (WP 6.9.1) | F | Jul 22, 2026 | |
| l*n*i*e*e*.com | F | Jul 22, 2026 | |
| i*i*h*a*i*o*i*s.com (WP 6.0) | F | Jul 22, 2026 | |
| h*n*h*g*e*e*o*h*a*t*.org (WP 6.9.1) | F | Jul 22, 2026 | |
| u*k*n*h*l*s.com (WP 7.0.2) | F | Jul 22, 2026 | |
| b*l*i*a*a*l*e*i*i*e*e*t*k.org (WP 6.8.6) | F | Jul 22, 2026 | |
| d*f*l*t*.in | F | Jul 22, 2026 | |
| b*s*-*a*i*o*c*y*t*.c*.uk (WP 6.9.4) | F | Jul 22, 2026 | |
| v*l*a*o*i*i*g.com | F | Jul 22, 2026 | |
| p*r*e*t*n*.dk | F | Jul 22, 2026 | |
| m*a*t*d*k*s*e*-*n*i*e.dk (WP 6.9.5) | F | Jul 22, 2026 | |
| f*r*i*u*e*i*s*.in | F | Jul 22, 2026 | |
| e*s*m.dk | F | Jul 22, 2026 | |
| p*r*l*e*o*r*m.dk | F | Jul 22, 2026 | |
| m*u*t*i*b*k*-*i*b*d.dk | F | Jul 22, 2026 | |
| x*-*u*-*e*-*k*i*t*l*e*-*u*.dk | F | Jul 22, 2026 | |
| d*r*s*a*.dk | F | Jul 22, 2026 | |
| t*u*d*-*y*e*r*e*.dk | F | Jul 22, 2026 | |
| p*r*o*l*g*-*a*e*.dk | F | Jul 22, 2026 | |
| d*i*h*s*a*s*r.dk | F | Jul 21, 2026 | |
| s*a*p*o*d*i*j*l*a*d.dk | F | Jul 21, 2026 | |
| x*-*o*l*v*l*e*-*-*y*-*o*.dk | F | Jul 21, 2026 | |
| i*1*0*e*n.eu | F | Jul 21, 2026 | |
| u*c*l*e*t*o*z.com (WP 6.9.5) | F | Jul 21, 2026 | |
| u*c*s*n*p*y*e*t*.com (WP 6.9.5) | F | Jul 21, 2026 | |
| f*m*n*s*f*l*f*s*i*a*d*b*i*.com (WP 7.0.2) | F | Jul 21, 2026 | |
| a*e*p*i*i*.com | D | Jul 21, 2026 | |
| a*e*c*t*.com | D | Jul 21, 2026 | |
| a*t*r*p*l*g*c*l*f*l*f*s*i*a*s.org (WP 6.1.10) | F | Jul 21, 2026 | |
| r*p*i*b*t*e*.org | F | Jul 21, 2026 | |
| l*s*e*t*f*n*o*.com (WP 6.9.4) | F | Jul 21, 2026 | |
| o*c*r*p*n*c*.com (WP 6.9.4) | F | Jul 21, 2026 | |
| s*a*g*r*a*.com | F | Jul 21, 2026 | |
| h*p*l*s*r*m*n*i*.com (WP 7.0.2) | A | Jul 21, 2026 | |
| l*x*i*e*u*t*a*i*.net (WP 6.9.4) | F | Jul 21, 2026 | |
| m*n*y*n*t*n*c*u*c*.com (WP 6.9.1) | F | Jul 21, 2026 | |
| r*s*i*r*v*l*.in | F | Jul 21, 2026 | |
| h*l*o*u*r*y.ca (WP 7.0) | F | Jul 21, 2026 | |
| s*c*l*-*i*i*i*.net (WP 5.8.13) | F | Jul 21, 2026 | |
| m*t*o*o*e*l*b*l*o*u*.com (WP 6.9) | F | Jul 21, 2026 | |
| s*d*e*b*s*n*s*m*n*h.com (WP 6.9.4) | F | Jul 21, 2026 | |
| b*c*c*e*o*p*n*.at (WP 6.9.1) | F | Jul 21, 2026 | |
| i*a*x*h*r*.com | F | Jul 21, 2026 | |
| h*l*f*r*f*a*c*s.c*.uk (WP 6.9.1) | F | Jul 21, 2026 | |
| a*s*h*t*c*l*u*g*m*d*c*l.c*.uk (WP 6.9.1) | F | Jul 21, 2026 | |
| l*s*a*d*r*o*c*l*b*a*t.com (WP 6.9.4) | F | Jul 21, 2026 | |
| s*s*s*m*e*h*l*.info (WP 6.9.1) | F | Jul 21, 2026 | |
| s*i*s*o*-*l*r*.fr (WP 7.0) | F | Jul 21, 2026 | |
| b*o*z*.com | D | Jul 21, 2026 | |
| u*i*a*.org (WP 7.0.2) | F | Jul 21, 2026 | |
| q*e*n*l*b*l*n*e*n*t*o*a*s*h*o*.in | F | Jul 21, 2026 | |
| a*e*-*i*k*p*g*y*b*n*.com | F | Jul 21, 2026 | |
| s*u*h*o*n*r.in | F | Jul 21, 2026 | |
| a*d*i*o*j*p*n.com (WP 7.0.2) | F | Jul 21, 2026 | |
| h*o*u*l*v*r.com | F | Jul 21, 2026 |