Title: List current custom taxonomy
Last modified: August 20, 2016

---

# List current custom taxonomy

 *  [baszer](https://wordpress.org/support/users/baszer/)
 * (@baszer)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/list-current-custom-taxonomy/)
 * I have got a short question. I want to list the name of the current taxonomy.
   The following code works, accept it gives my current taxonomy as a URL.
 * `<?php echo get_the_term_list( get_the_ID(), 'name_of_tax_type', 'All' ); ?>`
 * How to get rid of the url?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [baszer](https://wordpress.org/support/users/baszer/)
 * (@baszer)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/list-current-custom-taxonomy/#post-2411489)
 * anybody an idea?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/list-current-custom-taxonomy/#post-2411501)
 * Try `<?php echo strip_tags( get_the_term_list( get_the_ID(), 'name_of_tax_type','
   All' ) ); ?>`

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘List current custom taxonomy’ is closed to new replies.

 * 2 replies
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [14 years, 5 months ago](https://wordpress.org/support/topic/list-current-custom-taxonomy/#post-2411501)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
