Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save yellowberri-snippets/7cbcdcdcc8962acfafeb to your computer and use it in GitHub Desktop.
Save yellowberri-snippets/7cbcdcdcc8962acfafeb to your computer and use it in GitHub Desktop.
PHP: WP: Wordpress Title Tag
<title>
<?php
if (!is_front_page()) {
wp_title('');
echo " | ";
}
bloginfo('name');
echo " - ";
bloginfo('description');
?>
</title>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment