Created
June 9, 2012 15:44
-
-
Save jo-snips/2901504 to your computer and use it in GitHub Desktop.
The Events Calendar: Echo Custom Field
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo '<a href="<?php tribe_get_custom_field('Label For Custom Field Link'); ?>">My Link</a>; |
Author
jo-snips
commented
Jun 11, 2012
Author
<?php if( function_exists('tribe_the_custom_fields') && tribe_get_custom_fields( get_the_ID() ) ): ?>
<?php tribe_the_custom_fields( get_the_ID() ); ?>
<?php endif; ?>
<dt class="event-label event-label-custom"><?php _e('Custom Field:', 'tribe-events-calendar') ?></dt>
<dd class="event-meta event-meta-custom"><a href="<?php echo tribe_get_custom_field('Label For Custom Field Link'); ?>">My Link</a></dd>
</div>
<?php if( tribe_embed_google_map( get_the_ID() ) ) : ?>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment