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 |
|---|---|---|---|
| g*l*e*a*p.com (WP 7.0.1) | F | Jul 10, 2026 | |
| g*l*e*w*n*e*g*m*.com | F | Jul 10, 2026 | |
| h*w*t.ca (WP 7.0) | F | Jul 10, 2026 | |
| h*r*r*v*a*d*u*l*y.o*g.uk (WP 7.0) | F | Jul 10, 2026 | |
| b*n*e*e*p*i*n*n*e*o.com (WP 6.9.4) | F | Jul 10, 2026 | |
| l*v*n*l*f*p*.com (WP 6.8) | F | Jul 10, 2026 | |
| b*o*t*i*.o*g.kz (WP 6.8.5) | F | Jul 10, 2026 | |
| g*l*e*r*e*s*c*s*n*.com (WP 7.0.1) | F | Jul 10, 2026 | |
| m*n*o*0*e*.com | F | Jul 10, 2026 | |
| g*l*e*m*d*a*t*d*o*.com (WP 7.0) | F | Jul 10, 2026 | |
| a*l*b*u*r*s*e*l.com (WP 7.0) | F | Jul 10, 2026 | |
| q*i*o*w*k*m*.com (WP 6.3.5) | F | Jul 10, 2026 | |
| d*n*e*e*9*.dance (WP 6.8.5) | D | Jul 10, 2026 | |
| h*i*l*o*t*e*s*r*s.ca (WP 7.0) | F | Jul 10, 2026 | |
| n*k*6*o*e*s*r*.com (WP 7.0) | F | Jul 10, 2026 | |
| b*l*w*i*e*a*r*n*a*e*.com (WP 7.0) | F | Jul 10, 2026 | |
| u*i*u*t*r*.com | F | Jul 10, 2026 | |
| b*l*s*u*d*o*c*n*e*.com (WP 6.9.4) | F | Jul 10, 2026 | |
| l*v*t*c*i*f*.com (WP 7.0) | F | Jul 9, 2026 | |
| g*l*e*c*r*a*b*f*e*m*n*.com | F | Jul 9, 2026 | |
| h*a*i*g*y*w*.ca (WP 7.0) | F | Jul 9, 2026 | |
| n*p*l*c*s*n*.c*.uk | D | Jul 9, 2026 | |
| g*a*d*s*r*i*e*e*p*e*s.ru | F | Jul 9, 2026 | |
| q*i*l*y*l*r*e.com (WP 7.0) | F | Jul 9, 2026 | |
| g*l*e*b*n*g*m*.com | F | Jul 9, 2026 | |
| n*s*s*u*l*n.de (WP 7.0) | F | Jul 9, 2026 | |
| d*v*n*i*g*l*.c*.uk | D | Jul 9, 2026 | |
| c*s*n*j*k*b*t.uk | D | Jul 9, 2026 | |
| i*e*r*c*l*i*s.org (WP 7.0) | F | Jul 9, 2026 | |
| g*l*b*i*z*e*t*e*e.com | F | Jul 9, 2026 | |
| j*t*h*r*.com | F | Jul 9, 2026 | |
| n*t*r*-*r*c*s.com | F | Jul 9, 2026 | |
| w*r*i*r*l*t*i*g.org (WP 7.0) | F | Jul 9, 2026 | |
| r*y*e*a.at (WP 6.9.3) | F | Jul 9, 2026 | |
| r*y*l*o*k*c*s*n*.c*.uk | D | Jul 9, 2026 | |
| g*e*n*i*c*e*n*i*o.c*.in | F | Jul 9, 2026 | |
| v*l*a*l*b*s*r*o.at (WP 6.9.3) | F | Jul 9, 2026 | |
| s*t*i*g*u*-*-*i*i*e*-*o*p*n*.c*.uk | F | Jul 9, 2026 | |
| c*r*e*p*r*d*s*.c*.in | F | Jul 9, 2026 | |
| b*t*1*i*a*.com | F | Jul 9, 2026 | |
| l*v*m*m*r*.net (WP 6.9.4) | F | Jul 9, 2026 | |
| j*t*e*t*.com (WP 7.0.1) | F | Jul 9, 2026 | |
| j*t*e*-*i*e.com (WP 7.0.1) | F | Jul 9, 2026 | |
| c*n*n*e*f*r*i.com (WP 7.0.1) | F | Jul 9, 2026 | |
| c*s*n*r*b*t*n.se | F | Jul 9, 2026 | |
| b*d*s*u*a.me (WP 6.9.4) | F | Jul 9, 2026 | |
| q*i*k*u*e*a*.com | F | Jul 9, 2026 | |
| p*a*a*o.info (WP 7.0.1) | F | Jul 9, 2026 | |
| t*n*q*e*t.com (WP 7.0) | F | Jul 9, 2026 | |
| u*i*o*i*.org (WP 7.0) | F | Jul 9, 2026 | |
| 9*m*j*l*.com (WP 7.0) | F | Jul 9, 2026 | |
| m*n*n*p*c*s.com | F | Jul 9, 2026 | |
| c*s*n*-*e*t*i*g*r.de (WP 7.0) | F | Jul 9, 2026 | |
| l*v*b*t*a*e.com | F | Jul 9, 2026 | |
| k*t*r*n*v*n*e*h*.de (WP 6.9.3) | F | Jul 9, 2026 | |
| t*c*n*k*f*e.de (WP 6.9.4) | F | Jul 9, 2026 | |
| e*p*r*c*l*r*w*r*.com (WP 7.0) | C | Jul 9, 2026 | |
| f*i*p*c*t.at (WP 6.9.3) | F | Jul 9, 2026 | |
| c*a*y*t*r*c*s*n*.c*.uk | D | Jul 9, 2026 | |
| b*t*o*o*a.com | F | Jul 9, 2026 | |
| b*t*e*r*t*o.com | F | Jul 9, 2026 | |
| q*e*t*o*o*y*p*s.com | F | Jul 9, 2026 | |
| c*a*y*h*n*s*a*e*t*s*y.com (WP 7.0) | F | Jul 9, 2026 | |
| b*t*n*i*c*i*e.org (WP 7.0) | F | Jul 9, 2026 | |
| 9*j*-*a*i*o.com (WP 7.0) | F | Jul 9, 2026 | |
| o*d*r*o*s.com (WP 6.9.1) | F | Jul 9, 2026 | |
| g*e*a*t*.nl (WP 6.9.1) | F | Jul 9, 2026 | |
| q*e*a*a*e*g.com (WP 6.7.1) | F | Jul 9, 2026 | |
| b*t*i*g*c*m*a*y*m*s*b*t.com | F | Jul 9, 2026 | |
| e*o*u*n*r*b*.com (WP 7.0) | F | Jul 9, 2026 | |
| d*-*e*.org | F | Jul 9, 2026 | |
| w*s*c*s*n*s.com (WP 7.0) | B | Jul 9, 2026 | |
| w*s*-*a*i*o*.com (WP 7.0) | B | Jul 9, 2026 | |
| f*l*.tw | F | Jul 9, 2026 | |
| a*i*h*-*i*u*o*o.com (WP 7.0) | F | Jul 9, 2026 | |
| n*t*o*c*s*n*s.com | F | Jul 9, 2026 | |
| a*i*e*o*e*r*v*l*d.com (WP 7.0) | B | Jul 9, 2026 | |
| m*a*o*b*n*i*n.c*.uk (WP 6.9.1) | F | Jul 9, 2026 | |
| r*b*i*h*l*s*.org (WP 6.9.1) | F | Jul 9, 2026 | |
| m*d*a*t*r*t*a*o*m*.c*.uk (WP 6.9.1) | F | Jul 9, 2026 | |
| e*c*p*r*o*s*e*p*r*.c*.uk (WP 6.9.1) | F | Jul 9, 2026 | |
| w*n*o*h*a*t*c*n*r*.c*.uk (WP 6.9.1) | F | Jul 9, 2026 | |
| a*n*b*l*r*c*s.com (WP 6.9.1) | F | Jul 9, 2026 | |
| c*t*p*o*l*a*u*.c*.uk (WP 6.9.1) | F | Jul 9, 2026 | |
| f*a*d*f*s*e*y.c*.uk (WP 6.9.1) | F | Jul 9, 2026 | |
| k*y*o*.c*m.kz | F | Jul 9, 2026 | |
| c*a*a*a*r*s.com (WP 6.9.4) | F | Jul 9, 2026 | |
| a*b*a*e*t*r*.com (WP 6.9) | F | Jul 9, 2026 | |
| f*z*l*e*w*r*e*.nl (WP 6.9.1) | F | Jul 9, 2026 | |
| w*s*d*t*s*c*r*t*.com (WP 7.0) | F | Jul 9, 2026 | |
| a*i*e*a*j.bio | F | Jul 9, 2026 | |
| g*e*k*p*r*n*r*i*.com | F | Jul 9, 2026 | |
| w*s*o*o*a*h*n*-*0*0.com | F | Jul 9, 2026 | |
| w*s*o*-*f*a*h*n*1*0*.com | F | Jul 9, 2026 | |
| b*t*b*r*.com (WP 7.0) | F | Jul 9, 2026 | |
| w*k*-*i*-*e*y*.com | F | Jul 9, 2026 | |
| k*i*i*b*o*w*b*i*e.com (WP 6.9) | F | Jul 9, 2026 | |
| s*s*e*.se (WP 6.8.3) | F | Jul 9, 2026 | |
| q*a*r*s*r*g*n*.com (WP 6.9.4) | F | Jul 9, 2026 | |
| b*t*e*n*0.com | F | Jul 9, 2026 |