I’m trying to add some structured data to my website using JSON-LD. At first I’d like to add the same data for every page, then I’ll start modifying it.
I’ve tried to add it to the wp_head GP hook, but when I do it, WordPress crashes. Chrome reports this message when trying to access /wp-admin/options.php “ERR_BLOCKED_BY_XSS_AUDITOR”.
After some seconds where my site seems idle , I’m asked to pass a reCAPTCHA before to access the public version of the site. Everything seems to go back to normal after I restart my browser, but the changes in the GP hooks aren’t recorded.
I’d be very grateful if somebody could help me.
I must admit the structured data I’m trying to add sometimes passes the Google Structured Data Testing Tool with no errors, but sometimes the same code doesn’t passes that test, not showing where the errors are. I don’t know how to solve it.