Skip to main content
deleted 14 characters in body
Source Link
JMau
  • 2.9k
  • 5
  • 20
  • 27

Well, I'd use this :

echo strip_tags(get_the_term_list( $post->ID, 'visits', 'Visits ', ', ', ' ' ));

EDIT : We use strip_tags() to deactivate link on taxonomies. This has to be used within the loop.

Well, I'd use this :

echo strip_tags(get_the_term_list( $post->ID, 'visits', 'Visits ', ', ', ' ' ));

EDIT : We use strip_tags() to deactivate link on taxonomies. This has to be used within the loop.

Well, I'd use this :

echo strip_tags(get_the_term_list( $post->ID, 'visits', 'Visits ', ', ', ' ' ));

EDIT : We use strip_tags() to deactivate link. This has to be used within the loop.

added 166 characters in body
Source Link
JMau
  • 2.9k
  • 5
  • 20
  • 27

Well, I'd use this :

echo strip_tags(get_the_term_list(...etc $post->ID, 'visits', 'Visits ', ', ', ' ' ));

EDIT : We use strip_tags() to deactivate link on taxonomies. This has to be used within the loop.

Well, I'd use this :

strip_tags(get_the_term_list(...etc));

Well, I'd use this :

echo strip_tags(get_the_term_list( $post->ID, 'visits', 'Visits ', ', ', ' ' ));

EDIT : We use strip_tags() to deactivate link on taxonomies. This has to be used within the loop.

Source Link
JMau
  • 2.9k
  • 5
  • 20
  • 27

Well, I'd use this :

strip_tags(get_the_term_list(...etc));