Known Issue: Yoast SEO Compatibility Error
-
The Web Stories team is aware of a new issue that appears to be the result of a conflict between the Web Stories and Yoast SEO plugins. When both plugins are installed and activated, users may see a new warning in the Web Stories Editor Checklist regarding compatibility.
This issue has been reported to Yoast and users can follow this GitHub issue for updates: https://github.com/Yoast/wordpress-seo/issues/17419.
In the interim, this issue can be fixed and the checklist warning removed by adding the following code to your site’s
functions.php
file:function remove_wpseo() { if ( is_singular (‘web-story’) ) { $front_end = YoastSEO()->classes->get( Yoast\WP\SEO\Integrations\Front_End_Integration::class ); remove_action( ‘wpseo_head’, [ $front_end, ‘present_head’ ], -9999 ); } } add_action( ‘template_redirect’, ‘remove_wpseo’ );
Thank you for using Web Stories, and please feel free to open a new topic if you have any questions.
- The topic ‘Known Issue: Yoast SEO Compatibility Error’ is closed to new replies.