This filter is for sites experiencing display and/or parsing issues, especially with Pinterest Rich Pins, as adding multiple tags in the webpages may lead to incorrect data pulling up.

The following filter, when applied, only removes the 'Article' element. All of the other Yoast SEO elements are retained.

Note: We recommend using this filter with caution, as it does alter the schema of your posts. Be sure to thoroughly test the results, using Pinterest's Rich Pin Validator and Google Structured Data and Rich Results testing tools, to determine if it is a good solution for your site. 

add_filter( 'tasty_recipes_only_recipe_in_yoast_schema', '__return_true' );
Did this answer your question?