Weird block counting | WordPress.org

[ad_1]

Hi, I’m back with another issue. I included the following code on posts and pages to automatically insert ads every three paragraphs starting paragraph 4 (there’s a separate block for the very first placeholder):

<div id="eadv-in-content-[ADINSERTER counter="block"]" class="eadv-in-content">

For some unknown reasons though, this often results in a weird counting where the first placeholder starts from a high number like 15 (eadv-in-content-15), resulting in many ads not being served as the ad-network ignores any placeholder with a number higher than 16. This doesn’t always occur, and it’s more common on longer posts.

Example of an affected post.

Example of an unaffected post (counting is normal, starting from 2-3).

What could be causing this? Thank you in advance for your support.

  • This topic was modified 2 hours, 15 minutes ago by simsworldit.

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer