How to edit schema with PRO

Hello I have Pro 2.5.5 on one of my site and I want to edit my schema code. I used Snippet before but I want to be able to edit my json script manually. I am using a plugin to inject the script on the header but I need to find a way to either change the current schema or remove it. Can you please help me?

Hi There,

Thank you for writing in, It sounds like you might be having an issue with a third party plugin or script. Regretfully, we cannot provide support for third party plugins or scripts as our support policy in the sidebar states due to the fact that there is simply no way to account for all of the potential variables at play when using another developer’s plugin or script. Because of this, any questions you have regarding setup, integration, or troubleshooting any piece of functionality that is not native to X will need to be directed to the original developer.

Thank you for your understanding.

Hello Friech, the only plugin for schema I installed is snippet which is one of the plugin included in the bundle. If you don’t want to give you any type of support fine (although it is a terrible customer experience). Let me rephrase my question. when I check the source of the page I can clearly see there is a schema script (the one I added with Snippet) where do I need to operate inside your template to find that code and remove it manually?

Hi @Andrea8Fortune,

Sorry, I thought you said you used Snippet before but now you have your own json script.

The line that you’re looking for is on the output.php file, under \wp-content\plugins\snippet\functions directory. Find the line: <script id="snippet-json-ld-website" type="application/ld+json">

But still, we can not provide support for type this type of customization.

Thank you for your understanding.

Thank you, What I meant is that I have my script that I want to inject and I know how to do it, but I need to remove the one injected before by snippet. Thank you for your reply.

Hello @Andrea8Fortune,

Thank you for the clarifications. If you have your own script, it is much better that you disable the snippet plugin. You may install “Insert Header and Footers” plugin. Once installed, you can go to Settings > Insert Headers and Footers > Header and then you can place your own snippet code that you want to inject in your site.

Hope this helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.