Created
January 5, 2016 13:25
-
-
Save pixelbart/5db215de9c89492c37ab to your computer and use it in GitHub Desktop.
wp-title
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if (is_home()) { ?> | |
<title><?php bloginfo('name'); ?> - <?php bloginfo('description'); ?></title> | |
<?php } else { ?> | |
<title><?php wp_title('»', true, 'right');bloginfo('name'); ?></title> | |
<?php } ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment