When your website means business.

Template Tags, WP/CP | Type: PHPAdd Theme Support for Title Tag

It used to be that the way to add the Title Tag to WP sites was to add this in the theme’s header.php:

<title><?php wp_title(); ?></title>

Since WP4.1, use this in the theme functions file:

/****add theme support for title tag**********/
add_theme_support( 'title-tag' );

We use cookies in order to give you the best possible experience on our website. By continuing to use this site, you agree to our use of cookies.
Cookies Notice