You need to use an anchor link (also called a jump link). This process involves two parts: creating a destination anchor id and linking your text to it.
Here is how to do it using the standard WordPress Block Editor (Gutenberg):
Step 1: Set the Destination Anchor
- Open your page or post in the WordPress editor.
- Click on the target block (usually a Heading block like an H2 or H3) that you want the link to jump to.
- In the right-hand sidebar menu, click on the Advanced dropdown settings panel.
- Look for the HTML Anchor text field.
- Type a unique, simple name for your section. Use only lowercase letters and replace spaces with hyphens (e.g.,
our-servicesorcontact-info). Do not include spaces or symbols.
Step 2: Create the Clickable Link
- Scroll up to the text you want users to click on.
- Highlight that specific text.
- Click the Link icon in the floating toolbar (or press
Ctrl + K/Cmd + K). - In the URL search box that pops up, type a hashtag (
#) followed immediately by your anchor name(e.g.,#our-services). - Click Apply or press Enter.
- Click Update or Publish at the top right of your page to save the changes.