Emails Single and Orgaizer pages

Home Forums Calendar Products Events Calendar PRO Emails Single and Orgaizer pages

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #990569
    Philip Macaulay
    Participant

    OK

    Before last upgrade I had the Organizer email and the Same email in the Single Meta working fine as LIVE LINKS Thanks to a previous post from Barry: https://theeventscalendar.com/support/forums/topic/single-event-view-meta-organizer-email/

    However this does not now seem to be working – Please is there a snippet that can reinstate these emails please:

    See: https://www.londoninternationalshippingweek.com/event/ibia-seminar/ for problem with organizer email

    Thanks

    Phil

    #990812
    Barry
    Member

    Hi Phil,

    It was decided to add additional escaping in our most recent release and that means the snippet provided last time round will no longer have the desired effect – sorry for the inconvenience on that count.

    With that in mind, though, the best way forward would be to create a template override. Copy:

    plugins/the-events-calendar/src/views/modules/meta/organizer.php

    To your theme:

    themes/YOUR_THEME/tribe-events/modules/meta/organizer.php

    Then find this line:

    <?php echo esc_html( $email ); ?>

    Change it to:

    <a href="mailto:<?php echo esc_attr( $email ) ?>"><?php echo esc_html( $email ); ?></a>

    Be sure to remove the snippet provided previously – does that help?

    #990903
    Philip Macaulay
    Participant

    As ever – Thank you Barry!

    #990934
    Barry
    Member

    My pleasure 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Emails Single and Orgaizer pages’ is closed to new replies.