Most links take a user from one webpage to another. But what if you want to link within the same page?
For example, maybe you want the user to be able to click a link to get back to the top of the page, or jump from one section of a post to another.
Here’s a video walkthrough of linking within a post in WordPress:
Can’t see the video? Watch it here.
Two small pieces of HTML is all you need.
<a href="#samplesection">Text</a>where you want the link to be.
<a name="samplesection"></a>where you want it to jump to.