• 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)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘List current custom taxonomy’ is closed to new replies.