When i create a frontpage or another page or post, the titles i choose in the editor become h2-tags when the page or post is launched.
I would very much like this to be a h1-tag instead. Can i change this setting anywhere?
Theme name is 'Rocked' and my website is .
When i create a frontpage or another page or post, the titles i choose in the editor become h2-tags when the page or post is launched.
I would very much like this to be a h1-tag instead. Can i change this setting anywhere?
Theme name is 'Rocked' and my website is http://filmhygge.dk.
You need to alter the template files under the theme folder. In the folder template-parts
there is content-page.php
that renders the page (well, at least the part with the header) and content-single.php
that has the single post's title part.
Just change the <h2>
and </h2>
tags to be <h1>
and </h1>
respectively on the <?php the_title( '<h2 class="entry-title">', '</h2>' ); ?>
part.