Remove wp_title, add title-tag theme support

This commit is contained in:
Ben Word
2014-12-18 14:07:43 -06:00
parent 55c7976e37
commit 49221085d1
3 changed files with 4 additions and 15 deletions

View File

@@ -7,6 +7,10 @@ function roots_setup() {
// Community translations can be found at https://github.com/roots/roots-translations
load_theme_textdomain('roots', get_template_directory() . '/lang');
// Enable plugins to manage the document title
// http://codex.wordpress.org/Function_Reference/add_theme_support#Title_Tag
add_theme_support('title-tag');
// Register wp_nav_menu() menus
// http://codex.wordpress.org/Function_Reference/register_nav_menus
register_nav_menus(array(