This documentation explores how to use static and alternate items within a Post Loop Builder element to enhance the design of a site by adding alternate layouts, advertisements, notifications, promotions, or other static content within your list of posts.
To begin, ensure a Post Loop Builder element is added to Breakdance and the query has been set up accordingly. In this example, we’re using a post type called itineraries, ordering them by the post title, and setting the posts per page to 12.
It is also best to have the Global Blocks used in the Alternate and Static items ready for use.
Alternate items are best for displaying posts within the query in a different format from the standard posts.
Static items are ideal for integrating ads, promos, or notices within the post list that are static designs and do not contain dynamic data.
Both Alternate and Static items offer flexibility in terms of positioning and frequency. For example, you can set an Alternate item to appear at the fourth position and every second post after that. Similarly, Static items can be positioned and repeated based on your specific needs, allowing for a dynamic and engaging layout for your viewers.
Utilizing static and alternate items within your post loops offers a powerful way to diversify your content presentation. Whether highlighting specific posts with alternate layouts or integrating non-dynamic content like ads and notices, these features enable a more engaging and customized browsing experience for your users.