Tagged: Google error
after updating to newest version of Enfold theme i’ve begun to recieve GSE errors about Data-vocabulary.org schema incorrect structured on the site but i cant find any reference to GSE error within the theme or plugins or any files for that matter so cant correct this issue
help ..
Hey matin140,
I’m not sure I understand the problem, what exactly do you need to change? If you could specify the problem a bit further, then that might help us understand it better as well.
Best regards,
Rikard
I get GSE error of data-vocabulary.org element name missing on 2 Pages but also that it is deprecated i Saw you wrote that you Update the theme from data-vocabulary to schema.org but i see nothing of that in your 5.0 version atleast not according to GSE
What i need to change is the outdated data-vocabulary.org but i cant find it or overwrite it
Hi,
Thank you for the update.
The theme is not adding this attribute or schema by default. The only vocabulary schema that is generated by the theme is for the breadcrumb but this has been removed since version 4.7.2.1. You can find it in the enfold/framework/php/class-breadcrumb-trail.php file around line 445.
//google rich snippets
if( $richsnippet === true )
{
// removed 4.7.2.1 as google will deprecate data-vocabulary
// https://meetanshi.com/blog/fix-data-vocabulary-org-schema-deprecated-error/
// https://github.com/KriesiMedia/wp-themes/issues/2650
//
// if( is_ssl() )
// {
// $vocabulary = 'xmlns:v="https://rdf.data-vocabulary.org/#"';
// }
// else
// {
// $vocabulary = 'xmlns:v="http://rdf.data-vocabulary.org/#"';
// }
}
It is possible that the schema is being generated by a third party plugin. Did you activate a new plugin just recently?
Best regards,
Ismael