Hi,
How do I delete/edit a script in the header? I am using a Cookie plugin and I want to delete the standard Facebook script so that it only adds a Facebook script when my visitors enable 3rd party Cookies.
I’ve asked the builder of the plugin the same question and he gave me this reply:
Hi @vinkdtp,
Thanks for using our plugins.
You have to add the script to the Head or Body or Footer sections to enable the 3rd party or advanced cookies, otherwise the plugin can’t block them. Our plugin injects the script added to the settings based on the user preferences. If you have no scripts, the plugin doesn’t block the scripts.
You have Facebook scripts added by other plugin or by your theme, these should be removed and the scripts should be added to the 3rd party relevant script sections.
Read more about the FAQ section.
I hope this helps.
When I click on the header.php the only thing I see is:
<?php
// =============================================================================
// HEADER.PHP
// -----------------------------------------------------------------------------
// The site header.
// =============================================================================
x_get_view( 'header', 'base' );
Best regards,
Jeroen Vink