Hello.
The solution to the problem is in the plugin FAQ in the repository.
The snippet code executed with an error and I cannot change it, what should I do?
Do not despair! Even an experienced person can make mistakes. We created a secure mode for this case. Go into it and your snippets code will not be executed.
Go to the safe mode by this link: http://your-site-name.dev/wp-admin/?wbcr-php-snippets-safe-mode
Edit the snippet in which you made a mistake;
Leave safe mode by clicking the link: http://your-site-name.dev/wp-admin/?wbcr-php-snippets-disable-safe-mode
Great, now you should not have any issues!
I got the same problem.
I’ve just removed the plugin but the snippet remains in the header.
I wanna remove that snippet and use some new.
Please help.
Where do these snippets get stored and how to remove them manually?
-
This reply was modified 6 years, 1 month ago by
Ahmad.
Hello.
The solution to the problem is in the plugin FAQ in the repository.
The snippet code executed with an error and I cannot change it, what should I do?
Do not despair! Even an experienced person can make mistakes. We created a secure mode for this case. Go into it and your snippets code will not be executed.
Go to the safe mode by this link: http://your-site-name.dev/wp-admin/?wbcr-php-snippets-safe-mode
Edit the snippet in which you made a mistake;
Leave safe mode by clicking the link: http://your-site-name.dev/wp-admin/?wbcr-php-snippets-disable-safe-mode
Great, now you should not have any issues!
I’ve enabled the safe mode and still I can’t find any solution to remove the code from my header.
I’ve already removed the HTML snippet from the plugin.
After deleting the snippet or plugin, nothing is output. This means the element that you want to change from another plugin. Can you send me a screenshot of this item or a link to your site where I can view it?
I’ve not used any other plugin to put these HTML in my header.
check my site easternherald.com and check the source code.
Following is the code I’ve put using woody.
<link rel=’preload’ href=’//fonts.gstatic.com/s/montserrat/v14/JTURjIg1_i6t8kCHKm45_dJE3gnD_g.woff2′ as=’font’ type=’font/woff2′ crossorigin><link rel=’preload’ href=’//www.easternherald.com/wp-content/cache/omgf-webfonts/montserrat-700-normal-nD_g.woff2′ as=’font’ type=’font/woff2′ crossorigin><link rel=’preload’ href=’//fonts.gstatic.com/s/montserrat/v14/JTUPjIg1_i6t8kCHKm459WxZcgvz_PZw.woff2′ as=’font’ type=’font/woff2′ crossorigin><link rel=’preload’ href=’//www.easternherald.com/wp-content/cache/omgf-webfonts/montserrat-700-italic-_PZw.woff2′ as=’font’ type=’font/woff2′ crossorigin>
I just wanna remove it.
You are using the caching plugin wp-rocket. Clear cache
Should I remove woody first and then clear cache?
Just clear the cache in any order. The snippet must be disabled
I’ve done it. But the snippet remains in the header.
Have you cleared the cache in WP Rocket? So this code is being output somewhere else and the problem isn’t with Woody. Snippets are stored in the wp_posts table
But this code is called everywhere even on the home page and category pages too. And I’ve checked wp_post table too and didn’t find the code there at all.
That’s what I wrote to you about. If the woody plugin is removed, snippets are not output. This is only possible if caching is enabled. Try resetting the WP Rocket cache again.
If it doesn’t work, this code is output by another plugin or embedded in your theme. Try changing the theme or deactivating all plugins one at a time to find the reason.