This Pro tutorial shows how we can insert a Div (or any custom HTML) after nth post (Ex.: after 5th post) in the list of posts output via a query loop in Bricks.
This can be used to insert an ad/banner or any other functionality like Top Posts in between posts.
Define a custom function that returns the current index in the query loop.
This is a Pro members-only tutorial.
To get full access, login below or sign up for a Pro Account
Sridhar Katakam is a WordPress expert with more than 12 years of experience. Sridhar is the founder of WPDevDesign and BricksLabs. He lives in Melbourne, Australia.
Yes, add me to your mailing list