Jump to content

Featured Replies

Posted

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?

Could contain: Page, Text 

Not sure if the image is an example, but it's the footer.

Also, I'd use the full path.

You would need to check your code. It is indeed in the source

 

Could contain: Text, Page

  • Author

What code? Mine is obviously works for you 🙂 Also I use default IPS theme without modifications.

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

  • Author

OMG I actually need to add that code to <head> tag 🤦‍♂️ Is it possible without apps/plugins? 🤓

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 by Randy Calvert

  • Author

Eh, I tried to enter the code to the wrong place from the beginning 😞

1 minute ago, Safety1st said:

Eh, I tried to enter the code to the wrong place from the beginning 😞

🙂

 

 

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 by opentype

Recently Browsing 0

  • No registered users viewing this page.