This hook is for the ThemeBlvd WordPress framework and Yoast SEO plugin to enable the meta title tag to be displayed correctly. Add this code snippet to your (preferably in your child theme) functions.php file
/*-------------------------------------------------------*/
/* Add hook for Yoast SEO plugin
/*-------------------------------------------------------*/
function my_title() {
wp_title('');
}
function yoast_mods() {
remove_action( 'themeblvd_title', 'themeblvd_title_default' );
add_action( 'themeblvd_title', 'my_title' );
}
add_action( 'after_setup_theme', 'yoast_mods' );
More information for Yoast WordPress SEO plugin here
Also the ThemeBlvd WordPress themes here
Leave a Reply
Want to join the discussion?Feel free to contribute!