Site logo

Archived topic

Infinite scroll ads once every X posts

21 replies · Started by Adrian Cojocariu on March 22, 2017

Viewing posts 16–22 of 22

No plugins man. I mean I added simple code like a div and it shows on the archive page now, above or under the posts, but it does not show when on homepage with masonry load more or infinite scroll.

Any chance you can show me what you have so far?

Sure do, I want to keep the site private though so I'll send you a PM . We'll post the solution here afterwards if we find any.

I see the issue. At least in GP, the script picks the individual posts from the next page, and then displays them under the last posts. This is why it's not grabbing the extra data under the list of posts.

If I didn't do this, a bunch of the HTML markup would be duplicated, which is a no go. It's most likely the same reason why the other plugins aren't working as well, as they're only grabbing the posts, not the entire page.

Hi, I am facing the same issue with this plugin and GP..

Any solution after 2 years..........

Hi, Anil. No I just manually placed it at top and bottom of first generated page and then at bottom of posts. Unfortunately, they don't show up after or before every new ajax page is generated.

Thanks Adrian for your reply.
Best Regards.

This archived topic is closed to new replies.