WP Manifestindependent plugin directory
manifest / content / empire-toc-wp

Empire TOC

Free WordPress table of contents from H2/H3 with stable IDs. EMPIREX Tech.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/empirextech/empire-toc-wp/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Empire TOC for WordPress

Free automatic table of contents from H2/H3, with stable heading IDs. Built by SC EMPIRE GLOBAL SOLUTIONS SRL (EMPIREX Tech).

Shop: empirex.tech/shop/empire-toc-wp
SKU EMP-WP-TOC-FREE · WordPress 5.8+ / 6.x · PHP 8.0+ · GPL-2.0-or-later

Original EMPIREX module. Not a client dump.

What it does

  • Builds a cuprins from H2/H3 on singular posts and pages
  • Adds id attributes when missing (keeps existing IDs)
  • Deduplicates slugs (prima, prima-2)
  • Stays silent below the minimum heading count (default 2)

Install

  1. Download the ZIP from Empire Shop (free) or clone this repo
  2. Plugins → Upload → Activate
  3. Settings → Empire TOC

Tests

php tests/run.php

Docs

empirex.tech/docs/modules/empire-toc-wp