Introduction to Page Jumps Block
In WordPress, the Page Jumps Block, often referred to as the “Anchor Link” feature, allows you to create hyperlinks that jump to specific parts of a page. This feature is particularly useful for long content, enabling readers to quickly navigate to sections of interest.
How Page Jumps Work
Page Jumps operate through the use of anchor links. An anchor link is a type of hyperlink that connects to a specific area within a page, rather than taking you to a different page. This is achieved by linking to an anchor point, which is identified by a unique identifier (ID).
Creating Anchor Points
To use Page Jumps, you first need to create anchor points in your content. This is done by adding an ID to a block, usually a heading.
Step 1: Selecting a Block
Choose a block that you want to use as an anchor point, typically a heading. Click on the block to select it.
Step 2: Adding an ID
In the block settings on the right sidebar, look for the ‘Advanced’ section. Here, you will find a field to add an HTML anchor. Enter a unique ID for your anchor. This ID should be simple and descriptive.
Creating a Page Jump Link
After setting up anchor points, you can create hyperlinks that jump directly to these points.
Step 1: Adding a Hyperlink
Select the text or image you want to use as a hyperlink. Click on the link icon in the toolbar.
Step 2: Linking to the Anchor
# followed by the ID of the anchor point you created. For example, if your anchor ID is
section1, you would type
#section1. This tells the hyperlink to jump to the anchor point with that ID on the same page.
Best Practices for Using Page Jumps
- Keep IDs Unique: Each anchor point should have a unique ID to avoid confusion.
- Descriptive IDs: Use IDs that describe the section they link to, making it easier to manage.
- Testing: Always test your page jumps to ensure they work as expected.
Page Jumps in WordPress are a valuable tool for enhancing the usability of long web pages. By setting up anchor points and linking to them, you can create a more navigable and user-friendly website. This feature is especially beneficial for content-heavy sites, like blogs, informational sites, and portfolios. Remember to test your links and keep your IDs unique and descriptive for the best results.