How to Make a List of Taxonomies (Categories)

Support MB Views How to Make a List of Taxonomies (Categories)Resolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #30159
    JanosJanos
    Participant

    Hello,

    I would like to make a list of all taxonomies (like a query). No posts, only the taxonomy terms (categories) and their description, featured image, etc.

    Is it possible in Views? If not, how could I do this?

    Thank you!

    #30169
    Long NguyenLong Nguyen
    Moderator

    Hi Janos,

    Yes, it is possible. Please follow this documentation to know how to run a PHP function in View https://docs.metabox.io/extensions/mb-views/#running-php-functions

    Then you can use the WordPress function get_terms() to list the taxonomies
    https://developer.wordpress.org/reference/functions/get_terms/

    #45514
    pixluserpixluser
    Participant

    Hello, Someone know the code… impossible to make it work.

    I'm trying to list some custom terms (with their image attached) of a custom post type… impossible.

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