Sifaan is trying to integrate their site with Ezoic and needs to add <div> tags as ad placeholders within their content. However, these tags get stripped out when pasted into the content. Don suggested using the official Discourse advertise plugin, which allows adding HTML content, including ads, to various places on the site. While this plugin helps Sifaan access some areas, they still want to add <div> tags within their content, specifically after paragraphs, and are looking for a way to whitelist these tags.
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
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.
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?