H1 Tag for Logo only on Home Site
-
Hey Y’all,
How can I add an <h1> tag for my site ?I understand that this will have to be done through a function variable, something that could include this:
$tag = (is_home() || is_front_page()) ? ‘h1’ : ‘div’;
However, it’s a bit over my head, could someone help me as to what to put in the header and what in the functions.php?
Thanks you I really appreciate it!
Naomi
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘H1 Tag for Logo only on Home Site’ is closed to new replies.