Hi,
I am using SEO Press pro for our site which is paid plugin. The title of page is not getting changed. I have contacted SEOPress and they have provided solution below, but I could not locate header.php. Can you pls help us?
Since WordPress 4.1, you have to used add_theme_support(‘title-tag’); in your functions.php of your theme to display the meta title correctly.
First, open your header.php file and check if <title><?php wp_title(); ?> is present.
If it’s true, remove this line.
Then, go to your functions.php and add this snippet:
function seopress_theme_slug_setup() {
add_theme_support( 'title-tag' );
}
add_action( 'after_setup_theme', 'seopress_theme_slug_setup' );