Argentina 1
You have set up [categorypost] rather than [category]. Also, get_the_category() will need to know what post you’re asking about, so you need to specify global $post above and call get_the_category($post->ID). Finally, get_the_category() will return an array, so you shouldn’t return it directly, you’ll need to parse it and determine how you want to display the results. – WebElaine May 28, 2019 at 13:54 @WebElaine get_the_category() doesn’t ne [su_post] [su_posts template=”templates/teaser-loop.php” post_type=”docs” taxonomy=”docs_category” tax_term=”shortcodes” posts_per_page=”4″ orderby=”rand”] [su_posts template=”templates/teaser-loop.php” post_type=”docs” taxonomy=”docs_category” tax_term=”shortcodes”…