Support » Theme: Gridbox » add Category name to post title (h1)

  • Resolved serezh4

    (@serezh4)


    Hello!

    How to add Category name to post title (H1)

    My h1 post title code:

    <?php the_title( ‘<h1 class=”entry-title”>’, ‘</h1>’ ); ?>

Viewing 1 replies (of 1 total)
  • Theme Author ThemeZee

    (@themezee)

    Hi there,

    Thanks for using Gridbox.

    You can create a child theme and override the content.php and content-single.php files within the /template-parts folder.

    You can then add your own code to show the category name next to the post title.

    Best,
    Thomas

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.