Change Posts Headers from H3 to H1
-
Hi Elise,
for SEO, I need my “Posts” page (https://www.independent.wine/wine-news-and-blog/) to have H1 heading. In the theme, the Header class is set to H3.
How can I change it to H1? The theme does not allow me to add a custom h1 text via page builder.
Now:
<header class=”entry_header”>
<h3 class =”entry-title”>Wine news & blog</h3>
I need:
<header class=”entry_header”>
<h1 class =”entry-title”>Wine news & blog</h1>
I am happy to edit php, just want to double-check which files. thanks!
Attachments:
You must be
logged in to view attached files.
Hello,
You can edit in this file basel/inc/template-tags.php
please find this function: function basel_page_title()
Best Regards
Elise, thanks!
I changed
<?php if( $page_title ): ?><h3 class=”entry-title”><?php echo wp_kses( $title, basel_get_allowed_html() ); ?></h3><?php endif; ?>
to h1, it worked like a charm!
Hello,
Fine. If you have any questions please feel free to contact us.
Best Regards