• Resolved Schelli

    (@schelli)


    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

    Also, if I use “show positions” from Amdinbar, it does not correctly show the space between the posts: 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, 6 months ago by Schelli.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Spacetime

    (@spacetime)

    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

    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

    (@schelli)

    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

    (@spacetime)

    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 (needs Output buffering enabled).

    However, not sure if those elements are available when the page is generated.

    Thread Starter Schelli

    (@schelli)

    For me it works fine now with this solution.

    Thanks again for your quick replys!

    Plugin Author Spacetime

    (@spacetime)

    🙂

    Thanks again for your quick replys!

    Please say it here:
    https://ww.wp.xz.cn/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.