Title: Multiple insertion
Last modified: January 2, 2020

---

# Multiple insertion

 *  Resolved [Pradeep Augustine](https://wordpress.org/support/users/praderj/)
 * (@praderj)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/multiple-insertion/)
 * Hello Author,
 * I have been using this plugin for a very long time and it is awesome as always.
   I’m using Newspaper Theme by Tagdiv. The theme recently received an update and
   after that the plugin misbehaves. The New update to the theme bring complete 
   customization from header to footer. It allows users to built Header, footer,
   and Content block separately. So the plugin inserts the ad units on all the sections.
   What I mean is, I have an Ad unit set to insert into the middle of the content.
   The plugin now inserts, one in the content and one in the footer. Please fix 
   this if possible in the future update.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmultiple-insertion%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/multiple-insertion/#post-12287058)
 * Hello,
 * the plugin always inserts according to your settings using the hooks provided
   by your theme.
    What you need to do is modify settings according to the theme
   used: [https://adinserter.pro/faq/how-ad-inserter-works#multiple-insertions](https://adinserter.pro/faq/how-ad-inserter-works#multiple-insertions)
 * It seems that `the_content` hook is called twice and this causes double insertions:
   `
   https://www.getcooltricks.com/google/create-implement-adsense-auto-ads/?ai-debug-
   blocks=1&ai-debug-positions=0`
 * You need to set Filter to 1:
    [https://adinserter.pro/documentation/additional-block-settings#filter](https://adinserter.pro/documentation/additional-block-settings#filter)
 * This should also fix the insertion in the footer where the hook is called for
   the third time.
 *  Thread Starter [Pradeep Augustine](https://wordpress.org/support/users/praderj/)
 * (@praderj)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/multiple-insertion/#post-12288661)
 * Hi, The above trick worked. Thank you so much for helping.
 * Regards
    Pradeep
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/multiple-insertion/#post-12288668)
 * Great, thank you!

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

The topic ‘Multiple insertion’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [Spacetime](https://wordpress.org/support/users/spacetime/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/multiple-insertion/#post-12288668)
 * Status: resolved