• Resolved Sinkadus

    (@niwin)


    Hi

    In the meta info on single events, the email I put in for “Organizer” is not linked with “mailto:”, as I think it should be. Do you agree? Or is it some setting I have missed?

    thanks!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Darian

    (@d0153)

    Hi @niwin

    Thanks for reaching out. Let me me help you with this one.

    Currently, the template is not using mailto: for the organizer’s email on the single events page. However, you could override the-events-calendar/src/views/modules/meta/organizer.php
    by creating a file at:
    [your-theme]/tribe-events/modules/meta/organizer.php

    From there, you can modify line 57-59 to:

    <dd class="tribe-organizer-email">
       <a href="mailto:<?php echo esc_attr( $email ); ?>"<?php echo esc_html( $email ); ?></a>
    </dd>

    I hope this helps, and please let me know if you have further questions or concerns.

    Thread Starter Sinkadus

    (@niwin)

    Thanks! This, however, made the email disappear, and created lots of email-links below the div (visible if you inspect). So something did not work out as planned… can you take another look?

    Plugin Support Darian

    (@d0153)

    Hi @niwin

    Can you try this code instead, and see if that helps:

    <dd class="tribe-organizer-email">
       <a href="mailto:<?php echo esc_attr( $email ); ?>"><?php echo esc_html( $email ); ?></a>
    </dd>

    Let me know how it goes.

    Thread Starter Sinkadus

    (@niwin)

    That did the trick! Thank you!

    I’ll just go and leave a 5 star review now ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘E-mail in meta info not linked’ is closed to new replies.