Hi @antoffensive,
Thanks for reaching out!
You can remove the schema from your Homepage or site-wide by modifying and using our aioseo_schema_disable filter Here’s the documentation for this filter –
https://aioseo.com/docs/aioseo_schema_disable/
To remove the schema site-wide, you can add this code to your site –
add_filter( 'aioseo_schema_disable', 'aioseo_disable_schema' );
function aioseo_disable_schema( $disabled ) {
return true;
}
To remove it only from your Homepage, you can use this code –
add_filter( 'aioseo_schema_disable', 'aioseo_disable_schema' );
function aioseo_disable_schema( $disabled ) {
if ( is_front_page() ) {
return true;
}
return $disabled;
}
We recommend taking a backup of your website before adding any custom code to your website.
Additionally, we recommend using the WPCode (https://wpcode.com/) plugin to add the code to your site as it performs multiple sanitization tests before activating the snippet, enhancing the stability of your website.
Please let me know if you have any questions or encounter any issues.
I’m really looking forward to helping you.
Thanks!