Title: Ads overlayed by posts
Last modified: October 31, 2018

---

# Ads overlayed by posts

 *  Resolved [Schelli](https://wordpress.org/support/users/schelli/)
 * (@schelli)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/ads-overlayed-by-posts/)
 * Hello,
 * I have a problem regarding the Automatic Insertion “Between posts”:
 * Unfortunately the Ads are not shown between the posts, but behind the posts. 
   The Ads are overlayed by the posts.
 * You can see an example here: [https://imgur.com/a/zpjvV9Q](https://imgur.com/a/zpjvV9Q)
 * Also, if I use “show positions” from Amdinbar, it does not correctly show the
   space between the posts: [https://imgur.com/vaopwvr](https://imgur.com/vaopwvr)
 * I use Divi-Theme (incl. builder) and the Tribe events calendar plugin.
 * Do you have any idea, what could be the problem?
 * Thanks a lot for your help in advance!
    -  This topic was modified 7 years, 7 months ago by [Schelli](https://wordpress.org/support/users/schelli/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fads-overlayed-by-posts%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/ads-overlayed-by-posts/#post-10833784)
 * This is because of the layout of your theme.
 * The position **Between posts** is where the theme calls `the_post` hook:
    [https://adinserter.pro/documentation/automatic-insertion](https://adinserter.pro/documentation/automatic-insertion)
 * However, the theme automatically repositions page elements with js code (client-
   side) so you can’t insert between posts this way.
 * I would suggest to contact theme authors for advice.
 *  Thread Starter [Schelli](https://wordpress.org/support/users/schelli/)
 * (@schelli)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/ads-overlayed-by-posts/#post-10834006)
 * Thanks for your quick reply.
 * OK, sounds complicated for me 🙂
 * Another possibility/workaround could be the “After HTML-Element” Insertion. Is
   it possible to use the Filter (e.g. %10 to put it after every 10th of the selected
   HTML-Element).
 * I tried a lot around, but didn’t get it work properly.
 * Either it’s shown after each of the selected HTML-Element or after none.
 * Is it possible at all?
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/ads-overlayed-by-posts/#post-10834043)
 * Yes, it could be done this way, but may produce undesired results as the theme
   dynamically repositions post elements.
 * To be able to use Filter you should use [server-side insertion](https://adinserter.pro/documentation/automatic-insertion#before-after-html-element)(
   needs [Output buffering](https://adinserter.pro/documentation/plugin-settings#output-buffering)
   enabled).
 * However, not sure if those elements are available when the page is generated.
 *  Thread Starter [Schelli](https://wordpress.org/support/users/schelli/)
 * (@schelli)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/ads-overlayed-by-posts/#post-10834937)
 * For me it works fine now with this solution.
 * Thanks again for your quick replys!
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/ads-overlayed-by-posts/#post-10834983)
 * 🙂
 * > Thanks again for your quick replys!
 * Please say it here:
    [https://wordpress.org/support/plugin/ad-inserter/reviews/#new-post](https://wordpress.org/support/plugin/ad-inserter/reviews/#new-post)
 * Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Ads overlayed by posts’ is closed to new replies.

 * ![](https://ps.w.org/ad-inserter/assets/icon-256x256.jpg?rev=1502039)
 * [Ad Inserter - Ad Manager & AdSense Ads](https://wordpress.org/plugins/ad-inserter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ad-inserter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ad-inserter/)
 * [Active Topics](https://wordpress.org/support/plugin/ad-inserter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ad-inserter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ad-inserter/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Spacetime](https://wordpress.org/support/users/spacetime/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/ads-overlayed-by-posts/#post-10834983)
 * Status: resolved