how-to-create-jump-links-in-wordpress

How to Create Jump Links in WordPress (and Increase Your Visibility On SERPs)

Would you like to learn how to create jump links in WordPress?

Jump links can make it easier for readers to find what they want on your pages. And they can boost your SEO.

In this step-by-step tutorial, you’ll learn how to add jump links to your WordPress website easily.

What you’ll need: The All in One SEO (AIOSEO) plugin

Jump links, also called anchor links, are hyperlinks you click on to jump to another section of the same web page. Examples of jump links are a table of contents, a footnote, or a link to a “Related Reading” section.

Jump links can be good for SEO because they may be displayed in search results. Your article snippet may wind up with 3-4 links instead of just 1 title link.

jump links serp example

As you can see in the example above, jump links give searchers a way to click on the exact section of the article they are interested in, like “Fix medium holes.”

And because these links provide additional information about the article, they lead to more click-throughs, a lower bounce rate, and higher conversions.

Are you ready to learn how to get these kinds of results? Let’s get started.

The easiest way to create jump links for SEO is to use a plugin to generate a table of contents from a finished article automatically.

Step 1: Install the All in One SEO (AIOSEO) Plugin

First, we recommend that you download the AIOSEO plugin. One of the best features of this plugin is the AIOSEO – Table of Contents block.

This block will instantly add a table of contents to a completed post.

aioseo-homepage

After downloading the plugin from AIOSEO, open your WordPress editor and go to Plugins » Add New. Then upload the zip file of the plugin.

Have questions? Follow the instructions here to install and activate it.

Now you’re ready to add a table of contents to a post.

Step 2: Add a Table of Contents to an Article

In the WordPress editor, open a post to which you want to add a table of contents.

In the body of the post, place your cursor where you want the table of contents.

  1. Next, click the black + (“add block“) icon.
  2. Type “AIOSEO” in the popup window’s search field and click on AIOSEO – Table of Contents.

    add aioseo table of contents

  3. Now you’ll see the table of contents (TOC) inserted on your page. This is what the TOC looks like in editing mode.

    how to create jump links in wordpress with table of contents

Step 3: (Optional): Edit Your Table of Contents

There are a few ways to edit your table of contents.

You can:

  • Edit the list items
  • Remove list items
  • Re-order list items
  • Edit the style.

How to Edit List Items

To edit a list item, simply place your cursor in the list item field and edit the text. The associated headings in your article will remain the same.

Also, shortening these where possible is a good idea. It makes it easier for readers to scan what’s in your table of contents quickly. If your table of content headings are long, they may be truncated in search results. Here’s an example below.

truncated jump links

In the next example, we’ve edited some of our headings to be shorter:

aioseo table of contents editing

But we have some repeated items (“Supplemental Questions”) which we don’t want to show up in search. Let’s find out how we can hide these from viewers.

How to Remove List Items

To remove individual items from the table of contents, click on the eye icon to the right.

aioseo table of contents remove items

Now that list item will be invisible to viewers. (You can make it visible again by clicking on the eye again.)

How to Reorder List Items

If you want to change the order of the list items, you can easily do this. It won’t affect the order of the associated headings in your article.

  • Click the Reorder button at upper right.

    reorder wordpress table of contents

  • Grab the 6-dot icon next to the item you want to move and drag your heading to where you want it.

    reorder table of contents headers

  • Let go of the icon once your heading is where you want it.

How to Edit the Style

To view your style options:

  • Click on the table of contents area
  • Then click the gear icon at the top of the page.

Now in your right-hand “Block” menu column you’ll see AIOSEO – Table of Contents settings.

aioseo table of contents settings
  • Under List Style you can choose to display your table of contents as a numbered list vs. the default bullet list.
  • Or you can add custom CSS code to alter the appearance. (This is for advanced users.)
aioseo advanced table of contents settings

In this section you’ll learn how to add jump links using just the Gutenberg block editor. Even if you have the AIOSEO plugin, you can use this information for adding individual jump links in the text of your posts.

Step 1: Create an Anchor

  1. On your post, navigate to the block where you want the jump link to lead people to. Place your cursor in that block.
  2. In the right-hand Block menu, scroll down to Advanced. You’ll see a field called HTML anchor. If your cursor is on a heading block, (as in the example below), then this HTML anchor field will be instantly filled in for you.
gutenberg html anchor example
  • If your anchor isn’t a heading block, copy and paste a few words from the block into the HTML anchor field (hyphens will be automatically inserted).
  • If you prefer to create your anchor text by typing it directly into the HTML anchor field, be sure to put hyphens between the words. (You can type in anything you like.)

Tip: You can’t use the same exact anchor text twice on a page.

Now navigate to the place on your page that you want to link from.

  1. Highlight the word or phrase you want to add the jump link to.

    gutenberg highlight text

  2. In the toolbar that appears directly above, click the link icon. (That will open a small pop-up window.)

    gutenberg link popup

  3. In the top-most field of that pop-up, paste your HTML anchor text preceded by a hashtag (#). Then click the square arrow at the upper right to save your jump link.

    how to create jump links in wordpress gutenberg

  4. Save your post draft.

Now, you can preview your post and try out your jump link.

To create anchor links using the WordPress Classic Editor, follow these steps.

Step 1: Create an Anchor

  1. In the upper right-hand corner of your post, switch from the Visual tab (also called the “Visual editor”) to the Text tab (also referred to as the “HTML editor”).

    wordpress classic editor html
  2. Navigate to a header (also called sub-heading) that you want to link to.
  3. Inside the heading tag type id=”your-anchor-name” (choose an anchor name). In this example, we’ll add an anchor to an <h2> tag in our article, surrounding the heading “Next Action Steps.”
html id attribute example

About id Attributes

Note that the “id” attribute must be added within the HTML tag (also called an HTML element).

You’re not restricted to adding id attributes to heading tags though. Here are some examples of other HTML tags you could add id attributes to in order to jump to specific areas of a page:

  • <table>
  • <img>
  • <video>
  • <audio>
  • <map>
  1. Next, highlight the text that you want to add the jump link to. (In the example below, we highlighted “plan your digital actions.”)
  2. Now click the “Link” button at the upper left.

    wordpress classic editor add anchor link

  3. An Insert/edit link pop-up window will appear. In the URL field, type a hashtag (#) followed by the name of your anchor.

    how to create jump links in wordpress classic editor

In the HTML code, your anchor link will look like this:

<a href="#next-action-steps">plan your digital actions</a>
  1. Save your draft and preview/test the page.

As you can see, it’s easier to add jump links in the Gutenberg editor than in the Classic editor.

Now, let’s move on and consider another type of jump link: footnotes.

How to Create Footnotes in WordPress

Footnotes are jump links too, but with a twist: they’re numbered sequentially and provide a way to return to the reference in the body of the article. And they’re represented by superscript numbers in the text.

Because footnotes need special styling, the easiest way to create them is to use a WordPress plugin.

Do a search for “WordPress footnotes plugins” to find one you like.

Before your search, decide whether you want to create different visual styles for your footnotes. If so, look for a plugin that includes design options.

A table of contents makes it easier for users to navigate a long page. This is particularly true for smartphone users.

Here are a few additional ideas for using page jump links.

  • Case study page: Link from an introductory summary to the study itself.
  • Promotional page: Link to a “buy now” or “book appointment” section.
  • Event page: Link to registration section.

Interested in Other Table of Contents Plugins?

We recommended the All in One SEO (AIOSEO) plugin in this article as an easy way to add a table of contents. AIOSEO has high ratings on WordPress.org due to its ease of use and versatility.

If you’re looking for plugins that do one thing only — add a table of contents — check out these options.

  • Heroic Table of Contents
  • Joli Table of Contents
  • LuckyWP Table of Contents
  • SimpleTOC

What’s Next?

When jump links appear in search results, they can boost revenue and conversions. We’ve also seen how they improve user experience by making it easy for site visitors to hop to a specific section of a page.

We hope this post helped you learn an easy way to add jump links to your WordPress site. You may also want to check out how FAQs can supercharge your traffic and add some breadcrumbs for SEO while you’re at it.

If you found this article helpful, then please subscribe to our YouTube Channel. You’ll find plenty of WordPress tutorials there. You can also follow us on Twitter, LinkedIn, or Facebook to stay in the loop.

Want to Try AIOSEO for Free?

Enter the URL of your WordPress website to install AIOSEO Lite.

Please enable JavaScript in your browser to complete this form.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. We only recommend products that we believe will add value to our readers.

author avatar
Sherrie Gossett Content Writer
Sherrie is an SEO analyst based in New Hampshire in the United States. When she’s not busy researching, implementing, and writing about new SEO developments, she can be found hiking and playing guitar.

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.