Turnatoc – Table of Contents
Turnatoc adds a table of contents to your posts and pages: automatically, with a shortcode, with a block or with a widget. Switching from LuckyWP Table of Contents LuckyWP Table of Contents has not been updated since April 2025. If you used it, your posts contain its [lwptoc] shortcodes and blocks,
Turnatoc adds a table of contents to your posts and pages: automatically, with a shortcode, with a block or with a widget.
Switching from LuckyWP Table of Contents
LuckyWP Table of Contents has not been updated since April 2025. If you used it, your posts contain its [lwptoc] shortcodes and blocks, and other pages link to your headings (for example #How_to_start ). When that plugin is removed, the shortcodes show up as plain text, the blocks disappear and those links stop working.
Turnatoc takes over without editing any post:
- [lwptoc] shortcodes and its blocks are displayed by Turnatoc.
- Heading links (#…) are generated with the same rules, so existing links keep working.
- The table of contents has the same HTML and CSS classes, so the page looks the same, including your own CSS.
- Its general settings and per-post settings are imported with one click. A preview shows what will be imported before anything is written. The import can be undone.
- Its data is never changed. While both plugins are active, each table of contents is still shown once.
Tools > Import table of contents: Preview, then Import. Check a few posts, then deactivate the old plugin.
What is kept as it was: on posts whose headings get no anchors, the links in the old widget go to the top of the page; on classic themes, the colors set on a block are not applied when another table of contents is shown after it. Turnatoc keeps these as they were, so your pages do not change.
Features
- Automatic insertion (post types, position), shortcode [turna_toc] , block, widget.
- Minimum number of headings, depth, skip headings by level or text.
- Hierarchical or flat list; decimal or Roman numbering, nested or not.
- Show/hide toggle, smooth scroll with offset.
- Width, float, font sizes, color schemes and custom colors.
- Hash formats: heading text (transliterated or not), counter; lowercase, dashes.