How to Disable Genesis SEO Feature Completely


Replace the following /wp-content/themes/genesis/lib/functions/seo.php

function genesis_detect_seo_plugins() {

	return genesis_detect_plugin(
		// Use this filter to adjust plugin tests.
		apply_filters(
			'genesis_detect_seo_plugins',
			// Add to this array to add new plugin checks.
			[

				// Classes to detect.
				'classes'   => [
					'All_in_One_SEO_Pack',
					'All_in_One_SEO_Pack_p',
					'HeadSpace_Plugin',
					'Platinum_SEO_Pack',
					'wpSEO',
					'SEO_Ultimate',
				],

				// Functions to detect.
				'functions' => [],

				// Constants to detect.
				'constants' => [ 'WPSEO_VERSION', 'SEOPRESS_VERSION' ],
			]
		)
	);

}

Replace with:-

function genesis_detect_seo_plugins() {

	return true;
}

Leave a Reply

Your email address will not be published. Required fields are marked *