Site logo

[Support request] Remove CreativeWork Schema

Home Forums Support [Support request] Remove CreativeWork Schema

Home Forums Support Remove CreativeWork Schema

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1670328
    Charles

    Hi there,

    I’ve installed a schema plugin on my site and the support suggest I remove the CreativeWork schema that the Generatepress theme is generating.

    How is that possible?

    Charles

    #1670476
    David
    Staff
    Customer Support

    Hi there,

    try adding this PHP Snippet:

    add_filter( 'generate_article_microdata', '__return_empty_string' );

    Adding PHP: https://docs.generatepress.com/article/adding-php/

    #1735273
    Matt

    Does that remove all schema on generate press, or just the CreativeWork schema?

    #1735644
    David
    Staff
    Customer Support

    That will just remove the Article CreativeWorks schema.

    #1735671
    Matt

    Phenomenal, thanks!!

    #1735701
    David
    Staff
    Customer Support

    You’re welcome

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.