Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
Hello, I want find the editor to install diferents codes in the site header.php, where I can find it?
Hi Andreu
It all depends on what codes you need to add to the header.
For google analytics you can use this plugin
https://wordpress.org/plugins/google-analytics-dashboard-for-wp/
for other scripts you can use this plugin
https://wordpress.org/plugins/header-and-footer-scripts/
This one will also do google analytics but the first one gives you a dashboard overview of your traffic.
Hope this helps
Magus
Hi Andreu,
Kindly confirm if the above suggested solution works out for you.
@Magus much appreciated.
Hi, I’m Andreu.
The above don’t works for me because i don’t want use to much pluings. there is no way to access the files to configure the template? whenever I had worked with wp editor.
Thanck you for your information
Hi Andreu
It is always a bad idea to alter the themes files unless you are using a child theme. You can get a basic child theme for vantage here
https://siteorigin.com/wp-content/uploads/2015/03/vantage-child-starter.zip
If you are not already using one, then add this as a theme and activate it. You can then make changes through Appearance->Editor from your dashboard.
Any codes you need adding to the header should be in the form of either javascript or css. These should be added using the wordpress enqueue method
https://codex.wordpress.org/Function_Reference/wp_enqueue_script.
You should upload your script files to a sub-folder in your child-theme directory and use them from there. This way there will be no conflicts when updating either wordpress or your vantage theme.
If you need any help getting this working please let us know.
Magus
Hi Andreu
In addition to what @Magus has suggested, this will also help you out. Please have a look.
Link : http://codex.wordpress.org/Child_Themes
Cheers
Hi,
thanck very much
Perfect :-)
Always feel free to open a new thread whenever you require support
Cheers