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 |
|---|---|---|---|
| n*o*e*.org (WP 7.0.2) | F | Jul 29, 2026 | |
| d*-*e*-*z*.com | F | Jul 29, 2026 | |
| d*w*l*a*m*p*a*e*p*o.com (WP 7.0.2) | F | Jul 29, 2026 | |
| d*w*l*a*c*a*k*e*.com (WP 7.0.2) | F | Jul 29, 2026 | |
| l*t*h*a.com (WP 7.0.2) | F | Jul 28, 2026 | |
| l*s*r*i*c.c*.za (WP 6.9.4) | F | Jul 28, 2026 | |
| l*a*a*c*w*r*f*.c*.nz (WP 6.9.1) | F | Jul 28, 2026 | |
| a*l*e*-*m.com | F | Jul 28, 2026 | |
| b*l*a*l*n*c*h*i*a*d.com | F | Jul 28, 2026 | |
| s*f*s*a*t.com | F | Jul 28, 2026 | |
| w*n*b*t*3*.com | F | Jul 28, 2026 | |
| w*n*b*t*4*.com | F | Jul 28, 2026 | |
| s*a*e*c*s*n*.o*g.pl (WP 7.0.2) | F | Jul 28, 2026 | |
| t*o*m*s*c.de | A | Jul 28, 2026 | |
| v*-*c.com | F | Jul 28, 2026 | |
| p*v*n*w*r*.c*.za (WP 6.9.4) | F | Jul 28, 2026 | |
| d*l*r*i*s*i*u*.de (WP 7.0.2) | F | Jul 28, 2026 | |
| d*z*o*q*i*m*n*.c*.za (WP 6.9.4) | F | Jul 28, 2026 | |
| l*s*i*g*l*d.com (WP 7.0.2) | F | Jul 28, 2026 | |
| p*o*a*i*a*i.in (WP 7.0.2) | F | Jul 28, 2026 | |
| s*i*e.it (WP 6.9.4) | F | Jul 28, 2026 | |
| s*a*l*.in (WP 7.0.2) | F | Jul 28, 2026 | |
| d*u*w*l*o*s*i*.com | F | Jul 28, 2026 | |
| w*o*f*r*h*t*e*s.nz (WP 6.9.1) | F | Jul 28, 2026 | |
| g*n*r*c*i*g*a*s.net (WP 7.0.2) | F | Jul 28, 2026 | |
| j*e*a*t*k*.c*.in | F | Jul 28, 2026 | |
| k*r*m*a*a*i*o.top (WP 7.0.2) | F | Jul 28, 2026 | |
| d*c*o*b*r*a*.it (WP 6.9.4) | F | Jul 28, 2026 | |
| i*s*o*e*n*a.com (WP 6.8.3) | F | Jul 28, 2026 | |
| s*n*t*r*a*r*o*e*i*a*e*o*a.it (WP 6.9.4) | F | Jul 28, 2026 | |
| w*e*e*l*g*.at (WP 6.9.1) | F | Jul 28, 2026 | |
| f*s*i*a*a*o*a*i*n*m*t*l*i.it (WP 6.9.4) | F | Jul 28, 2026 | |
| h*s*o*i*n*a*t*e*o*i*s*u*t*a*i*.com (WP 6.9.1) | F | Jul 28, 2026 | |
| g*i*z*y*e*r*a*e.c*.za (WP 6.9.4) | F | Jul 28, 2026 | |
| s*z*l*n*h*t*e*u*e.top | F | Jul 28, 2026 | |
| s*g*r*u*h*1*0*.net | F | Jul 28, 2026 | |
| d*u*4*r*e*o*.com | F | Jul 28, 2026 | |
| n*d*a*s*o*t*r*c*u*t*n*.com (WP 7.0.2) | F | Jul 28, 2026 | |
| m*n*t*r*n*-*o*.com | F | Jul 28, 2026 | |
| a*h*e*i*c*u*a*e.com (WP 7.0.2) | F | Jul 28, 2026 | |
| s*d*l*c*u*a*p*n*.com (WP 7.0.2) | F | Jul 28, 2026 | |
| t*a*-*u*l*i*g*d*a*v*l*e.com (WP 7.0.2) | F | Jul 28, 2026 | |
| c*r*m*n*n*g*k*n*a*a*k*.com (WP 7.0.2) | F | Jul 28, 2026 | |
| b*o*m*s*o*.co (WP 7.0.2) | F | Jul 28, 2026 | |
| e*e*e*t*e*a*e*e.c*.uk (WP 6.9.1) | F | Jul 28, 2026 | |
| g*a*e*h*l*l*g*t*n*.com (WP 6.9.1) | F | Jul 28, 2026 | |
| d*g*t*.com | F | Jul 28, 2026 | |
| d*t*s*u*i*.com (WP 7.0.2) | F | Jul 28, 2026 | |
| n*w*e*i*o*d*p*i*n*.com | F | Jul 28, 2026 | |
| m*y*a*d*f*o*r*n*a*d*l*n*s.com (WP 6.9.1) | F | Jul 28, 2026 | |
| c*r*c*i*e*t*a*y*r*p*c*u*t*.com | F | Jul 28, 2026 | |
| s*m*t*r.it (WP 6.9.4) | F | Jul 28, 2026 | |
| b*r*i*g*o*b*s.at (WP 6.9.1) | F | Jul 28, 2026 | |
| b*o*-*p*e*e*k*m*e*.at (WP 6.9.1) | F | Jul 28, 2026 | |
| u*l*d*e*h*.org (WP 6.9.5) | F | Jul 28, 2026 | |
| b*s*e*-*e*t*n*i*t*r*o*s*e*r*i*h.at (WP 6.9.1) | F | Jul 28, 2026 | |
| h*g*i*s.c*m.au (WP 6.9.4) | F | Jul 28, 2026 | |
| d*d*m*s*r*p*i*s.com (WP 6.9) | F | Jul 28, 2026 | |
| c*z*c*m*n*t*n*0*2.com (WP 6.9) | F | Jul 28, 2026 | |
| h*a*f.com | D | Jul 28, 2026 | |
| e*d*r*g*b*e*d*r*i*i*u*g.at (WP 6.9.1) | F | Jul 28, 2026 | |
| d*s*e*e*s*o*.nl (WP 6.9.1) | F | Jul 28, 2026 | |
| m*u*e*p*t*r.com (WP 6.9.4) | F | Jul 28, 2026 | |
| p*e*l*y*o*a*c*.com (WP 7.0.2) | F | Jul 28, 2026 | |
| m*n*y*u*t*p*i*r*a*e.com | F | Jul 28, 2026 | |
| i*s*p*r*e*g*e.com (WP 7.0.2) | D | Jul 28, 2026 | |
| p*y*a*c*i*f.org (WP 7.0.2) | F | Jul 28, 2026 | |
| s*b*s*a*t.com | F | Jul 28, 2026 | |
| m*n*y*o*i*g*x*a*d*d*e*s.com | F | Jul 28, 2026 | |
| m*n*y*o*i*g*e*o.com | F | Jul 28, 2026 | |
| m*r*t*i*j*.in | F | Jul 28, 2026 | |
| f*s*u*i*-*u*o*i*l*.com (WP 7.0.2) | F | Jul 28, 2026 | |
| d*r*a*a*e*m*n*o*a*.com | F | Jul 28, 2026 | |
| c*p*i*e*e*c*.com (WP 7.0.2) | F | Jul 28, 2026 | |
| b*s*b*t*.de (WP 7.0) | F | Jul 28, 2026 | |
| b*s*i*t*r*a*i*n*l*c*o*l.in | F | Jul 28, 2026 | |
| c*n*a*t*n*e*b*e.org (WP 6.9.1) | F | Jul 28, 2026 | |
| i*u*b*l*z.com (WP 7.0.2) | F | Jul 28, 2026 | |
| f*e*r*n*a*r*u*.com (WP 6.9) | F | Jul 28, 2026 | |
| o*l*r*s*e.org (WP 6.9.5) | F | Jul 28, 2026 | |
| k*o*k*e.c*.nz (WP 6.9.1) | F | Jul 28, 2026 | |
| c*p*a*o*i*g*m*.com | F | Jul 28, 2026 | |
| v*t*r*a*-*k*a*a*.com (WP 6.9.5) | F | Jul 28, 2026 | |
| x*-*c*s*n*o*a*m*-*h*.net (WP 7.0.2) | F | Jul 28, 2026 | |
| w*r*d*f*a*r*f*o*i*a.org (WP 7.0.2) | F | Jul 28, 2026 | |
| p*r*c*a*.c*m.au (WP 6.9.1) | F | Jul 28, 2026 | |
| a*p*-*p*i*.org (WP 7.0.2) | F | Jul 28, 2026 | |
| u*b*1*b*t.com | F | Jul 28, 2026 | |
| y*w*a*s.ink (WP 7.0.2) | F | Jul 28, 2026 | |
| i*d*p*n*e*t*a*i*o*.net (WP 7.0.2) | F | Jul 28, 2026 | |
| b*l*i*p*l*e*.be | F | Jul 28, 2026 | |
| i*t*r*o*-*e*h*o*o*i*s.fr (WP 7.0.2) | F | Jul 28, 2026 | |
| m*z*u*p*l*k*e*o*i*t*.c*m.pl (WP 7.0.2) | F | Jul 28, 2026 | |
| m*n*e*-*i*t*r*s.net (WP 7.0.2) | F | Jul 28, 2026 | |
| b*m*i*u*.click (WP 7.0.2) | F | Jul 28, 2026 | |
| p*k*s*o*t*.click (WP 7.0.2) | F | Jul 28, 2026 | |
| a*r*b*e*h*.info (WP 7.0.2) | F | Jul 28, 2026 | |
| d*v*l*u*n*.net (WP 7.0.2) | F | Jul 28, 2026 | |
| n*w*a*t*e*i*d*r*c*o*y.com (WP 7.0.2) | F | Jul 28, 2026 | |
| s*a*l*k*a*e*.com (WP 6.9.5) | F | Jul 28, 2026 |