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 |
|---|---|---|---|
| b*y*n*a*v*l*o.net (WP 7.0.2) | F | Jul 26, 2026 | |
| a*i*a*i*n*u*m*r.at (WP 6.9.1) | F | Jul 26, 2026 | |
| c*r*s*i*n*u*u*l*e*.at (WP 6.9.1) | F | Jul 26, 2026 | |
| l*k*c*u*t*l*c.com (WP 7.0.2) | F | Jul 26, 2026 | |
| g*e*t*a*a*i*n*r*f*.com (WP 7.0.2) | F | Jul 26, 2026 | |
| c*a*r*f*n*a*n*-*e.com (WP 7.0.2) | F | Jul 26, 2026 | |
| m*d*l*a*i*a*.com (WP 7.0.2) | F | Jul 26, 2026 | |
| 3*l*c*.it (WP 6.9.4) | F | Jul 26, 2026 | |
| c*l*u*e*.cz (WP 5.1.19) | F | Jul 26, 2026 | |
| k*l*a*a*f*.in | F | Jul 26, 2026 | |
| p*d*i*e*l*h*a*e.in | F | Jul 26, 2026 | |
| c*a*s*d*n*.com (WP 5.5.18) | F | Jul 26, 2026 | |
| k*a*-*a*a*s*h*l*.de (WP 6.9.3) | F | Jul 26, 2026 | |
| v*n*i*p*n*.it (WP 7.0) | F | Jul 26, 2026 | |
| l*i*h*l*i*g.com | F | Jul 26, 2026 | |
| b*t*h*n*.live | F | Jul 26, 2026 | |
| p*n*a*u*t*.com | F | Jul 26, 2026 | |
| d*g*r*t*e*s*i*e*.com (WP 7.0.2) | F | Jul 26, 2026 | |
| a*t*o*-*e*e*t*r*e*t*n.de (WP 6.9.1) | F | Jul 26, 2026 | |
| a*c*d*r*.de (WP 6.9.1) | F | Jul 26, 2026 | |
| p*n*r*d*e*e*t*l*n*i*e*.com | F | Jul 26, 2026 | |
| a*s*n*s*a*i.bio | F | Jul 26, 2026 | |
| b*g*m*-*a*i*o.c*.uk | D | Jul 26, 2026 | |
| m*d*f*x*e*t*l.com | F | Jul 26, 2026 | |
| p*a*r*e*a*d*a*f*u*d*t*o*.org (WP 6.9) | F | Jul 26, 2026 | |
| l*s*o*-*c*l*e*c*s*n*s.com (WP 7.0.2) | F | Jul 26, 2026 | |
| b*n*s.bet | F | Jul 26, 2026 | |
| a*k*a*t*r*.com (WP 7.0.2) | F | Jul 26, 2026 | |
| p*a*r*i*n*u*e*e*n.de (WP 6.9.1) | F | Jul 26, 2026 | |
| s*u*e*t*n*t*u*p*c*s.com (WP 7.0.2) | F | Jul 26, 2026 | |
| s*s*i*a*s*o*l*n*.c*.uk (WP 6.9.1) | F | Jul 26, 2026 | |
| t*e*t*a*t*s*o*k*h*p*v*n*s.com (WP 6.9.5) | F | Jul 26, 2026 | |
| p*c*d*a.com | F | Jul 26, 2026 | |
| t*e*d*i*r*l*g*n.org (WP 7.0.2) | F | Jul 26, 2026 | |
| m*b*m*b.com (WP 7.0.2) | F | Jul 26, 2026 | |
| c*l*c*i*o*r*t*.org (WP 7.0.2) | F | Jul 26, 2026 | |
| a*l*s*n*v*r*e*i*k*n.eu (WP 6.5.8) | F | Jul 26, 2026 | |
| c*i*l*n*t.org (WP 7.0.2) | F | Jul 26, 2026 | |
| i*a*-*i*l*n*s.ru | F | Jul 26, 2026 | |
| p*o*e*c*-*a*e.com (WP 7.0.2) | F | Jul 26, 2026 | |
| n*k*c*a*i*o*.o*g.uk (WP 7.0.2) | F | Jul 26, 2026 | |
| s*u*m*n.com (WP 6.9.5) | F | Jul 26, 2026 | |
| t*e*r*i*i*i*l*a*b*r.com (WP 7.0.2) | F | Jul 26, 2026 | |
| s*i*y*j*c*p*t*.uk | D | Jul 26, 2026 | |
| k*r*e*s*o*.com | F | Jul 26, 2026 | |
| c*i*k*n*r*a*2.pk | F | Jul 26, 2026 | |
| j*m*e*i*a*i*n*a*.com (WP 6.9.1) | F | Jul 26, 2026 | |
| t*e*p*l*a*c*p*o*l*.com | F | Jul 26, 2026 | |
| p*l*t*s*o*l*n*-*r*i*i*g.com | F | Jul 26, 2026 | |
| n*i*h*o*r*i*k*a*g*r*.com (WP 7.0.2) | F | Jul 26, 2026 | |
| r*e*p*c*p*c*e*s.com (WP 6.8.6) | F | Jul 26, 2026 | |
| x*-*j*k*e*t*t*l*m*d*2*b*.dk | F | Jul 26, 2026 | |
| s*i*a*t*a*a*d*n*l*y*m.in | F | Jul 26, 2026 | |
| d*c*e*f*e*.com (WP 6.9) | F | Jul 26, 2026 | |
| p*g*y*a*k*g*m*.com | F | Jul 26, 2026 | |
| l*c*e*i*-*l*o*o*i*m*.kz (WP 6.8.6) | F | Jul 26, 2026 | |
| k*n*h*l*s*.uk (WP 7.0.1) | F | Jul 26, 2026 | |
| i*t*l*o*e*h*l*e*g*.com (WP 6.8.6) | F | Jul 26, 2026 | |
| a*h*n*a*h*r*f*o*l*n*.com (WP 6.9.5) | F | Jul 26, 2026 | |
| s*r*p*o*e*b*y*.com (WP 6.9.5) | F | Jul 26, 2026 | |
| j*k*r*-*e*e*s*w*l*.com | F | Jul 26, 2026 | |
| c*s*n*l*b*.c*.uk (WP 7.0.2) | F | Jul 26, 2026 | |
| b*f*c*s*n*-*n*i*e.uk (WP 7.0.2) | F | Jul 26, 2026 | |
| c*e*c*a*d*l*s*l*d*v.com (WP 7.0.2) | F | Jul 25, 2026 | |
| m*a*o*t*o*.com | F | Jul 25, 2026 | |
| n*e*a*d*n*e*a*k*.com (WP 6.8.3) | F | Jul 25, 2026 | |
| d*l*v*a.ru | F | Jul 25, 2026 | |
| g*a*d*o*i*e*p*.com | F | Jul 25, 2026 | |
| o*e*d*.in | F | Jul 25, 2026 | |
| l*d*k*f*o*b*l*.com | F | Jul 25, 2026 | |
| r*b*n*r*g*c.com (WP 6.7.5) | F | Jul 25, 2026 | |
| r*b*e*s*a*f*b*i*a*o*s.com | F | Jul 25, 2026 | |
| n*r*s*l*a*k*n*s.kz | F | Jul 25, 2026 | |
| g*l*b*i*z.net | F | Jul 25, 2026 | |
| j*b*1*1.com | F | Jul 25, 2026 | |
| t*e*b*i*h*k*i*g*.com (WP 6.9.5) | F | Jul 25, 2026 | |
| c*u*r*o*.ca (WP 6.8.6) | C | Jul 25, 2026 | |
| j*s*t*u*i*.nl (WP 6.9.1) | F | Jul 25, 2026 | |
| s*a*e*w*n*.c*.uk | D | Jul 25, 2026 | |
| l*c*n*u*a*e*l*s*o*i*l.com (WP 7.0.2) | F | Jul 25, 2026 | |
| h*3*i*.bio | F | Jul 25, 2026 | |
| w*n*p*r*.win | F | Jul 25, 2026 | |
| r*d*0.live | F | Jul 25, 2026 | |
| b*t*a*a.live | F | Jul 25, 2026 | |
| b*r*9*.live | F | Jul 25, 2026 | |
| a*a*e*.live | F | Jul 25, 2026 | |
| b*t*o*n*.live | F | Jul 25, 2026 | |
| p*r*o*e*.vip | F | Jul 25, 2026 | |
| p*r*e*t*a*e.online | F | Jul 25, 2026 | |
| p*r*g*o*.live | F | Jul 25, 2026 | |
| b*t*e*.bio | F | Jul 25, 2026 | |
| b*t*e*.app | F | Jul 25, 2026 | |
| b*t*e*.live | F | Jul 25, 2026 | |
| 1*y*k.bio | F | Jul 25, 2026 | |
| 1*y*k*o*.app | F | Jul 25, 2026 | |
| 1*y*k.live | F | Jul 25, 2026 | |
| r*o*b*t.live | F | Jul 25, 2026 | |
| f*o*b*l*s*a.live | F | Jul 25, 2026 | |
| 0*1*e*.live | F | Jul 25, 2026 | |
| r*b*n*i*a*.live | F | Jul 25, 2026 |