This topic has 8 replies, 3 voices, and was last updated 9 years, 8 months ago ago by Eva Kemp
Hi, I’m using the legenda theme and to add the google tag manager, instructions say to add the code into the header.php file.
I do that by going to Apearance > Editor > and choosing header.php but this file does not include a <body> tag to add the google tag manager code.
How should I add it?
Thank you so much.
Hello,
please open file header.php, find line with </head>
tag and add your code before that tag.
We recommend you to make all theme customizations only in child theme: http://codex.wordpress.org/Child_Themes
Regards,
Stan Russell.
This is all I see in my header.php – no head tag:
<?php
/**
* @package vogue
* @since 1.0.0
*/
// File Security Check
if ( ! defined( ‘ABSPATH’ ) ) { exit; }
get_template_part( ‘header-single’ );
get_template_part( ‘header-main’ );
Hello,
Please provide us with wp-admin panel credentials and the code you need to insert.
Also show instruction which you followed.
Thank you.
Regards,
Eva Kemp.
Hi Eva,
I go to: Apearance > Edito > and click on header.php
and this is the code I find:
<?php
/**
* @package vogue
* @since 1.0.0
*/
// File Security Check
if ( ! defined( ‘ABSPATH’ ) ) { exit; }
get_template_part( ‘header-single’ );
get_template_part( ‘header-main’ );
no head tag. Login below
Thanks Katya
Hello,
You’re using Dream Theme and not Legenda theme. Please contact the authors of that theme concerning your issue.
Thank you.
Regards,
Eva Kemp.
oh i need a break – feeling like an idiot – working on too many sites at once lol
Thank you Eva!
Hello,
You’re welcome.
P.S. Don’t work too much you need some rest too.
Regards,
Eva Kemp.
The issue related to '‘Google Tag Manager’' has been successfully resolved, and the topic is now closed for further responses