display all categories in wordpress code example Example: wordpress display post categories <?php the_terms( $post->ID, 'topics', 'Topics: ', ', ', ' ' ); ?>