Sorry for the very late reply.
In the meantime, I tried the function after the css class, but that didn’t work either. It looks like the software sees nothing but <P>. No matter what I try, the software always calculates just <p>.
You can see here:
https://pralla.net/weed-strains/gorilla-glue
What I want to achieve is that ads are displayed after a certain number of h tags (h2 and h3)
What I want to achieve is that the ads are displayed after a certain number of h tags (h2 and h3), before the subtitle. It is only possible to achieve this if we use h tags, if I use paragraph, then ads will be displayed between paragraphs, which is not visually good.