How to Render Only One Category Term with a Link in Bricks Builder?

I am using {post_terms_category} in Bricks Builder to display the categories of a post. By default, it renders all assigned categories with links.

To display only one category, I used {post_terms_category:1}, which successfully shows only the first term. However, I encountered two issues:

  1. The category is displayed without a link to its archive page.
  2. A comma (“,”) is added at the end of the term.

I want to display only one category with a clickable link to its archive page and remove the trailing comma. How can I achieve this ?

I am using this in query loop and the element is meta data
Any help would be greatly appreciated!

add loop for term

To remove the comma, use {post_terms_category: :1}.