How to add itemscope itemtype="http://schema.org/WebPage"
to html tag using function.php
add_filter( 'nav_menu_link_attributes', 'add_menu_attributes', 10, 3 );
function jrod_add_html_manifest( $output ) {
$output .= ' itemscope itemtype="http://schema.org/WebPage"';
return $output;
}
2
Answers
How to add same http://schema.org/WebPage into the
<html lang="en-US">
in between<html >
using function.phpyour filter its not loading the function you have provided.
Here is working solution