Have bought and installed SEOPress Pro. Using latest version of Pro and one of the “warnings/recommendations” in the SEOPress dashboard is: “Your theme doesn’t use add_theme_support(‘title-tag’);”.
There’s a guide on this page on how to fix this: https://www.seopress.org/support/guides/fixing-missing-add_theme_support-in-your-theme/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress
I’m using the Pro child theme and have added this code in functions.php in the wp-content / themes / x-child directory
function seopress_theme_slug_setup() {
add_theme_support( 'title-tag' );
}
add_action( 'after_setup_theme', 'seopress_theme_slug_setup' );
But the SEOPress still saying the same warning/recommendation message. Can you advise on what to do here?
Edit: Nevermind - my mistake. Works now.