From 4ebc138dc7ea006cc473d0f69d52f23b92f335b2 Mon Sep 17 00:00:00 2001 From: Joshua Roy Date: Wed, 25 Apr 2018 09:54:28 -0400 Subject: [PATCH] Committing additional code for title tag fix --- functions.php | 8 ++++++++ 1 file changed, 8 insertions(+) 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