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

Committing additional code for title tag fix #159

Merged
merged 1 commit into from Apr 25, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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' );
}
}
?>