Ive written a custom template and custom query to fetch products. Ive added a text(an array has been printed) in the template( inside the loop). But in the second page(when the infinite scrolling triggers) the text is not showing .
May I know why this happen?
The page I need help with: [log in to see the link]
I checked your page but I can’t see our plugin working in your site. Is it possible for us to replicate your issue in your site? Also if it is possible share with a screenshot of the selectors in the plugin.
I am using the YITH infinite scrolling plugin you can scroll down for the next page to load(via the plugin ) and you can see that.
To make the issue more clearer, I’ve printed a “hai” inside the template, the hai is printing in the first page but not from the 2nd page(when the yith scrolling plugin comes into play.
@ivansosa Yes I got that, but I need the “hai” to be printed just before the li(pls refer the screenshot). What I am looking here is to print a category title before each group of items (so that it should be printed before li tag). Please guide
unfortunately, at the moment is not possible. Another way to do it is to use the solution I gave you previously and move all these elements to each parent element via JS.