Home › Forums › Support › How to Remove Breadcrumbs and Sitelinks searchbox schema From Generatepress Them This topic has 5 replies, 2 voices, and was last updated 1 year, 10 months ago by Leo. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts May 21, 2022 at 9:19 am #2227871 Himanshu Hi All, I have a Site and installed Generate press theme. Now After added schema i found two default schema coming from theme which is “Breadcrumbs and Sitelinks searchbox schema”. Now i want to remove this Default schema and implement FAQ and Article schema on my Blog. For Reference Here is my site link: https://cashappquery.com/ And https://tsgpchelp.com/ Please Help me out to remove this default schema. Thanks May 21, 2022 at 10:28 am #2227913 LeoStaff Customer Support Hi there, I believe this is what you are looking for: https://docs.generatepress.com/article/generate_schema_type/ Let me know if this helps 🙂 May 21, 2022 at 10:38 am #2227920 Himanshu Hi, Thanks For Reply, I Tried to add that Code on Premium GP theme. But it wont affect. Can you suggest me which line i can add this code on Functions.php. Thanks May 21, 2022 at 10:41 am #2227924 LeoStaff Customer Support It’s never a good idea to modify the theme’s core files. Try one of these methods: Adding PHP: https://docs.generatepress.com/article/adding-php/ If it doesn’t work then the schema you are referring to is likely coming from another plugin. The theme doesn’t have option to add breadcrumbs. May 21, 2022 at 10:49 am #2227928 Himanshu Though i am Noobie on codeing. Here is the Code i found from your Source. Can you Tell me Whats wrong on this code. add_filter( ‘generate_schema_type’, ‘__return_false’ ); function example_function_name() { return ‘false’; } Waiting for your reply. May 21, 2022 at 3:10 pm #2228034 LeoStaff Customer Support You only need this line: add_filter( 'generate_schema_type', '__return_false' ); And add it using one of these methods: Adding PHP: https://docs.generatepress.com/article/adding-php/ The Code Snippets plugin is the easiest if you aren’t using a child theme already. 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