As of Yoast SEO 14.0, we've changed the way you can interact with the output of Yoast SEO. However, in some cases, you might want to disable the output coming from Yoast SEO on a specific post.
Please add the following code to your theme's
The above example will disable output for the post with the ID of 1. You can also adapt the code to a variety of different situations:
- To disable the output for a page, you can replace
- To disable the output for multiple posts, you can pass an array to the
is_singlefunction. This can also be used with the previous
- To disable the output for a custom post type, you need to change
is_singularand then pass the slug of your custom post type to the