Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted February 16, 2024Feb 16 I try to insert the custom code to <head> element to default theme using Themes->Default->Edit->Header and Footer. But the code doesn't appear on the site after reloading a page. What am I doing wrong?
February 16, 2024Feb 16 Not sure if the image is an example, but it's the footer. Also, I'd use the full path.
February 16, 2024Feb 16 Author What code? Mine is obviously works for you 🙂 Also I use default IPS theme without modifications.
February 16, 2024Feb 16 If you look at the source of the page itself, the code you added is actually being added to the footer. So its what you are adding that is the issue
February 16, 2024Feb 16 Author OMG I actually need to add that code to <head> tag 🤦♂️ Is it possible without apps/plugins? 🤓
February 16, 2024Feb 16 I just confirmed with a default theme you can add both header and footer. Create a new default theme and confirm. If it appears on a default theme but not yours, it’s something to address with the theme author. Edited February 16, 2024Feb 16 by Randy Calvert
February 16, 2024Feb 16 1 minute ago, Safety1st said: Eh, I tried to enter the code to the wrong place from the beginning 😞 🙂
February 16, 2024Feb 16 2 hours ago, Randy Calvert said: I just confirmed with a default theme you can add both header and footer. I wish. You can add something to the end of the <body> or to the beginning (which IPS calls “header HTML“ in the theme settings). But it’s just the top of the body. There is no actual <head> option there. I always found that weird. Edited February 16, 2024Feb 16 by opentype