Block Anchor Support
Contribute clean anchor link support to all Gutenberg blocks. Ideal for creating internal navigation and table of contents links.
Plugin info
Maintenance & Compatibility
Maintenance score
Stale • Last updated 269 days ago
Is Block Anchor Support abandoned?
Likely maintained (last update 269 days ago).
Compatibility
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
Description
Easily add anchor links to any Gutenberg block — no custom code required.
Block Anchor Support is a lightweight and powerful plugin that lets you assign custom anchor IDs to any block in the WordPress Block Editor (Gutenberg). With anchor links, you can create internal page navigation, build tables of contents, link to specific sections, and improve accessibility and user experience.
Key Features:
- Add anchor ID support to all Gutenberg blocks
- Works seamlessly with native WordPress UI
- Prevents duplicate anchor IDs
- Auto-suggests unique IDs based on content
- Ideal for single-page websites, FAQs, documentation, and long-form content
No more editing HTML manually — just add your custom ID in the Block Inspector and start linking.
Use Cases:
- One-page websites
- Jump links in blog posts
- Table of contents navigation
- Linking to headings or custom sections
- Smooth scrolling (when paired with a compatible theme or script)
Why use Block Anchor Support?
Unlike other plugins that only work with headings or specific blocks, this plugin adds universal anchor ID support across all blocks — including paragraphs, images, groups, and custom blocks.
Installation
- Upload the
block-anchor-supportplugin to your WordPress site. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- You can now add anchor IDs to all Gutenberg blocks in your posts and pages.
Frequently Asked Questions
You can add a custom anchor ID for each block directly in the Block Inspector (on the right sidebar) in the Gutenberg editor. When editing a block, look for the “Anchor” field in the “Advanced” settings section. Enter your desired anchor ID there, and the block will automatically receive this anchor ID in the rendered HTML.
Yes, you can update or modify the anchor ID for any block at any time by revisiting the Block Inspector and editing the value in the “Anchor” field.
Review feed
Screenshots
Changelog
1.2
- Added support for unique anchor ID generation.
- Improved performance and added checks for duplicate anchors.
- Refactored JavaScript code for better readability.
1.1
- Initial release.