I am having trouble with the <a href=“mailto:<address>”> not working properly.
The following:
<a href=“mailto:[email protected]">E-mail Recording Secretary</a>
results in the site address being listed before the email instead of redirecting to the email program to send an email.
Hi Dave,
thanks a lot for your question.
This likely happens, because the quotation marks in your code are incorrect. They are typographically nice ones, instead of “plain” ones from the keyboard. (Compare “ to ").
So, if you use
<a href="mailto:[email protected]">E-mail Recording Secretary</a>
your email links should be working fine.
Regards,
Tobias
Thanks Tobias,
Was wondering if that was the case. Now to figure out how to get the proper ones in the code.
Thanks again.
Dave
Hi Dave,
not sure what you mean here, the quotation marks are simply those from the keyboard (on the German keyboard layout, they are above the “2” key).
Regards,
Tobias
Hi Tobias,
I have just been using my keyboard to type the code, but I end up with wrong quotation marks. Do I need to select the “Preformatted” option in the format drop down menu to get plain quotation marks. Currently I am just using the shift and “ key option to get my quotation marks.
Dave
Hi Dave,
then there’s something messing with result of your keypresses. Are you maybe using some sort of browser plugin for nicer typing?
(I’m asking, because this is also happening to your posts here, so my feeling is that this is some sort of program.)
And what is the “Preformatted” option? Where do you see that? (I have no idea what it is.)
Does copy&paste of the correct quotation marks work?
Regards,
Tobias
Hi Tobias,
I will have to check on the program…nothing that I am aware of. I am using an third party extended keyboard on a Macbook Pro so that may be where the problem is.
Yes, if I copy from a clean code source it works.
The Preformatted option in Studiopress’s Genesis framework using the Agency Theme. It is one of the options to select when formatting text…i.e. headings, bold, italic, etc.
Dave
Hi Dave,
thanks for the explanation.
I’m not familiar with MacOS unfortunately, but simply judging what is happening to the quotation marks that you type in the plugin as well as here in your posts, I really believe that this is coming from some sort of program (or the keyboard).
Your theme should not have an influence, as I don’t see possibilities that it would affect WP-Table Reloaded with its settings. (And it definitely does not affect your postings here.)
Tobias
Thanks Tobias,
I did some digging and realized that my computer was set, system wide, to produce smart quotes. I turned that off and I was able to create the email code in WP-Table Reloaded with no problems.
Thanks so much for your help.
Dave
Hi Dave,
yes, that explains it! 🙂
Great that it works now!
Thanks for posting the solution!
Best wishes,
Tobias