How to Link to an Email Address in WordPress

How to Link to an Email Address in WordPress


Welcome to WPBeginner in this video I’m going to show you how to add an email link in WordPress specifically I’ll show you two ways to do this quickly and easily but keep watching because we’ll also talk about why you might not want to add these email links to your WordPress website to get started let’s go ahead and head over to our website. We want to log into the WordPress dashboard so add admin to the end of your website that will bringing to your login screen where you can log in. Alright from here we need to decide do you want to create an email link in your post or a page let’s say we’re dealing with a post and we want to add something to it I’ll pick my hello world post to add something adding an email link is very similar to adding a regular link in your website where you highlight the area, click insert, and from here you can type in the HTTP or HTTPS and you add the address click Add link and now you have a hyperlink to a website so adding an email link click insert and then I’m gonna expand the whole thing when doing an email link you simply use the mailto: prefix instead of the HTTP or HTTPS and this is a valid email link on your website The second method of adding an email link it’s useful if you want to add an email to say the sidebar or somewhere in your wordpress theme you’ll want to actually type out the HTML code for it to work So I’m gonna go to our little text editor area I’m going to highlight the code and we want to copy this you can either click command or ctrl C to copy or right click and click copy so you’ll have it in your clipboard so you can use it let me update the post and then let’s head over to appearance widgets because we’ll add the email link to our sidebar area let’s scroll down to find the text widget and I’ll add that to my sidebar paste in the code from the post and click save and now we have an email link on our sidebar area right now that I’ve shown you how you can add the links let’s discuss why you might not want to. For one adding the email link becomes publicly visible and this makes it easy for email bots to scrape your site collect your email and then you start getting a ton of spam The second thing to think about is that users are less likely to switch from using their browser that they’re using to view your site to switching over to using their email client to send the email they’re just not gonna bother doing it. Instead you want to use a contact form on your website and we recommend using WPForms. Did you learn something helpful from today’s video? If so make sure you subscribe to our YouTube channel right now just click on the subscribe button right here and thanks for watching

Comments

  1. Post
    Author
    Rising Star Buddy

    how to reduce the page size of WordPress website. My website home page size is 1.3 Mb and takes 5 seconds to open. What to do ??

  2. Post
    Author
  3. Post
    Author
  4. Post
    Author
  5. Post
    Author
  6. Post
    Author
  7. Post
    Author
  8. Post
    Author
  9. Post
    Author
  10. Post
    Author

Leave a Reply

Your email address will not be published. Required fields are marked *