?
I write schema codes with JSON-LD in header of all pages, posts & products myself.
?
But in this page ???? ?????? ???? , unfortunately I got 2 errors in my search console. But I didn’t added the second code.
?
Do you know how did this happen? Is it Yoast SEO plugin which added the second code which is not right? how can I delete that code?
?
Please help me
?
Best Regards
Ali Nedaei
]]>Thanks for using the Yoast SEO plugin. I assume you would like to disable our plugin’s schema output entirely?.
If you return false or an empty array on the?wpseo_json_ld_output
?filter, you disable all Yoast SEO’s schema output.
add_filter( 'wpseo_json_ld_output', '__return_false' );
You can learn more here
]]>