I am webdesigner that knows some basic CSS and HTML. I never worked with PHP and I don't know how to handle this problem but I think it's fairly easy... Well I hope.
This is the code:
<?php
if ( ! $related && $single ) {
echo '<h2 class="post-title page-title">';
the_title();
echo '</h2>';
} else {
echo '<h3 class="post-title"><a href="' . esc_url( get_the_permalink() ) . '">';
the_title();
echo '</a></h3>';
}
I just want to override it in the Child functions.php so that the H2 will be a H1 for SEO reasons. Can anyone help me on the right track?
Greetings and thanks in advance, Pim van Delft