Sure, this can be done with a child theme. You’ll want to copy the content.php file from Tracks into your Tracks child theme. Then you can change the <h1> tags to <h2> tags in the content.php file located in your child theme,
Thread Starter
Eljhae
(@eljhae)
Hi Ben,
This is what I did but it doesn’t work (changed line 7 ):
<div <?php post_class(); ?>>
<?php ct_tracks_featured_image(); ?>
<div class=”entry-meta”>
<?php get_template_part(‘content/post-meta’); ?>
</div>
<div class=’entry-header’>
<h2 class=’entry-title’><?php the_title(); ?></h2>
</div>
<div class=”entry-container”>
<div class=”entry-content”>
<article>
……
Could you please let me know if I did something wrong ?
Thanks,
Eljhae
Hi Eljhae,
The file structure of Tracks has changed a bit since my last post. Instead of copying over the content.php file, copy the “content-archive.php” file.
Then, you can change the h1 element on line 13 to an h2 element.
Thread Starter
Eljhae
(@eljhae)
Great, it’s working.
Thanks a lot for your support.
Have a nice day.
No problem, glad I could help 🙂