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 GitLab with WP-CLI:
wp plugin install https://gitlab.com/simon_w/auto-header-ids/-/archive/main/auto-header-ids-main.zipAutomatically generate IDs for header tags in your page content.
Description
Being able to link directly to sections within your content requires those sections to have IDs. Manually creating IDs, especially in longer pages and posts, can get tedious. This plugin will automatically generate IDs for you.
It works by looking at any h1–h6 tags and, if the tag does not already have
an ID, generating one from the content of the tag.
As long as you're using the_content() or the wp:post-content block, headers
will automatically receive IDs once the plugin is installed and activated.
Support is available by creating an issue in Gitlab.