R
R
Ruslan Makarov2016-02-16 15:13:35
WordPress
Ruslan Makarov, 2016-02-16 15:13:35

How to display a WordPress taxonomy element without links?

Good day!
Please tell me...
Here is the code:
<?php the_terms( $post->ID, 'status'); ?>

Will output the list as links for the "status" taxonomy (like standard tags)

Question:
How to do the same, but not in the form of links, but just a "label" header.
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
Zhainar, 2016-02-16
@facepook

wp-kama.ru/function/get_the_terms

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question