Hey @glitterball3,
We no longer have an option to disable it. You can still disable it via a filter though. Here’s the documentation on it – https://aioseo.com/docs/aioseo_schema_disable/
Let me know if you have any further questions.
– Arnaud
Thanks for the reply – the code in the example if for products.
If it helps anyone, adding the following code to a theme’s functions.php will get rid of the schema markup:
add_filter( ‘aioseo_schema_disable’, ‘aioseo_disable_schema’ );
function aioseo_disable_schema( $disabled ) {
return true;
}
@glitterball3 Thank you so much. I’ve been looking for this for a long time.
When copying the code, the quotation marks are incorrect. I think it will not be a problem when shared as Cod.
// AİOSEO SCHEMA DİSABLE
add_filter( 'aioseo_schema_disable', 'aioseo_disable_schema' );
function aioseo_disable_schema( $disabled ) {
return true;
}
-
This reply was modified 5 years, 4 months ago by
mkwm.
-
This reply was modified 5 years, 4 months ago by
mkwm.
-
This reply was modified 5 years, 4 months ago by
mkwm.