• Resolved Radmacdaddy

    (@radmacdaddy)


    I’d like to have the person’s name in my the-events-calendar.php link to their website, like it does in single.php

    also, to have the email be a mailto link.

    I have a customized Events list: http://shamanscircle.com/workshops/workshop-welcome/

    I’ve customized line 80 of the-events-calendar.php for the list as so, for the get contact, email & phone.

    <style= "font-style:normal""text-align: left; ">Contact: '.tribe_get_organizer(get_the_ID()).'</><br><style= "font-style:normal""text-align: left; ">'.tribe_get_organizer_email(get_the_ID()).' '.tribe_get_organizer_phone(get_the_ID()).'</></br>

    I see the string in single.php… web link:

    <?php if ( tribe_get_organizer_link( get_the_ID(), false, false ) ) : ?>
    			<dt class="event-label event-label-organizer"><?php _e('Contact:', 'tribe-events-calendar') ?></dt>
    			<dd class="vcard author event-meta event-meta-author"><span class="fn url"><?php echo tribe_get_organizer_link(); ?></span></dd>
          <?php elseif (tribe_get_organizer()): ?>
    			<dt class="event-label event-label-organizer"><?php _e('Contact:', 'tribe-events-calendar') ?></dt>
    			<dd class="vcard author event-meta event-meta-author"><span class="fn url"><?php echo tribe_get_organizer(); ?></span></dd>
    		<?php endif; ?>

    and mailto:

    <?php if ( tribe_get_organizer_email() ) : ?>
    			<dt class="event-label event-label-email"><?php _e('Email:', 'tribe-events-calendar') ?></dt>
    			<dd itemprop="email" class="event-meta event-meta-email"><a href="mailto:<?php echo tribe_get_organizer_email(); ?>"><?php echo tribe_get_organizer_email(); ?></a></dd>
    		<?php endif; ?>

    Thanks

    http://wordpress.org/extend/plugins/the-events-calendar/

    [No bumping, thank you.]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey radmacdaddy. Thanks for the post here, and for your follow-up. While this may be outside the scope of what we can provide (since we aren’t really able to help with customizations for non-PRO users), I know you’ve been active on the forum for a while here and I want to see if we can point you in the right direction.

    As such, I’ve asked Jonah from our dev team to take a look here and see if he has any advice. No guarantees we’ll be able to solve it but it’s worth a shot. Stay tuned and thanks for your patience so far.

    Hey radmacdaddy,

    I’m not sure I understand what you are asking here. By default, if there is an email and website input for an organizer, it will be used on the single event page. Are you looking to have this same functionality on the events list?

    Thanks,
    Jonah

    Hi radmacdaddy! Barry from the community team here: just checking in to see if you need any more help here? Otherwise we’ll close this issue out at our end.

    Going to mark this one resolved, radmacdaddy, as we haven’t heard back from you. Let me know if you disagree.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Mailto link setup’ is closed to new replies.