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
Use for add custom HTML before/after the table of contents.
Example:
add_filter('lwptoc_before', function ($before) { return '<p>Example text before TOC.</p>' . $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);
See it in action
Screenshots & previews.
Table of ContentsGutenberg SupportClassic Editor SupportCustomize WindowExamples of Color SolutionsWidget SettingsGeneral SettingsAppearance SettingsAuto Insert SettingsProcessing Headings SettingsMiscellaneous Settings
02 / Source details
Getting started.
Installing from the WordPress control panel
01Go to the page “Plugins > Add New”.
02Input the name “LuckyWP Table of Contents” in the search field
03Find the “LuckyWP Table of Contents” plugin in the search result and click on the “Install Now” button, the installation process of plugin will begin.
04Click “Activate” when the installation is complete.
Installing with the archive
05Go to the page “Plugins > Add New” on the WordPress control panel
06Click on the “Upload Plugin” button, the form to upload the archive will be opened.
07Select the archive with the plugin and click “Install Now”.
08Click on the “Activate Plugin” button when the installation is complete.
Manual installation
09Upload the folder luckywp-table-of-contents to a directory with the plugin, usually it is /wp-content/plugins/ .
10Go to the page “Plugins > Add New” on the WordPress control panel
11Find “LuckyWP Table of Contents” in the plugins list and click “Activate”.
After activation
Into classic editor will appear button “Table of Contents” (available on edit post/page screen).
Into Gutenberg editor will appear block “Table of Contents” (see “Common Blocks”).
The menu item “Table of Contents” will appear in the menu “Settings” of the WordPress control panel.
For non-English websites it is recommended to enable the Intl PHP extension.
Website LLMs.txt and LLMs-Full.txt Generator is an LLMs.txt generator and llms-full.txt generator for WordPress. It helps site owners generate, manage, preview, validate, and serve AI discovery files from published public content. Use it to create structured /llms.txt and optional /llms-full.txt end
EngageDock AI is a customizable floating contact widget for WordPress websites that want more leads and faster visitor communication. It helps small businesses turn website traffic into calls, texts, emails, and callback requests from one clean contact panel. Key Features: Click-to-Call – One tap ca
Altify AI is an auto ALT text and AI ALT text plugin for WordPress images. It helps generate descriptive image ALT text for accessibility and image SEO. Use bulk image ALT text tools for your Media Library, generate featured image ALT text automatically, and scale WooCommerce image ALT updates with
The Accepted Payment Methods plugin is a straightforward, lightweight solution that enhances your website by displaying visually appealing icons of the payment methods you accept. This plugin is ideal for a variety of websites, including e-commerce platforms, service-oriented websites, and informati