How do I display the category registered in a post type in Wordpress?
I'm using the Odin Framework, I created a post type
called products and would like to display the category next to the post.
Ex: Posted on July 6, 2017 in the category Refrigerators.
In blog posts, to display the categories the following code is used:
<?php echo __( 'Posted in:', 'odin' ) . ' ' . get_the_category_list(); ?>