LuckyWP Table of Contents icon
Content & Editing

LuckyWP Table of Contents

Creates SEO-friendly table of contents for your posts/pages. Works automatically or manually (via shortcode, Gutenberg block or widget).

  • By LuckyWP
  • v2.1.14
  • Updated

Compare before installing

Actively maintained alternatives to LuckyWP Table of Contents

  • Caution: Updates have slowed Last updated 2 years ago (version 2.1.14).
  • Problem: Not tested with recent WordPress Tested up to WordPress 6.7; the current release is 7.1. Needs PHP 5.6.20+.
  • Pass: Well rated Rated 4.9/5 by 885 users on WordPress.org.
  • Pass: Widely used Active on 90,000+ sites.

It still works, but updates have slowed. If you are choosing a plugin today, these do the same job and are actively maintained.

Easy Table of Contents icon

Best match

Easy Table of Contents

Updated 3 days ago, tested with WordPress 7.1, rated 4.4/5 by 221 users, used on 600,000+ sites.

Setup guide →
Compare LuckyWP Table of Contentsthis plugin Easy Table of Contents Joli Table Of Contents Table of Contents Plus
Last updated 2 years ago3 days ago1 month ago2 months ago
Tested up to WordPress 6.7WordPress 7.1WordPress 7.1WordPress 7.1
Active installs 90,000+600,000+7,000+200,000+
Rating 4.9 / 5 (885)4.4 / 5 (221)4.9 / 5 (43)4.5 / 5 (190)
Hooks for developers 231614411

Switching from LuckyWP Table of Contents?

  1. Try the replacement on a staging copy of your site first.
  2. Note your current settings, shortcodes and widgets. They won't carry over automatically.
  3. Activate the new plugin, recreate the setup, then deactivate and delete the old one.

Need your settings or data moved over? We can migrate it for you.

Find other outdated plugins on your site with the free plugin checker →

Alternatives are matched on features and ranked by maintenance, WordPress compatibility, ratings and adoption, using WordPress.org data.

Overview

LuckyWP Table of Contents describes itself as: “Creates SEO-friendly table of contents for your posts/pages. Works automatically or manually (via shortcode, Gutenberg block or widget).”

It is active on 90,000+ WordPress sites and rated 4.9 out of 5 by 885 users on WordPress.org. Developers can extend it through 2 actions and 21 filters, listed below.

We haven't published a hands-on review of LuckyWP Table of Contents yet. Want one, or need help with it? Send us a request.

How to install LuckyWP Table of Contents

  1. Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
  2. Search for it. Type “LuckyWP Table of Contents” and pick the one by LuckyWP.
  3. Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI

Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:

wp plugin install luckywp-table-of-contents --activate

Requirements: WordPress 4.7+ · PHP 5.6.20+ · tested up to WordPress 6.7.11

Hooks & customisation

LuckyWP Table of Contents 2.1.14 fires 2 actions and 21 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.

luckywp-table-of-contents — top hooks
// Filter in core/front/BaseFront.php
apply_filters( "{Core::$plugin->prefix}theme_views_dir", $this->defaultThemeViewsDir );

// Filter in plugin/Shortcode.php
apply_filters( 'lwptoc_active', true );

// Filter in core/admin/helpers/AdminHtml.php
apply_filters( 'lwptoc_admin_html_button_attrs', $attrs, $options );

// Filter in front/Toc.php
apply_filters( 'lwptoc_after', '' );

// Filter in plugin/Shortcode.php
apply_filters( 'lwptoc_allow', $allow, $post );

// Filter in front/Toc.php
apply_filters( 'lwptoc_before', '' );

Browse all 23 hooks with examples →

LuckyWP Table of Contents: frequently asked questions

Is LuckyWP Table of Contents free?

Yes. LuckyWP Table of Contents is free to download from the official WordPress.org plugin directory and is licensed under the GPL, so you can use it on as many sites as you like. Some developers sell a separate Pro version or paid add-ons; check the developer's website for details.

Is LuckyWP Table of Contents safe to use?

LuckyWP Table of Contents has not been updated for 2 years, so check that it still works with your setup on a staging site first. Users rate it 4.9 out of 5 from 885 reviews on WordPress.org. As with any plugin, keep it updated and only install it from WordPress.org or the developer.

Does LuckyWP Table of Contents work with WordPress 7.1?

It isn't confirmed. LuckyWP Table of Contents was last tested with WordPress 6.7, 4 releases behind the current 7.1, so test it on a staging site before relying on it. It requires WordPress 4.7 or later and PHP 5.6.20 or later.

How many websites use LuckyWP Table of Contents?

LuckyWP Table of Contents is active on 90,000+ WordPress sites, according to WordPress.org. It is currently at version 2.1.14, last updated on April 16, 2025.

What are the best alternatives to LuckyWP Table of Contents?

Plugins that do a similar job and are actively maintained include Easy Table of Contents (600,000+ installs), Joli Table Of Contents (7,000+ installs), Table of Contents Plus (200,000+ installs). See the side-by-side comparison.

Can I customise LuckyWP Table of Contents without editing its code?

Yes. LuckyWP Table of Contents 2.1.14 fires 2 actions and 21 filters that you can use from a child theme or a code snippets plugin, so your changes survive plugin updates. Browse all 23 hooks with examples.

Done for you

Let us deal with LuckyWP Table of Contents for you

Move to a maintained plugin without losing your settings, or keep this one and have it brought up to date.

Update an abandoned plugin

from $249

Keep the plugin your site depends on, made safe for current WordPress and PHP.

  • Compatibility with current WordPress and PHP
  • Security review and fixes
  • Deprecated code replaced
  • You keep a maintained copy

Typical turnaround: 5–10 business days

Choose this

Not sure which fits? Describe what you need and we’ll suggest the simplest option.

Need LuckyWP Table of Contents customised?

Tell us what you want changed, added or fixed and we'll reply with an estimate.

WP EXPERTS is independent and not affiliated with LuckyWP. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 17, 2026.

About the developer

LuckyWP

3 plugins · 98,000+ installs in total · 0 of 3 updated in the last year

  • No recent releases
  • Highly rated
31 maintenance
score
Developer profile →

More plugins by LuckyWP

All 3 →

A great way to insert and manage custom code (CSS, JS, meta tags, etc.) into website before , after or…

3,000+ installs

Alternatives in Content & Editing

See all →

Enables the previous "classic" editor and the old-style Edit Post screen with TinyMCE, Meta Boxes, etc. Supports all plugins that…

8+ million installs Reviewed 4 hooks

Duplicate Posts, Pages and Custom Posts easily using single click

3+ million installs Reviewed 3 hooks

The go-to tool for cloning posts and pages, including the powerful Rewrite & Republish feature.

3+ million installs Reviewed 21 hooks

Enables the previous "classic" widgets settings screens in Appearance - Widgets and the Customizer. Disables the block editor from managing…

2+ million installs Reviewed