<div> tags in posts / Ezoic integration


I’m trying to integrate my site to Ezoic and need to setup placeholders for ads.

I was able to put in a few via Customize → Themes → Edit CSS/HTML but for the rest I need to place them within my content manually

The problem is that the placeholders are <div> tags (e.g. <div id="ezoic-pub-ad-placeholder-106"> </div>) and they get stripped out if I paste into my content

Is there any way to white list <div> tags?


1 Like


Discourse has an official advertise plugin.

With this plugin you can place ads between posts, topics and many other places on your site. To the plugin House Ad advert type you can add HTML content. :slightly_smiling_face:


Hi Don
Thanks for the tip - the plugin helps me access placeholders in a few areas that I otherwise couldn’t have reached - i.e. after the post but before the list of suggested topics; in between topics; etc

But the best place on my site for ads will be within content (after 1st paragraph, after 2nd paragraph and so on) so it would still be useful to be able to add the <div> tags within my content - is there a way to do that?

Thanks again!