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 |
|---|---|---|---|
| a*i*i*m*a*c.org (WP 7.0.1) | F | Jul 12, 2026 | |
| o*f*c*a*-*h*-*v*n*r.com (WP 6.9.4) | F | Jul 12, 2026 | |
| d*n*e*e*-*i*e.com (WP 7.0.1) | F | Jul 12, 2026 | |
| o*f*c*a*-*c*i*a*o*.com | F | Jul 12, 2026 | |
| h*s*d*n*s*e*t*e*.com (WP 7.0) | F | Jul 12, 2026 | |
| s*h*p*e*w*n*e*.nl (WP 7.0) | F | Jul 12, 2026 | |
| b*e*e*-*a*m*s*h*n*n.at (WP 6.9.1) | F | Jul 12, 2026 | |
| j*o*m*n*f*.com (WP 7.0.1) | D | Jul 12, 2026 | |
| e*g*w*y.eu (WP 7.0.1) | D | Jul 12, 2026 | |
| a*e*0*e*k*d*.com | F | Jul 12, 2026 | |
| o*f*c*-*c*i*a*o*.com | F | Jul 12, 2026 | |
| t*o*a*v*s*s*h*t*g*a*h*.biz (WP 7.0) | F | Jul 12, 2026 | |
| t*r*a*i*m*v*o*p*.com (WP 7.0) | F | Jul 12, 2026 | |
| e*s*g.at (WP 6.9.3) | F | Jul 12, 2026 | |
| n*r*h*r*b*i*a*e.com (WP 6.9.4) | F | Jul 12, 2026 | |
| l*l*p*z.de (WP 7.0.1) | F | Jul 12, 2026 | |
| h*r*y*o*t*r*i*k*t*r*e*.com (WP 7.0) | F | Jul 12, 2026 | |
| t*t*l*n*i*e*i*s.com (WP 7.0.1) | F | Jul 12, 2026 | |
| e*i*m*u*n*r.com | F | Jul 12, 2026 | |
| b*a*n*h*v*r*.c*.za (WP 6.9.4) | F | Jul 12, 2026 | |
| a*c*o*t*c*i*a.com (WP 7.0) | F | Jul 12, 2026 | |
| t*a*y*a*t*n.com (WP 6.7.5) | F | Jul 12, 2026 | |
| t*s*a*s*o*t*v*.com (WP 7.0) | F | Jul 12, 2026 | |
| n*r*a*d*-*a*d*n*-*o*r.com | F | Jul 12, 2026 | |
| l*f*a*d*e*t*r*o*.com (WP 7.0) | F | Jul 12, 2026 | |
| v*l*a*-*p*e*e*.pl (WP 7.0) | F | Jul 12, 2026 | |
| t*s*i*a*u*p*r*p*o*e*u*b*r.com (WP 7.0) | F | Jul 12, 2026 | |
| g*s*-*u*q*o*.it (WP 6.9.4) | F | Jul 12, 2026 | |
| t*r*e*a*l*m*d*l*p*l*c*l*.com (WP 7.0) | F | Jul 12, 2026 | |
| i*p*i*m.in | F | Jul 12, 2026 | |
| k*r*i*y*r*v*r*.in | F | Jul 12, 2026 | |
| m*d*l*o*l*g*k*l*a*.in | F | Jul 12, 2026 | |
| c*f*.in | F | Jul 12, 2026 | |
| c*d*t.in | F | Jul 12, 2026 | |
| s*o*t*p*d.in | F | Jul 12, 2026 | |
| h*g*o*w*e*l*.in | F | Jul 12, 2026 | |
| c*e*n*i*o*l*c*n*m*f*s*i*a*.in | F | Jul 12, 2026 | |
| l*s*r*t*k*a*l.com (WP 7.0) | F | Jul 12, 2026 | |
| w*n*o*s*c*i*a*o*p*o.com | F | Jul 12, 2026 | |
| b*r*s*.c*m.ua | F | Jul 12, 2026 | |
| o*r*i*i*c.com (WP 7.0) | F | Jul 12, 2026 | |
| 1*b*e*.vip | F | Jul 12, 2026 | |
| 1*q*t*r.com | F | Jul 12, 2026 | |
| d*b*t*f*i*i*l.com | F | Jul 12, 2026 | |
| e*e*t*n*l*s.com (WP 6.9.4) | F | Jul 12, 2026 | |
| e*e*t*e*a*l*t*e*.com | F | Jul 12, 2026 | |
| e*e*t*e*i*l*n*l.com | F | Jul 12, 2026 | |
| p*p*s*k.org (WP 6.7.2) | F | Jul 12, 2026 | |
| c*s*n*s*o*a*s*o*.c*.uk (WP 7.0.1) | F | Jul 12, 2026 | |
| x*i*i*y*o*t*n*o*n*o*d.com (WP 6.9.4) | F | Jul 12, 2026 | |
| a*s*e*d*m*c*n*l*c*u*s*.info (WP 6.9.4) | F | Jul 12, 2026 | |
| t*p*o*o*-*e*i*.com | F | Jul 12, 2026 | |
| t*p*o*o*-*n*r*p*v.com | F | Jul 12, 2026 | |
| r*s*-*o*e*.bet (WP 7.0.1) | F | Jul 12, 2026 | |
| m*n*o*t*o*a*h*-*a*i*.fr (WP 6.9) | F | Jul 12, 2026 | |
| s*o*k*k*c*.com (WP 6.9.4) | F | Jul 12, 2026 | |
| b*o*u*t*i*b*x.at (WP 6.9.1) | F | Jul 12, 2026 | |
| b*a*i*g*b*s*n.com | F | Jul 12, 2026 | |
| m*r*i*t*o*o*c*c*e*a*v*g*.com (WP 6.8.3) | F | Jul 12, 2026 | |
| n*p*m*l*s*o*a*k*.com (WP 7.0) | F | Jul 12, 2026 | |
| c*a*y*7*-*i*i.com | F | Jul 12, 2026 | |
| c*e*f*n*.org (WP 7.0) | F | Jul 12, 2026 | |
| l*n*s*n*l*c*s.ca (WP 6.9.4) | F | Jul 12, 2026 | |
| r*a*e*t*t*m*r*b*r*u*h.com (WP 6.9.4) | F | Jul 12, 2026 | |
| p*s*o*s.top | F | Jul 12, 2026 | |
| t*n*i*o*h*.in | F | Jul 12, 2026 | |
| s*i*c*r*b*l*u*s*.com (WP 6.7.2) | F | Jul 12, 2026 | |
| i*d*g*n*u*i*m*t*o*.ca (WP 7.0) | F | Jul 12, 2026 | |
| g*i*p*c*g*m*s.com | F | Jul 12, 2026 | |
| l*n*h*o*m*s*n*h*n*.nl (WP 6.9.4) | F | Jul 12, 2026 | |
| r*-*x*r*m.at (WP 6.9.1) | F | Jul 12, 2026 | |
| p*l*o*p*s.org (WP 6.7.1) | F | Jul 12, 2026 | |
| x*a*s*h*a*d*r*.com | F | Jul 12, 2026 | |
| f*r*u*e*o*s.top | F | Jul 12, 2026 | |
| d*b*t*s*i*a*k*.com | F | Jul 12, 2026 | |
| d*-*e*-*o*a*i*.com | F | Jul 12, 2026 | |
| v*d*s*o*e.net (WP 7.0) | F | Jul 12, 2026 | |
| p*y*y*h*n*c*s*n*.uk | F | Jul 12, 2026 | |
| n*a*a*u*t*n.so | C | Jul 12, 2026 | |
| r*m*r*z*s*o*t*l*i*e*n*o.com (WP 6.4.5) | F | Jul 12, 2026 | |
| h*r*j*h*l*e*.com (WP 6.9.4) | F | Jul 12, 2026 | |
| l*o*a*t*i*f*c*i*g*e*b*g*e*.com (WP 7.0) | F | Jul 12, 2026 | |
| s*i*i*i*a*i*.com | F | Jul 12, 2026 | |
| c*a*i*.live | F | Jul 12, 2026 | |
| 3*1*e*c*a*.org | F | Jul 12, 2026 | |
| i*e*y*h*t.org | F | Jul 12, 2026 | |
| m*r*n*m*s*l*-*e*u*t*.com (WP 7.0) | F | Jul 12, 2026 | |
| c*r*t*r*.com (WP 7.0) | F | Jul 12, 2026 | |
| o*e*n*a*l*r*i*.com (WP 7.0) | F | Jul 12, 2026 | |
| n*m*r*f*e*f*r*.com | D | Jul 12, 2026 | |
| n*t*h*l*r*n*o*o*i*e.eu (WP 7.0.1) | F | Jul 12, 2026 | |
| i*s*a*i*e*.net (WP 7.0) | F | Jul 12, 2026 | |
| c*i*r*b*.com | F | Jul 11, 2026 | |
| r*m*d*f*l.com (WP 7.0) | F | Jul 11, 2026 | |
| x*s*o*-*i*e.com (WP 6.8.5) | F | Jul 11, 2026 | |
| a*t*0*h*r*.com | F | Jul 11, 2026 | |
| r*f*t*n*.ca (WP 6.9.4) | F | Jul 11, 2026 | |
| l*n*e*c*n*o*.ca (WP 6.9.4) | F | Jul 11, 2026 | |
| c*l*b*i*y*u*i*i*n*c*l*e*t*v*.com (WP 7.0) | F | Jul 11, 2026 | |
| j*s*u*-*n*l*s*-*i*t*o*a*y.com | F | Jul 11, 2026 |