Add element after n stores in the the results
-
Hi there,
I was wondering if it would be possible to add an element after for example the 5th store in the results? (I want to add a message to get in touch if you cant see your store in the results).
At the moment I am adding this message into my custom template which is called with the wpsl_listing_template filter, but of course it either shows above or below all the results.
I assume I could achieve this fairly easily with a for each loop but I am not sure where this logic would go – could you point me in the direction of where the loop is that populates the template with the results?
Thanks
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Add element after n stores in the the results’ is closed to new replies.