Have you ever wanted to have a word or piece of text on your page that you want to link to another part of the same page?
This is a regular question asked in my WordPress Training sessions. Sometimes something that sounds simple can suddenly become a real challenge. That being the case I thought it useful to write a short article about how you can achieve this on your WordPress website.
Sometimes call a 'jump link'
So you want to link to an area further down the same web page like this:
This is called adding a 'jump link' or 'anchor tag/link' . How do you easily add this to your WordPress website? Well, it's not as complicated as you may think. Let me show you...
Addin your Anchor Link (Tag)
The first stage is to open the WordPress page you want to add your 'jump link' ('anchor link') text to. Locate the text you want to hyperlink, select it and click the link button in your WordPress editor screen.
Decide on a unique ID for your link your anchor/jump link. It must begin with a letter. In the example on this page, I have used 'takeaway'.
Use the HTML Text editor to add your link, where you want your text link to jump to, to look like this:
Then on the text you want to be the link add the following:
<a href="#takeaway">The Takeaway</a>
As you can see, the a href is taking you to #takeaway - the unique ID of your link with a #at the front. Then between the > and the closing </a> is the text that is the link.
So linking to another part of your page isn't too scary, is it?
A simple snippet of code that you can keep to help you create on-page links for your WordPress website. If you need any one-to-one WordPress training to help you solve similar problems like this or more complex issues and ideas you need help implementing, then, drop me an email and we can chat about your WordPress training needs.