Looking for some help with simple code
-
Hi everyone. I run a real estate website and the real-estate theme I use gives you the option to include a “common-note”, basically a message that appears on all of the properties you have on the site. You can edit the common note text and title in the customiser.
Basically, I wanted to paste some adsense code into the common note so that ads would appear on all the properties. However, it seemed that the common note box in the customiser wouldn’t accept HTML. So I emailed support asking how to sort this out and they instructed me to remove the esc_html() from here. – https://tppr.me/E24yo .Well I tried doing that and it still didn’t work. However (apologies) I don’t know anything about code so I’m not sure if I removed what I was supposed to. This is how I followed his instructions however it didn’t work as you can see in the screenshot above.
What exactly am I doing wrong?
If it helps, I try to paste in the adsense code into the customiser and click publish, once I refresh it, all the adsense code in the box is gone and it’s just left with (adsbygoogle = window.adsbygoogle || []).push({});
Hopefully this is enough info, thanks to everyone who can help!
The topic ‘Looking for some help with simple code’ is closed to new replies.