Many people use Yoast’s SEO plugin together with a WooTheme, which comes bundled with its own SEO tools called WooSEO.
Now, it’s possible to manually go through and turn off the WooSEO stuff through their interface. But, it’s tedious… plus we’re running a multi-site install… so I’d like to script it.
I dug around in the code and found out all I need to do is run these few items on the database:
update_option('seo_woo_hide_fields','true'); update_option('seo_woo_use_third_party_data','true'); update_option('framework_woo_seo_disable','true');
QUESTION: Can this be added to the WordPress SEO by Yoast plugin? Perhaps with a simple if/then statement…
>> IF it’s a Wootheme, THEN run the function to disable WooSEO.
Or, if not, what’s the best way to do this via my own plugin? (i.e. which hooks should I be tying in to?)
- The topic ‘[Plugin: WordPress SEO by Yoast] Yoast SEO Woothemes = easy way to disable WooSEO’ is closed to new replies.