Adding Sitewide Header Script

Permalink
Is there a simple way to add header script to every page, similar to the way there is a function to past tracking code in the dash board?

 
Mnkras replied on at Permalink Reply
Mnkras
add it in the theme, or use events, (checkout how jShare addon does it, (free))
RafaelGP replied on at Permalink Reply
RafaelGP
Hi there!

Do you have a custom template or are you using one from the market place?

In most of the templates, the header for all your templates is the same and it's located in: your-theme-folder/elements/header.php

Open the file and insert your script code there.
Just make sure you do it before this line:

<?php Loader::element('header_required'); ?>


I hope it helped!

Cheers!
Mnkras replied on at Permalink Reply
Mnkras
If you want to do it that way, most of the time you should stick in _under_ the header_required not above.