• Resolved bizzy123

    (@bizzy123)


    Hi

    I installed the AIOSEO plugin but would like to remove the Schema Markup that it has included in my websites code in the <!– All in One SEO 4.0.17 –> tag.

    There is no option to do this in the plugin settings and I have set the Schema options to ‘None’.

    Please advise. Thank you.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author arnaudbroes

    (@arnaudbroes)

    Hey @bizzy123,

    You can disable schema completely by adding this code snippet to your child theme’s functions.php file –

    add_filter( 'aioseo_schema_disable', 'aioseo_disable_schema' );
    
    function aioseo_disable_schema( $disabled ) {
       return true;
    }

    – Arnaud

    • This reply was modified 3 years, 7 months ago by arnaudbroes.
    Thread Starter bizzy123

    (@bizzy123)

    Hi thank you for your prompt reply. I’ve added the code and cleared the cache but the ld+json script is still present in the website code. Is there something else I need to do to stop this?

    Plugin Author arnaudbroes

    (@arnaudbroes)

    @bizzy123 I see some other schema but that’s not coming from AIOSEO. It might be your theme or another plugin.

    Thread Starter bizzy123

    (@bizzy123)

    Sorry you are right. Firefox wasn’t displaying the updated code properly.

    Thanks for your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove Schema’ is closed to new replies.