Skip to main content

How to Add a Hyperlink in WordPress

Learn how to add clickable links to text in your WordPress pages and posts.

Updated this week

What is a Hyperlink?

A hyperlink (or link) is clickable text that takes visitors to another page, website, or file when clicked. Hyperlinked text typically appears underlined and in a different color.


Method 1: Text Block Element (Most Common)

  1. Open your page in Avia Layout Builder

  2. Add or edit a Text Block element

  3. In the text editor, highlight the text you want to turn into a link

  4. Click the chain link icon in the toolbar

  5. In the popup window:

    • URL: Enter the web address (e.g., https://www.example.com)

    • Title: Optional tooltip text that appears when hovering

    • Open link in a new window: Check this for external sites

  6. Click Insert

  7. Click Save on the Text Block element

  8. Update the page


Method 2: Button Element

For prominent call-to-action links, use the Button element:

  1. In Avia Layout Builder, add a Button element

  2. Configure the button:

    • Button Label: Enter the text to display

    • Button Link: Enter the URL or select a page

    • Open in new window: Choose yes for external links

  3. Choose your button style and size

  4. Click Save

  5. Update the page


Method 3: Special Heading Element

To make heading text clickable:

  1. Add or edit a Special Heading element

  2. Enter your heading text

  3. Scroll to Link Settings

  4. Apply link: Select "Manually"

  5. Link: Enter the URL

  6. Click Save

  7. Update the page


Link Best Practices

Check links before publishing - Preview your page and test all links

Use full URLs for external sites - Always include https:// at the beginning

Open external links in new windows - Check the "Open link in a new window" option for external sites to keep visitors on your site


Common Link Types

Link to another page on your site:

  • Start typing the page name and select it from the dropdown, or paste the page URL

Link to a website:

Link to an email address:

Link to a phone number:

  • Enter: tel:123-456-7890

Link to a document:

  • Upload the document to your Media Library first

  • Copy the file URL and paste it as your link


Troubleshooting

My link doesn't work

  • Make sure the URL includes https:// at the beginning

  • Check for typos in the URL

  • Click "Update" to save your page changes

  • Clear your browser cache and test the link

I can't find the link icon in the text editor

  • Make sure you're editing a Text Block element (not a code block)

  • Highlight the text first before looking for the link icon

  • The link icon looks like a chain link in the editor toolbar

The link color doesn't match my site

  • Link colors are controlled by your Enfold theme settings

  • Contact Member Splash support if you need help adjusting link styling

Did this answer your question?