[Resolved] Remove Schema – add_filter blank screen

Home Forums Support [Resolved] Remove Schema – add_filter blank screen

Home Forums Support Remove Schema – add_filter blank screen

  • This topic has 3 replies, 2 voices, and was last updated 4 years ago by David.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1227969
    Alex

    Using latest GP Theme & GP Premium and trying to remove the CreativeWork schema from being output. After I try adding the add_filter( 'generate_schema_type', '__return_false' ); to my wp_config I immediately get a white screen for the site and wp-admin.

    As soon as I remove this from the wp_config the site goes right back to normal. Is there another method or reason I would be getting this result?

    #1228196
    David
    Staff
    Customer Support

    Hi there,

    the code needs to go in your Child Theme functions.php.

    More info here:

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

    #1228694
    Alex

    Worked perfectly, thanks!

    #1228750
    David
    Staff
    Customer Support

    You’re welcome

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