Support » Plugins and Hacks » Mailto from php call
3 years, 5 months ago
So I’m attempting to set up a mailto output by calling the author’s email address from the user profile.
Currently I am able to call the email address but I can’t seem to be able to add it to the end of the mailto command.
Below I have attached the code that I currently have, which has had the image source ($src) censored.
$email = (the_author_meta( "email" ));
$src = censored; // image url
echo '<a href=mailto:'. $email .'><img style="border:none;" src="'. $src .'" /></a>';