Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1109257

    Hi guys!!

    I found this ticket: https://kriesi.at/support/topic/add-h1-tag-to-category-pages/#post-413960

    but the code looks different on the Archive.php now. Is there any way I can change the title of the category pages to an H1 via functions.php?

    Thank you for your kind support!

    Havi

    #1109789

    Hey havi,

    In line 32-39 of archive.php it should look like this:

    <?php 
        
        $tds =  term_description(); 
        if($tds)
        {
            echo "<div class='category-term-description'>{$tds}</div>";
        }
    ?>

    Try replacing it.

    Best regards,
    Nikko

    #1119281

    Hi Nikko,

    I will try (for some reason I was not notified of your reply) and see how it fares…

    Thank you!

    Havi

    #1119404

    Hi Havi,

    Thanks for the update, we’ll keep this thread open for you.

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.