Home › Forums › Support › Remove WPHeader and Sitenavigationelement Schema ? This topic has 5 replies, 3 voices, and was last updated 4 years, 4 months ago by Tom. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts July 12, 2019 at 12:35 am #955605 Samuel Basically i put in the Organization Schema which is correct, but i would like to remove the WPheader and Sitenavigation element schema code. How and where can i do it ? I’m using latest version of generatepress premium , and elementor. Thanks July 12, 2019 at 9:21 am #956064 TomLead Developer Lead Developer Hi there, You can disable schema output by GP entirely like this: add_filter( 'generate_schema_type', '__return_false' ); If you only want to disable the header and navigation schema only, you can do this: add_filter( 'generate_header_microdata', '__return_false' ); add_filter( 'generate_navigation_microdata', '__return_false' ); July 13, 2019 at 3:05 am #956578 Samuel Thank you. I suppose i need to add them into the php using the steps mentioned here : https://docs.generatepress.com/article/adding-php/ July 13, 2019 at 3:41 am #956631 DavidStaff Customer Support Hi there, yes that is the correct way to add the PHP. November 6, 2019 at 8:18 am #1055007 Samuel Hello, there is an new schema from the theme, can you also give me the code? It’s called WebPage schema November 6, 2019 at 9:36 am #1055109 TomLead Developer Lead Developer Are you wanting to completely remove schema? If so, try this: add_filter( 'generate_schema_type', '__return_false' ); Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In