Not sure what to do

[ad_1]

Hi Jeff,

I’m anxious to try your plugin but am a little unclear on exactly what I’m suppose to do. I’m not a web developer or coder.

I need to insert <title>Alcohol Addiction Treatment Online I Get Expert Help Now</title> above the meta description as shown below.

So that it looks like this or something close to it.

You see I’m using SEOPress for an SEO plugin, but I’ve also added Rank Math and Yoast to use their content analysis (only). I’ve blocked the header output from both of those plugins, and when I did it removed the <title></title> tag as shown in the first screenshot.

I know it’s a lot ask, if you could help guide me with some simple steps for me to follow to add this meta title (preferably above the meta description) I would really appreciate your help.

I’ve spent a lot of time combing other plugins and tried finding some php code to inject into the functions.php file but nothing there seems to work.

I don’t know if the blocks I’ve inserted into the functions.php have put an entire block above the meta description. Everything I’ve tried doesn’t work.

This is the block that I’m using for Rank Math:

/**
 * Function to disable SEO Tags generated by Rank Math
 */
function rankmath_disable_features() {
	if ( is_singular( 'page' ) ) {
		remove_all_actions( 'rank_math/head' );
	}
}
add_action( 'wp_head', 'rankmath_disable_features', 1 );

This is the block that I’m using for Yoast:

add_action( 'template_redirect', 'remove_wpseo' );

/**
 * Removes output from Yoast SEO on the frontend for a specific post, page or custom post type.
 */
function remove_wpseo() {
    if ( is_page ( [ 3, 7, 801, 818, 2107, 3650, 4305 ] ) ) {
        $front_end = YoastSEO()->classes->get( Yoast\WP\SEO\Integrations\Front_End_Integration::class );

        remove_action( 'wpseo_head', [ $front_end, 'present_head' ], -9999 );
    }
}

If you could help that would be great. Thanks for considering this request.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer