• Resolved Jacqueline

    (@wplien)


    Hello,

    a while ago I created several “social menu” buttons in the header by using customizer. All the buttons worked out fine; the e-mail button directed to my e-mail address as it was supposed to do. Yesterday however, I found out that by clicking the button, it creates an e-mail with an invalid e-mailaddress (starts with https:// followed by the correct emailadress). I’ve been searching the web for solutions, but can’t figure out what the issue is. Can anyone help me out?

    Thanks so much!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @wplien,

    Sincere apologies for the inconvenience. This was actually my personal mistake when I was working on accessibility, so double apology. It will be resolved with the next update.

    In the meantime, you can edit the theme files using the inbuilt WordPress Theme Editor (Appearance > Theme Editor).

    Edit the following files:
    partials/header/social.php
    partials/top bar/social.php

    Edit ONLY for email and Skype, by replacing $esc_url with esc_attr( $url ).

    Let me know if this was helpful

    Thread Starter Jacqueline

    (@wplien)

    Hello Marko,

    thank you so much for your answer. I replaced $esc_url with esc_attr( $url ) at just one spot (right after “antispambot” and now the e-mail button is working as it should. You’re answer was very helpful!

    Kind regards,
    Jacqueline

    Hello @wplien,

    You’re most welcome!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘e-mail button in header doesn’t direct properly’ is closed to new replies.