Hi, I have tried to disable the schema markup that is default in the Theme with this code:
add_filter( ‘generate_header_microdata’, ‘__return_empty_string’ );
add_filter( ‘generate_sidebar_microdata’, ‘__return_empty_string’ );
Since I am not a Techie I have tried two different plugins where I can add PHP Code (without having to do actual changes in the Theme code).
However, it does not work. I can still find the schemas in through the Structured Data Testing Tool –
What is the problem?