function get_the_tax_image() { global $term_id; return get_term_image($term_id); }
$website = get_term_meta($term_id, 'website', true); $href = false === strpos($website, '://') ? 'http://' . $website : $website; //------- get_header(); do_action('rhc_before_content'); ?> <div class="venue-container custom-content-area"> <div class="venue-top-info"> <div class="venue-name"><?php echo $term->name; ?> </div> <div class="venue-details-holder"> <div class="venue-image-holder"><?php echo get_term_image($term_id); ?> </div> <div class="venue-defails"> <div class="venue-phone"><label class="tax-telephone"><?php _e('Telephone', 'rhc'); ?> </label><?php echo get_term_meta($term_id, 'phone', true); ?> </div> <div class="venue-email"><label class="tax-email"><?php _e('Email', 'rhc'); ?> </label><?php