Add Category name to Post Title (h1)

Question

How to add Category name to post title (H1)? “PostTitle + CategoryName”?

My h1 post title code:

<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
0
, , Seryozha 7 months 0 Answers 88 views 0

Leave an answer