Description
A block that automatically creates a list of anchor links to headings in a post.
Usage
Insert the โAuto Anchors Links Listโ block where you’d like it to appear. A post can only contain one โAuto Anchor Links Listโ block. Preview the post to view the list display and test links.
Heading levels h2-h6 are supported. Heading levels (h2 -> h3 -> h4) must be ordered properly; sub-heading levels are indented in the list.
The โAuto Anchors Links Listโ block is automatically updated when headings in the post are modified. Any manual edits to the list will be overwritten. To maintain the list manually, remove the โauto-anchor-links-listโ class from the block to transform it into a WordPress core list block.
Additional Controls
Apply the โManual Anchorโ block style to a heading and then set its anchor text attribute to:
- [empty] A plain heading tag (omitted from auto anchors list)
- [โcustom-anchorโ] A persistent custom anchor; useful for permalinks (included in auto anchors list)
Add a โno-auto-anchorโ class to any heading block to omit it from auto anchors list.
Screenshots
Installation
- Upload the plugin files to the
/wp-content/plugins/auto-anchor-links-listdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the โPluginsโ screen in WordPress
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Auto Anchor Links List” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Auto Anchor Links List” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0
- Release

