The Posts Lists placement that comes with Advanced Ads Pro allows you to inject ads between posts on post list pages like home, categories, tags, or any other page with a list of multiple posts.
You find this placement under Advanced Ads > Placements. When creating a new placement, you only have to select the Post Lists placement type. Afterward, enter a name to save it.
After saving, just select the post index before which the ad should show up.
E.g., if you want to display the ad between the second and the third entry of the archive page, select “3” here.
Click on the preview image to load and start the video from YouTube. By clicking you agree that your information will be sent to and processed by YouTube, LLC, 901 Cherry Avenue, San Bruno, CA 94066, USA. Read more
Secondary Loops & AJAX calls
If your theme or any other plugin creates post lists aside from the default WordPress loop, you can enable the Secondary Loops option in the additional placement options.
This would inject ads in those loops and AJAX-loaded content but could lead to showing ads in multiple other places.
See here an example for the integration of a post list placement in the Pocono theme.
The post list injection is bound to the the_post() function in your template. This is typically included in themes, but it might happen that your theme developer chose to use a workaround.
To place an ad between posts, in this case, you can:
- ask the theme developer for advice
- use this code snippet to place a manual position
- use the Custom Position placement.