Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #998593

    I’m having trouble having anything I install into the header.php work. First off…I cannot do anything in WordPress editor. All changes have to my cpanel. I was told this is al a theme issue.

    Specifically today, I was attempting to install Google Analytics and Google Tags. I placed the codes in the correct places but, Tags won’t fire (error message) and when I look at a page source there is a lot of code for “style type” that separate the beginning of the code and the end. So I assumed the issue is me trying to put it directly is the header.php so I’ve since moved them to a plugin for headers and footers but with that all that shows on page source is:

    <!– Google Tag Manager –>
    <!– End Google Tag Manager –>
    <!– Global site tag (gtag.js) – Google Analytics –>

    No other part of either code. The body code for tag manager displays fine so the issue is header. Can I please have someone look at this because these issues with editing the theme file have persisted for months and I don’t know what to do.

    Site info below in private content.

    #998759

    Hey Rgrant74,

    Best regards,
    Victoria

    #998934

    I’m so sorry Victoria. There was a typo. See below

    #999024

    Hi Rgrant74,

    GTM gets a 404. Have you tried the solution like this
    https://kriesi.at/support/topic/adding-facebook-code-into/#post-398475
    https://kriesi.at/support/topic/adding-the-google-tag-manager-code-permanently/#post-373011

    If you need further assistance please let us know.
    Best regards,
    Victoria

    • This reply was modified 6 years, 3 months ago by Victoria.
    #999063

    Hi Victoria,

    So if I understand correctly, even though I currently have Enfold, I need to download a file that is Enfold Child theme on top of that and in the child theme functions.php is where I should be making changes not in the regular Enfold functions.php?

    And if this is correct, what happens with changes I have made in there thus far? Is there a way to have them copied over to the child theme so that I can just have all and any customizations in one place?

    #999071

    I’ve downloaded the child theme but I haven’t activated it yet. When I look at the Preview of It on my site…much of my customization isn’t showing, Will activating the child theme mea I lose all of the font, colour preferences etc that I’ve made to my site?

    #999085

    Hi Rgrant74 ,

    Yes, that should be done is a child theme.

    You need to export the settings you made in the parent theme, activate the child theme and import the theme options and save.

    This way all your settings will be there.

    Best regards,
    Victoria

    #999107

    Thank you I’ll do that then try the instructions fro the FTM installation.

    Can you point to me instructions on copying/export the settings from parent to child. The simplest / layman way.

    #999245

    Hi Rgrant74,

    Here are the docs for you

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #999430

    Thanks Victoria. I’ve switched to the child theme …will now try to tackle the GTM

    • This reply was modified 6 years, 3 months ago by Rgrant74.
    #999470

    Hi Rgrant74,

    Please let us know how that worked for you :)

    Best regards,
    Victoria

    #999510

    Hi Victoria, It seems to be working now. Thanks for your help

    #999529

    Hi,

    I’m glad you were able to get this resolved. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Ongoing Functions and header issues’ is closed to new replies.