This code enables you to change the wrapping element for the entry title on archives from H2 to H2.
By default, entry titles on single posts are wrapped in H1 and all others are wrapped in H2.
If you want all your post titles wrapped in H1, use this solution.
Simply add this PHP code to the end of your child themes functions file and modify the value for the $wrap variable if needed.
Here’s the code for members:
Get Full Access & Support
You need to pay to fully access this tutorial.
Enjoy unlimited access & coding support by registering.