How to Add an Email Address in WordPress

How to Add an Email Address in WordPress

Adding an email address in WordPress can help you improve communication. This is because adding this link will help your visitors to send you email with a single click instead of having to open their emails and then typing your long email address. The purpose of this post is to help you learn how to link your email address in your WordPress website.

How to link your email address
If you know how to add links in WordPress, then creating a link to your email address will be very easy. The process is the same. Adding a link simply requires you to add http:// or http:// followed by your link. For example, it can be https://webaddress.com. The process is the same when adding an email link. You just need to replace the http:// part with ‘mailto:’ then add your email address.

mailto:myemail@example.com

To add the above link to your post, you need to select the text that you want to add the link then press CTRL+K together (if you are using a Mac, press Command + K). Alternatively, you can just select the ‘Insert Link’ button from the post editor. This will bring up the insert link popup. Add the email link here and then click apply. You can add the email link to just any text.

Adding manually using HTML
Adding an email address in WordPress can also be done manually using HTML. This is more practical when you want to add a text widget or WordPress theme file. You need to write the following:

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

Why shouldn’t add email links in your post
As simple as it is to add the email link in your post, it is not the best way to go. The reason for this is because your email will become publicly visible when you add it in your posts or pages. This will give email scraping bots to get your email address thus leading to tons of spam mail.

The second disadvantage is the fact that most users will be unwilling to switch applications from their browser to the email client to send you an email. Other times, users will be unwilling to email you using their primary email address.

To avoid the problems that come with adding an email address in WordPress, you should just add a contact form. The WPForms make it easy for you to do this. This is a beginner friendly plugin you can use to create the contact form. Alternatively, you can encode your email address to beat the email scraping bots.

Email address in WordPress