I am trying to output an image in between every XX post shown on the /category/archive pages for every category. Years ago there was a tutorial online of how to do this, but I can't seem to find it now.
I am writing a plugin that allows the admin to upload an image with a link to the image to create an advertisement on the site and have it show between every 10 posts shown on the category page. What hook would I use for this and would I need to loop through the posts before they are shown?
Any help would be greatly appreciated.