Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if (tribe_address_exists( get_the_ID() ) ) : ?>
- <tr>
- <td class="tribe-events-event-meta-desc"><?php _e('Address:', 'tribe-events-calendar'); ?><br />
- <?php if( get_post_meta( get_the_ID(), '_EventShowMapLink', true ) == 'true' ) : ?>
- <a class="gmap" itemprop="maps" href="<?php echo tribe_get_map_link(); ?>" title="Click to view a Google Map" target="_blank"><?php _e('Google Map', 'tribe-events-calendar' ); ?></a>
- <?php endif; ?></td>
- <td class="tribe-events-event-meta-value"><?php echo tribe_get_full_address( get_the_ID() ); ?></td>
- </tr>
- <?php endif; ?>
Add Comment
Please, Sign In to add comment