mage-eventpress/templates/template-prts/organizer.php

9 lines
305 B
PHP

<?php
add_action('mep_event_organizer','mep_ev_org');
function mep_ev_org(){
global $author_terms;
if($author_terms){ ?><p> <?php _e('By:','mage-eventpress'); ?> <a href="<?php echo get_term_link( $author_terms[0]->term_id, 'mep_org' ); ?>"><?php echo $author_terms[0]->name; ?></a></p><?php }
}