Disable link on article category

Hello I would like to show category related to an article but not as a link, simply as a word.
Best regard

Sorry but it’s not my question, I don’t want display articles related to a category.
Just want display category name, just this.

In your link I’ve try sommes filters to {post_terms_category}
→ {post_terms_category:text value} don’t remote the link
→ {post_terms_category:plain} don’t remote the link
→ {post_terms_category:value} don’t remote the link

So how to display category name text only ?

1 Like

If you upgrade to v1.7.2 then :plain has been added and works as I’ve just used it myself for this very purpose.

2 Likes

Create a div. Set ‘query loop’. Query terms. Add basic text to loop. Add {term_name}
It lists terms as text, not a link.

Screenshot 2023-04-06 at 12.36.50
Screenshot 2023-04-06 at 12.36.44
Screenshot 2023-04-06 at 12.36.59

Or Simons solution, depending how you need to fetch / display the names.

1 Like

I’m watching the video about it ^^.
It’s not in wordpress update yet, So I go to the Website right not to grab it

:plain filter works now !!! Thanks

2 Likes

I really didn’t know about [term_name] Thanks a lot