digisavvy
12/26/2014 - 10:23 PM

Checking for 'title-tag' support

Checking for 'title-tag' support

	// Adding Theme title tag support
	function digistarter_title_tag_support() {
		if ( current_theme_supports( 'title-tag' ) ) {
			add_theme_support('title-tag');
		} else { ?>
			<title><?php wp_title( '|', true, 'right' ); ?></title>
	<?php	}
	}
	add_action( 'tha_head_bottom', 'digistarter_title_tag_support');