diff --git a/functions.php b/functions.php index c0cdc92..c0b7076 100644 --- a/functions.php +++ b/functions.php @@ -306,4 +306,12 @@ if ( ! function_exists( '_wp_render_title_tag' ) ) { } add_action( 'wp_head', 'theme_slug_render_title' ); } +else{ + //Add title tag theme support + add_action( 'after_setup_theme', 'cs_title_tag' ); + function cs_title_tag() { + + add_theme_support( 'title-tag' ); + } +} ?> \ No newline at end of file