• Resolved fartbrat

    (@fartbrat)


    Hi, i tried to repeat my ads showing every third post using “between posts %6” then i noticed they don’t show due to “between posts” are missing after infinite scrolling which also leads to page 2. So my ad just show once. Is there any setting i can do for this problem? Thanks alot.

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter fartbrat

    (@fartbrat)

    There’s nothing but excerpts after “between posts 8”

    Plugin Author Spacetime

    (@spacetime)

    Hello,

    insertions into content loaded via Ajax requests (used for Iinfinite scroll) depends on the theme/plugin responsible for infinite scroll.

    The plugin inserts all the blocks according to the settings – when it is called by WP action hooks.

    When the insertion into Ajax requests doesn’t work it is either because the plugin for infinite scroll/theme does not call action hooks on which Ad Inserter depends, or because the plugin/theme removes Javascript ad codes.

    Remote debugging doesn’t seem to be enabled:
    https://www.ads-software.com/support/topic/ad-inserter-support-forum-before-you-ask-for-help/

    Thread Starter fartbrat

    (@fartbrat)

    @spacetime I just enabled Remote debugging. Tho the problem still persists, the ads show when i changed infinite scroll to normal pagination. So just both the infinite scroll and “load more” type won’t show. Is this issue more on the theme side? If so, may i know how do i approach them with my concern? Really not an expert here ..

    Plugin Author Spacetime

    (@spacetime)

    I can’t access your website, tried couple of times:

    Service Unavailable
    The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
    Thread Starter fartbrat

    (@fartbrat)

    @spacetime Sorry, it took me some time to cleanup the disk space. It should be no problem accessing now. Do you have a solution for displaying ads on infinite scroll? Please let me know because i’d really love to keep that function while being able to show some ads naturally. ??

    Plugin Author Spacetime

    (@spacetime)

    Hello,

    it seems that whoever does infinite scroll it loads the next page (with Ad Inserter blocks inserted) but then it extracts and uses only li elements from it.

    Thread Starter fartbrat

    (@fartbrat)

    @spacetime im so sorry, i have zero clue.. so is it unfixable? i tried read other posts and enabled the embed js code or something but to no avail lol i think this is beyond my capability ??

    Plugin Author Spacetime

    (@spacetime)

    I’m sorry, I can only help you regarding Ad Inserter.

    Thread Starter fartbrat

    (@fartbrat)

    @spacetime

    Hi, i reached out to my theme (blocksy) support and they replied:

    “From what I understand, this is a limitation of the ad plugin that you’re using, as it does not correctly detect additional pages loaded with AJAX. The plugin provider must modify the plugin’s code to make this detection better, as I’m fairly confident it will happen with any other “infinite loading” combination. I would recommend getting in touch with them for adjusting their code to make sure they cover all cases.

    Our AJAX loading isn’t anything special, so it should be pretty easy to adjust from their end. We load the whole page and just scrape the .products class for more products with JavaScript and display them on the front end.”

    Could you take a look on my site again? I really appreciate it.

    Plugin Author Spacetime

    (@spacetime)

    Let’s check again – enable Embed JS code for all blocks inserted into the content.

    Thread Starter fartbrat

    (@fartbrat)

    Ok. It still doenst show but please let me know if i miss anything on the setting. Thanks!

    • This reply was modified 1 year, 3 months ago by fartbrat.
Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Ads don’t show due to infinite scroll’ is closed to new replies.