That (sadly) does not work. I have the code placed in the ‘header.php’ so it is an extension of my header. I have to place it somewhere els but I haven’t found anything els available or any additional code I could use to fix it.
Thanks for your help atleast.