Make Organizer Email a mailto field

Home Forums Calendar Products Events Calendar PRO Make Organizer Email a mailto field

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1020550
    Sean
    Participant

    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.

    #1020742
    George
    Participant

    Hey @Karly,

    This works for me, I just tested it:

    ">

    Can you post your “system information” as described here? → https://theeventscalendar.com/knowledgebase/sharing-sys-info/

    Thanks,
    George

    PS – that’s indeed an error in the KB article, which I fixed right before posting this reply. Thanks for alerting us about that error!

    #1020893
    Sean
    Participant

    Good afternoon George,

    Thanks for your reply. I my latter snippet again before trying yours (since they both look identical other than the class), and it worked! Not sure why it wasn’t working previously. Perhaps I had been staring at code too long that day and made a typo similar to the KB article 🙂 In any case, this is all set now.

    Best,
    Karly

    #1020985
    George
    Participant

    Thanks for the update Karly – it could’ve been any number of things that led to the delayed success of the snippet, perhaps your server has some simple caching that made it take a while for the file to fully update across the network or something…regardless, I’m glad things work as intended now 🙂

    Best of luck with your site!

    – George

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Make Organizer Email a mailto field’ is closed to new replies.