Multi purpose header email link clickable ?

Posted in: Newspaper
Post count: 12

Hi,
can you tell me how i can make the email adress clickable when setup in header and footer via the multi-purpose general settings ?
The email adress is showing perfect in header and footer but is not clickable.
thx for helping me out.

Post count: 22421

Hello,

The email in our theme does not have an anchor tag so it can only be enabled through customization. You can find the code here: https://www.screencast.com/t/6UbdW3oVMtVj and here: https://www.screencast.com/t/96N7eBREk

Thank you!

Post count: 12

Thx for the info, and which code should i add ?
sorry i’m not a developer…

Post count: 22421

Hello,

You should add a html anchor tag: https://www.w3schools.com/tags/tag_a.asp
Here is an example: https://www.screencast.com/t/qpTW8iqwCer

Thank you!

Post count: 12

Hello,
so if i get it right i need to change it to this then ?
<?php echo ‘ <span>’ . _td(‘Email:’, TD_THEME_NAME) : ‘</span> ‘ . ‘‘ . td_util::get_option(‘tdm_email’).’‘; ?>

and the email adress will be filled in ?
why 2 times in this line ?

thx for your help to get it right for me

Post count: 12

sorry can you provide me example with a mailto link ??

Post count: 20688

Hi,

You can find examples online, such as these tutorials
http://www.wpbeginner.com/beginners-guide/how-to-link-to-an-email-address-in-wordpress/
https://premium.wpmudev.org/blog/link-wordpress-email-address/

I have tried something like this in the top bar template, could be done differently probably but it seems to work
https://www.screencast.com/t/7qUUQ8SHwtDA
https://pastebin.com/bjepEu1y
You could give it a try and see if it works for you as well.

Thanks

Post count: 1

I find it absurd that to insert a mailto tag in a button you have to edit two php files. but what are you waiting for to insert it by default????

i need to put a mailto into a button ad its impossible

Post count: 21065

Hello @medioformato !

If you use cloud templates, then a workaround could be this: https://prnt.sc/pLTjGXtQaUXC
More information about cloud templates can be found here:
https://forum.tagdiv.com/cloud-library-templates/
https://forum.tagdiv.com/design-post-pages-using-cloud-library-templates/
https://forum.tagdiv.com/cloud-library-category-templates/

Thank you!

Viewing 9 posts - 1 through 9 (of 9 total)
The forum ‘Newspaper’ is closed to new topics and replies.