/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php if (is_home()) { ?> <title><?php bloginfo('name'); ?> - <?php bloginfo('description'); ?></title> <?php } else { ?> <title><?php wp_title('|', true, 'right'); bloginfo('name'); ?></title> <?php } ?>