Meta Box
Support Forum
Support › MB Views › How to Make a List of Taxonomies (Categories)Resolved
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!
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/
get_terms()
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.