Tagged: javascript
Hi,
great theme, i haven´t had a problem so far. But now i need your help:
I want to add a code snippet from https://silktide.com/tools/cookie-consent/download/ because of the EU-Cookie Law. I have to put this before the <head> tag. I know where to find the head tag, but not how to get this code snippet to appear before the head tag.
Example Snippet:
<!– Begin Cookie Consent plugin by Silktide – http://silktide.com/cookieconsent –>
<script type=”text/javascript”>
window.cookieconsent_options = {“message”:”This website uses cookies to ensure you get the best experience on our website”,”dismiss”:”Got it!”,”learnMore”:”More info”,”link”:null,”theme”:”light-bottom”};
</script>
<script type=”text/javascript” src=”//s3.amazonaws.com/cc.silktide.com/cookieconsent.latest.min.js”></script>
<!– End Cookie Consent plugin –>
Where can i find the file which i have to use for this?
I really appreciate any help you can provid!
Best wishes,
-Fab
Hi Fabitutl!
Do you mean inside the head tag? You shouldn’t be putting it before the head tag.
If you really want to though then you can find it on line 13 in the header.php file.
Best regards,
Elliott