Title: Plugin not recognizing paragraphs
Last modified: December 10, 2022

---

# Plugin not recognizing paragraphs

 *  Resolved [pascalmeijerink](https://wordpress.org/support/users/pascalmeijerink/)
 * (@pascalmeijerink)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/plugin-not-recognizing-paragraphs/)
 * Hi there,
 * I’m currently trying to use AdInserter to insert my NitroPay ads in bulk. However,
   it seems like the plugin does not seem to recognize paragraphs – when I try to
   add some code to the pages using this option, nothing gets inserted. Does this
   perhaps have something to do with my theme (BeTheme)?
 * I’ve tried inserting after HTML using p as an element, and this works. However,
   this means that an ad would show up after EVERY paragraph, and that is too much
   of course. Any way you can help with this? Is there a way to make AdInserter 
   recognize paragraphs automatically, or a way to use the “After HTML element” 
   option and make it so that it shows only after every X element?
 * Kind regards
    -  This topic was modified 3 years, 6 months ago by [pascalmeijerink](https://wordpress.org/support/users/pascalmeijerink/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-not-recognizing-paragraphs%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/plugin-not-recognizing-paragraphs/#post-16277886)
 * Hello,
 * in most cases Ad Inserter recognizes paragraphs automatically, it only needs 
   to be configured properly:
    [https://adinserter.pro/documentation/paragraph-settings](https://adinserter.pro/documentation/paragraph-settings)
 * Remote debugging doesn’t seem to be enabled so we can’t check:
    [https://wordpress.org/support/topic/ad-inserter-support-forum-before-you-ask-for-help/](https://wordpress.org/support/topic/ad-inserter-support-forum-before-you-ask-for-help/)
 *  Thread Starter [pascalmeijerink](https://wordpress.org/support/users/pascalmeijerink/)
 * (@pascalmeijerink)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/plugin-not-recognizing-paragraphs/#post-16277934)
 * Hi there,
 * I just checked and it seems like the plugin does recognize my paragraphs in posts(
   when I check for availaible positions for automatic insertion, they light up 
   green).
 * My apologies, I seemed to have missed the before you ask for help post. I’ve 
   enabled debugging mode now and made sure my caching plugins are not currently
   active.
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/plugin-not-recognizing-paragraphs/#post-16277947)
 * It seems that Ad Inserter doesn’t get any content for processing (insertion).
   
   The WP hook `the_content` is called, however, no content is passed to this filter:
   [https://adinserter.pro/faq/how-ad-inserter-works#automatic-insertion](https://adinserter.pro/faq/how-ad-inserter-works#automatic-insertion)
 * This is either bacause of the theme or some other plugin (less likely).
 * Can you test with a different theme?
 *  Thread Starter [pascalmeijerink](https://wordpress.org/support/users/pascalmeijerink/)
 * (@pascalmeijerink)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/plugin-not-recognizing-paragraphs/#post-16277960)
 * I’m afraid I can’t just change the theme of my website without losing content.
   I’ll try to get in touch with BeTheme support. A quick search has shown that 
   more people had problems with the_content, but given their track record they’ll
   probably just tell me they don’t support AdInserter as a plugin.
 * Given that AdInserter does seem to recognize HTML elements (at least “p”) on 
   my pages, is there any way I can use this to only put an ad after a single “p”
   element or every Xth “p” element?
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/plugin-not-recognizing-paragraphs/#post-16278417)
 * You can try to configure insertion after `p` elments:
    [https://adinserter.pro/documentation/insertion-before-inside-after-html-element](https://adinserter.pro/documentation/insertion-before-inside-after-html-element)
 * Set insertion to server-side and then configure **Filter** to define wanted insertions:
   
   [https://adinserter.pro/documentation/additional-block-settings#filter](https://adinserter.pro/documentation/additional-block-settings#filter)
 *  Thread Starter [pascalmeijerink](https://wordpress.org/support/users/pascalmeijerink/)
 * (@pascalmeijerink)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/plugin-not-recognizing-paragraphs/#post-16278718)
 * This worked, thanks a lot for the help!
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/plugin-not-recognizing-paragraphs/#post-16278741)
 * 🙂
 * > This worked, thanks a lot for the help!
 * 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!
 *  [Kingsley Felix](https://wordpress.org/support/users/iamkingsleyf/)
 * (@iamkingsleyf)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/plugin-not-recognizing-paragraphs/#post-16619973)
 * [@pascalmeijerink](https://wordpress.org/support/users/pascalmeijerink/) are 
   you using nitropay regular banner or their ARTICLE format?
 * Been trying to get it working for hours now and no way, can you help?
    -  This reply was modified 3 years, 2 months ago by [Kingsley Felix](https://wordpress.org/support/users/iamkingsleyf/).

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

The topic ‘Plugin not recognizing paragraphs’ 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/)

 * 8 replies
 * 3 participants
 * Last reply from: [Kingsley Felix](https://wordpress.org/support/users/iamkingsleyf/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/plugin-not-recognizing-paragraphs/#post-16619973)
 * Status: resolved