Schema – how to turn off all insertions of creative work?
Hi aribann!
Add this on functions.php:
add_filter('avf_markup_helper_args','avf_remove_markup_helper_args');
function avf_remove_markup_helper_args($args) {
$args = array_merge(array('context' => '', 'echo' => false, 'post_type' => ''), $args);
if(empty($args['context'])) return;
}
Regards,
Ismael
would that turn off http://schema.org/CreativeWork
only?
Hi!
It will remove all the schema markup. You can also try this, edit js > avia.js, find this code on line 5:
$(document).ready(function()
{
Below, add this code:
$(".main_color, .alternate_color, a, img").removeAttr("itemtype");
Regards,
Ismael
Thank you
I went with turning it all off via functions.php.
We will see how Google responds.
If you folks can add actual Schema control to elements via page Avia Builder that would be brilliant …and usable to all beyond what they realize.