How Do I Add an Anchor Link in WordPress Block Editor?

Anchor links are a great way to keep your readers connected with the content they’re reading. You can add an anchor link to any block of text in the WordPress Block Editor by selecting the text, clicking the “Anchor” button, and entering the link you want to use.

Once you’ve added an anchor link, you can use the “Link to This Page” field to specify the page on your site where your reader can find the link. You can also use this field to specify the link’s Target attribute, which determines where the link will appear on the page.

To create a link that leads to a specific paragraph or section of your content, use the “Link to Specific Paragraph” field. To create a link that will take your reader to the first instance of a specific word or phrase anywhere on your site, use the “Link to First Instance” field.

When you’re finished editing your anchor links, click the “Generate Links” button to generate the links and add them to your content.

If you want to add a link to a specific post or page on your site, you’ll need to use the “Link to Post or Page” field. You can also use this field to specify the link’s Target attribute, which determines where the link will appear on the post or page.

Finally, you can add a caption to your anchor links by entering a brief description in the “Caption” field.