My site is http://www.spectrecom.co.uk
We have been having some trouble with our Google SERP – we are not showing meta or a preview and after speaking with a company they said that a line of code needs changing from –
<body id=”top” class=”home blog ?”>
<body id=”top” class=”home blog”>
How can this be done?
The classes generated in the top ID are from the wordpress body_class function. The plugin wp-super-cache is saving a cached version of the page without a browser specific output so the ? is showing instead.
If you aren’t having any issues and you just want to remove it, you can try doing so by removing this line in the header.php of the theme files:
It’s within the fill body line:
<body id="top" <?php body_class(avia_get_option('boxed'). " ".avia_get_browser()); ?>>
Otherwise, just disabling the plugin would fix it.
The topic ‘Problems with Body id "top" class code HTML’ is closed to new replies.