Install
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/dedovmaksim/anchorflow/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
AnchorFlow — Smart Table of Contents for WordPress
AnchorFlow generates a table of contents from H2–H4 headings, supports short TOC labels via data-toc, and can be inserted via shortcode or automatically.
Features (v0.1)
- H2–H4 support with depth control
- Optional auto-insert (top / after first paragraph / after first H2)
- Shortcode:
[anchorflow] - Short labels via
data-toc(e.g.<h2 data-toc="System errors">Long heading</h2>) - Optional automatic anchor injection (
id) with uniqueness guarantee - Post type targeting
- Minimal CSS (optional)
Shortcode
[anchorflow]
[anchorflow title="Содержание" min="3"]
🌐 Project Page
Full documentation and development story: https://maksimdedov.ru/cases/anchorflow/