I want to display the taxonomies within the loop but with customized template.
Here is my code:
if ( have_posts() ) { while ( have_posts() ) { the_post(); $args = array( 'template' => '%s %l', 'term_template' => '%2$s', ); the_taxonomies($args);
The post is in the two categories: "Neues" and "Zweite". This code shows the post with the taxonomies like this:
"Kategorien Neues und Zweite"
how can I change the output like this:
"Neues, Zweite"
without the string "Kategorien" and another seperator "und"?
I tried the $arg = 'sep' => ', ' but this changes nothing.
Thx for help!