-
AuthorPosts
-
November 10, 2018 at 2:47 pm #1032014
Hallo, es gibt bei Enfold ja einen eigenen Bereich für Google Analytics. Jetzt habe ich eine andere Frage. Ich würde auf meinem Blog gerne diesen Code einbauen, in den Footer damit das Portal auch meine Seite tracken kann. Code siehe privat content.
In welche Datei kann ich diesen Code an welcher Stelle hineinkopieren damit der Code auf allen Unterseiten funktioniert und auch bei einem Themen Update erhalten bleibt? ich nutze für meinen Blog ein Enfold Child Theme.
Danke, lg aus Wien, Alex
- This topic was modified 6 years, 1 month ago by diefleischerei.
November 11, 2018 at 9:51 pm #1032357Hey diefleischerei,
Can you share the embed code with us?
Best regards,
VictoriaNovember 11, 2018 at 10:38 pm #1032365Sure :)
I have posted it in the private area but you only see the image not the code :)
November 13, 2018 at 5:55 pm #1033081Can you see the code now?
November 13, 2018 at 5:56 pm #1033082Can i make a copy of the footer file via ftp and copy it to the enfold child folder on the webscpace? then i put the tracker code in the footer.php file? is this the correct way to do this? thanks, alex
November 15, 2018 at 12:30 pm #1033908Hi diefleischerei,
Yes, that is also one of the ways we recommend on doing.
As long as your child theme is enabled in the Themes, the footer.php file you have in your child theme will be used instead of the parent theme.
Let us know how it goes.Best regards,
NikkoNovember 15, 2018 at 12:39 pm #1033910Hi Nikko.
I have added 3 screenshots from my fto client for better understanding.step 1: i go to the enfold folder and copy footer.php to the enfold child folder
step 2: i add the code inside the footer.php file. at which posotion should i place the code?than the footer.php will overrule the footer.php in the enfold folder. but that will happen if there is an enfold update and a change in the original footer.php file? i do not really understand the way how this will work with updates?
Thanks, all the best, Alex
November 19, 2018 at 3:08 am #1034973Hi,
Where exactly do you want to put the button? If you want to place it beside the copyright text, look for this code:
<span class='copyright'><?php echo $copyright . $kriesi_at_backlink; ?></span>
The footer.php file in the child theme is going to be prioritized, so any changes in the parent theme’s footer.php file upon update will not be seen. It’s nothing to worry about though, because that particular file is rarely adjusted.
Best regards,
IsmaelNovember 19, 2018 at 12:16 pm #1035144Great. Thank you Ismael. I will try this. Greetings from vienna, Alex
November 20, 2018 at 7:42 am #1035453January 2, 2019 at 4:17 pm #1049298Hi Ismael. I have some problems.
The two icons are displayed correct on all pages in the center: https://imgur.com/a/r6nUoBF but not an the main landing page here: https://imgur.com/a/EImESbg
Can you help me to get the main page centered. thank you and greetings, Alex
January 3, 2019 at 5:04 am #1049448 -
AuthorPosts
- The topic ‘code in footer integrieren’ is closed to new replies.