How To Link To An Email Address – WordPress Tutorial
Rate this item

Learning How To Link To An Email Address In WordPress

Creating a link to an email address allows users to send you an email in no time. If you wanna link to an email address, follow this article.

Adding a link to an email address is similar to adding other links in WordPress. When you add a link to any other web page, you usually add http:// or https:// followed by rest of the url. For example, http://www.example.com

Adding a link to an email address

Similarly, you also need to replace the http part with mailto: prefix followed by the email address when you add a link to an email address. For example: mailto:john@example.com

To add an email in a WordPress post, you just select the the text you want to add the link to, then press CTRL+K (Command+K on Mac) or click on the ‘Insert Link’ button in the post editor. It will show the insert link popup where you need to add your mailto link. Just click on the “Apply” button. WordPress will automatically detect that the text you are trying to link is an email address and will add the mailto: prefix to the email address.

add an email in a WordPress post

If the text is not a valid email address then you need to add a complete link.

add a complete link

If you want to add an email link in WordPress using HTML, then follow this:

<a href=”mailto:john@example.com”>Email Me</a>

add-an-email-link-in-wordpress-using-html

It’s simple, right? Now, visit your website and view results offline.

Thanks for your reading, and if you have any questions with this blog, don’t hesitate to let us know by leaving a comment.

Do you have problems after update your Joomla! website from version 3.x to Joomla! 3.8.1 ? See step by step how to solve it!
Get Templates & Sample Data as Live Demo, Unlimited Features, Copyright Removal and 1 Year Support Service! Receive a 25% discount when you purchase a professional license!