Hi again! I wanted to report an issue I came across while perusing the following knowledgebase post:
Make Organizer Email a mailto field
Link Organizer Email Address to a New Email
I tried adding this code but it did not produce any changes. Is this snippet still valid?
<dd class="email">
<a href="mailto"<?php echo esc_attr( $email ) ?>"><?php echo esc_html( $email ) ?></a>
</dd>
I also tried changing the quote after mailto to a semicolon, as I think that may be a typo in the snippet. But still nothing.
<dd class="email">
<a href="mailto:<?php echo esc_attr( $email ) ?>"><?php echo esc_html( $email ) ?></a>
</dd>
You can view the code in use my staging site in the referenced URL.
I hope I’ve somehow made an error, but if not, hopefully you can update the article with the correct code. Thank you.