I am trying to put this (below code) to my wordpress header but when i save and load site on browser it does not show up. I have seen this schema practice on some wordpress themes so it should work. Does anyone have advice? Is it some automatic wordpress function that changes this.
<head itemscope="" itemtype="http://schema.org/WebSite">
do it like this on your header.php
and you need to write the function html_tag_schema() now. write the below function on your active theme’s functions.php
I hope this one solves your problem