Output current Custom Taxonomy name as text in Wordpress

Alan Ashbaugh 12th of June 2012

<?php
$terms_as_text = get_the_term_list( $post->ID, 'city', '', ', ', '' ) ;
echo strip_tags($terms_as_text);
?>
200
Views
0
Comments
0
Downloads
Comments
Only Code Pad members can post comments!

Want to join Code Pad Request An Invite
    No Comments Posted

Suppo - Create, Customize & Host
Your App Support Page at Suppo

Snippet Details

Keyboard Shortcuts

DDownload

TTweet

FFull View

Next Snippet

Previous Snippet