WordPress GuidePages → Anchor Links

WordPress anchor links: How to create page jumps

Smiling woman working on a laptop.

Anchor links are a great way to enhance navigation on your WordPress site. They allow users to jump directly to specific sections of a page with ease. This feature is particularly useful for lengthy articles, detailed guides, or product descriptions. 

Understanding how to use anchor links can streamline your content and keep your visitors engaged.

Get fast, reliable hosting for WordPress

Power your site with the industry’s fastest, most optimized WordPress hosting

What is an anchor link?

A WordPress anchor link is a hyperlink that directs users to a specific section of a page using an HTML ID attribute. These links, often referred to as ‘page jumps,’ allow users to quickly navigate to specific sections within a webpage. 

Anchor links work by linking to a specific ID assigned to an HTML element on your page. When a visitor clicks on an anchor link, the browser jumps to the designated section.

Why use page jumps?

Page jumps are invaluable tools for enhancing user experience and navigation on your WordPress site. They allow visitors to quickly jump to specific sections of a long page, making it easier for them to find the information they need without scrolling. This can improve engagement and reduce bounce rates, as users are more likely to stay on your page when they can easily navigate to their desired content.

Utilizing page jumps is particularly beneficial in a variety of scenarios. 

Incorporating page jumps into your WordPress site not only aids in user navigation but also encourages deeper engagement with your content. 

How to automate headings as anchor links

If you’re comfortable with HTML, you can directly code the anchor links into your WordPress posts or pages. Simply add the anchor tag at your target location and reference it with an href link as described above.

How to use anchor links in a menu

Include anchor links in your WordPress menu by going to the Appearance > Menus section, adding a custom link, and using the anchor link format #your-anchor-name as the URL.

Additional resources

How to build a WordPress site →

A complete beginner’s guide that covers 9 key steps to a successful launch

WordPress Slug: What is it and what should you do with it? →

Learn how to create and optimize URL slugs for better SEO and user-friendly WordPress permalinks.

How to use WordPress Gutenberg blocks →

A complete beginner’s guide to Gutenberg blocks

Trust us to help you choose the ideal hosting solution

Loading form…