How can I make different between h1 tag and title in my tempalte?
-
Hi,
I am using template that retrieve H1 tag from Site title and I want to make it static for home page only. How can I do this? Here is current code
<h1><?php
if ( is_home() ) {
bloginfo(‘title’);
} else {
echo($title);
}
?></h1>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How can I make different between h1 tag and title in my tempalte?’ is closed to new replies.