ThemeShaper Forums » Thematic


Create email link from taxonomy display?

(1 post)
  • Started 10 years ago by elderberry
  • This topic is not resolved
  1. elderberry

    I am displaying taxonomies for my custom post type, and I added something like this to the custom template page, and it is working well.

    <div class="custom-taxo-list">
    <?php echo get_the_term_list( $post->ID, 'merchant_address1', '', ', ', '' ); ?>
    <?php echo get_the_term_list( $post->ID, 'merchant_telephone', 'Phone: ', ', ', '' );?>
    <?php echo get_the_term_list( $post->ID, 'merchant_email', 'Email: ', ', ', '' ); ?>
    <span class="show-link"><?php echo get_the_term_list( $post->ID, 'merchant_cat', 'Categories: ', ', ', '' ); ?></span>

    What does not work is the email taxonomy - I need to create an actual email link to the contained text rather than the automatic link to the email taxonomies.

    Suggestions from you php gurus? Thanks!

    Posted 10 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.