How do I display a custom taxonomy term in MB Views?

Support MB Views How do I display a custom taxonomy term in MB Views?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #41986
    Brent WilsonBrent Wilson
    Participant

    How do I display a custom taxonomy term in MB Views? For example, a taxonomy of presenter-type, and possible values of "speaker" "musician" "host" etc. And how would I get this to display multiple terms separated by a comma and a space if there are multiple terms?

    #41994
    PeterPeter
    Moderator

    Hello,

    You can use a PHP function to get post terms, for example get_the_terms(), then use the proxy mb. to call it in View. View works as a template in WordPress and uses Twig syntax to write the code.

    Please read more in the documentation https://docs.metabox.io/extensions/mb-views/#running-php-functions

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.