• I’m using Divi theme, which has no page-titles for archives, categories or tags. My blog page with all posts is named “Articles” in the admin panel, but on the site the page goes without title.

    What i did is – i placed this code into my index.php

    <?php the_archive_title( '<h1 class="archive_title">', '</h1>' ); ?>

    which works great, only it shows “Category:” before the category name, “Tag:” before the tag name and Archive for all posts instead of my blog page name “Articles”.

    The problem with the Divi theme is that it has no template parts, in which i could set their own titles. Divi shows all the posts, archives, categories etc. within one index.php page.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Remove word “Category:” from the_archive_title’ is closed to new replies.