Hi guys, I’m wondering what’s the best/smartest way to add a H1 title to the homepage only.
I thought of 2 options:
1) wrap the homepage title in <h1>
2) replace the first <h2> tag with <h1> by editing page-title.php
<?php if ( is_home() ) : ?> <h2><?php echo alx_blog_title(); ?></h2>
What would you suggest?
- The topic ‘Best way to add a H1 tag to the Homepage?’ is closed to new replies.