Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Committing additional code for title tag fix
  • Loading branch information
jmr06005 committed Apr 25, 2018
1 parent 205b8dc commit 4ebc138
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions functions.php
Expand Up @@ -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' );
}
}
?>

0 comments on commit 4ebc138

Please sign in to comment.