This is a step-by-step tutorial on how to create anchor links in your WordPress website.
Anchor links, also known as jump links or page jumping, are hyperlinks that navigate you to a specific place on your webpage. It comes in handy and makes things easier for your reader to navigate to a specific section of the page they’re most interested in.
A table of contents listed on a blog post is a perfect example of using anchor links.
Steps to Create Anchor Links in WordPress
Use this anchor link to jump you to the bottom of this post to watch the how-to video.
- Navigate to the Edit screen of your WordPress page or post you wish to add anchor links to.
- Create the text you wish to apply the link to.
- Navigate to the block you’d like to jump to.
- In the Block settings, on the right side of your screen, open Advanced. In the HTML anchor box, type a word or phrase for your anchor.
- Navigate to and highlight the text on your page that you’d like the anchor applied to (done in Step 2). Click the Link button from the block menu.
- Type the pound sign (#) and your anchor text (as entered in Step 4). Hit Enter.
- Preview changes.
- Test links.
- Update/Save page or post.
Ta-Da! You’ve created an anchor links in your WordPress site!