Support » Fixing WordPress » Email Address Linking Wrong

  • cooper


    The posts on my email address are not doing the Mailto function. For some reason it is putting my url/ It then sends the person back to the homepage. Any ideas where its adding the url part?

    I am using the K2 Theme.


Viewing 5 replies - 1 through 5 (of 5 total)
  • techwench


    All the email links are showing up as mailto: links.

    BUT, you do have something wrong with your sidebar. Way down at the bottom of the page:

    Parse error: parse error, unexpected '}' in /home/beenthe1/public_html/wp-content/themes/beenthere/sidebar.php on line 11



    Thanks, I understand there is an error in the bar, and am looking into that one.

    Most importantly the links aren’t actually linking as mailto: For example, if you look at the latest post under sponser a family, you will see that the link is :
    not mailto:

    Any other advise you could give??

    Thank you so much.


    Les Bessant


    You mean the email address linked from the commenter’s name? Those are behaving oddly – looks like it’s putting the value of the email address field into a link intended for the website address.

    You’ll need to look in your theme’s comments.php file to see what’s happening there.

    If you’d like someone here to look, copy and paste the contents of the file here: (not into the forum, as that can be impossible to read) and post back here with the link the site gives you.




    Thanks for your help, I pasted the comments.php file here:

    Thanks so much!




    Your original post didn’t say that it was happening in the comment author link.

    It’s showing up like that because the url field is supposed to be used only for web urls.

    If “Emily” entered her email in the url field 1) that’s not very smart with all the email harvesters for spam out there and 2) it’ll format it for a web url.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Email Address Linking Wrong’ is closed to new replies.