I just pasted these into my functions.php but it's not triggered.
add_filter ('robots_txt','mc_add_sitemap_index');
function mc_add_sitemap_index($robots) {
$robots .= "Sitemap: " .
home_url( '/sitemap_index.xml' );
return $robots;
}
add_filter ('language_attributes','mc_language_attributes');
function mc_language_attributes ($output) {
$output .= ' version="HTML+RDFa 1.0"';
return $output;
}
(I don't use the breadcrumbs in my theme)
Could someone guide me and tell me exactly what to add? I think this code needs to be activated by some additional code? For all the noobs out there like me :) anyone?
Thanks, great stuff ThomasK!