Recent blog post titles on my homepage are H5
and I would like them to be H2
.
What php file needs to be edited? See image.
I have tried changing template-parts/posts/loop/post-simple.php
Changed h5
to h2
as shown below. It did not work.
<code><div class="box-text spacing-medium text-center">
<h2 uppercase"><?php the_title(); ?></h2>
<?php the_title( '<h2 class="post-title">', '</h2>'
</code>
<code><div class="box-text spacing-medium text-center">
<h2 uppercase"><?php the_title(); ?></h2>
<?php the_title( '<h2 class="post-title">', '</h2>'
</code>
<div class="box-text spacing-medium text-center">
<h2 uppercase"><?php the_title(); ?></h2>
<?php the_title( '<h2 class="post-title">', '</h2>'
NOTE: I am not sure I’m editing the correct file
New contributor
Cal Stanke is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1