# \<div\> tags in posts / Ezoic integration

**URL:** https://meta.discourse.org/t/div-tags-in-posts-ezoic-integration/241982
**Category:** Support
**Created:** [October 15, 2022, 4:06pm UTC](https://meta.discourse.org/t/div-tags-in-posts-ezoic-integration/241982 "2022-10-15T16:06:35Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Sifaan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sifaan/32/201543_2.png) [@Sifaan](https://meta.discourse.org/u/Sifaan)
#### Post date: [October 15, 2022, 4:06pm UTC](https://meta.discourse.org/t/div-tags-in-posts-ezoic-integration/241982/1 "2022-10-15T16:06:35Z")

</div>

Hi

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?

Thanks!

---

<div class="post-metadata">

### Author: ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)
#### Post date: [October 15, 2022, 4:37pm UTC](https://meta.discourse.org/t/div-tags-in-posts-ezoic-integration/241982/2 "2022-10-15T16:37:04Z")

</div>

Hello,

Discourse has an official advertise plugin.

> [@Discourse Advertising Plugin (Ads)](https://meta.discourse.org/t/discourse-ad-plugin/33734):
>
> discourse2Summary Discourse Advertising allows the set up of advertisements on Discourseopen_bookInstall Guide This plugin is bundled with Discourse core. There is no need to install the plugin separately.warning AD-BLOCKERS If you are running an ad-blocker in your browser or through a vpn, the contents of your /admin/plugins page may be blanked out. Disabling your adblocker, using an incognito tab, or whitelisting your site should prevent this issue. Features …

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. 🙂

---

<div class="post-metadata">

### Author: ![Sifaan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sifaan/32/201543_2.png) [@Sifaan](https://meta.discourse.org/u/Sifaan)
#### Post date: [October 16, 2022, 2:38am UTC](https://meta.discourse.org/t/div-tags-in-posts-ezoic-integration/241982/3 "2022-10-16T02:38:16Z")

</div>

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!
