Se quello che vuoi fare è mostrare la categoria dell'articolo singole nella lista mostrata, potresti usare questo all'interno del ciclo dove viene appunto ciclata la lista con il "while"
Dove vedi questa parte di codice, hai la lista dei post
Qui l'esempiocodice:<?php //query_posts('orderby=rand'); while ( have_posts() ) : the_post(); ?> <?php /* Include the Post-Format-specific template for the content. * If you want to overload this in a child theme then include a file * called content-___.php (where ___ is the Post Format name) and that will be used instead. */ get_template_part( 'content', get_post_format() ); /*QUI ALL'INTERNO DEL CICLO PUI USARE QUESTO....*/ the_category(); ?> <?php endwhile; ?>
https://codex.wordpress.org/Function...e/the_category e il codoce sopra modificato