Skip to content

Instantly share code, notes, and snippets.

@stephenfjohnson
Last active August 29, 2015 14:11
Correct Wordpress Title PHP
<title><?php is_front_page() ? bloginfo('name') : wp_title(''); ?> | <?php is_front_page() ? bloginfo('description') : bloginfo('name'); ?></title>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment