Archive Loop Module
The module "Archive Loop" displays the posts in a grid format (or list if you want). You can use this on the archive, pages, category or single pages.
Settings are as follows:
- Post Type
Specify the post type you want to show
- Custom Loop Layout
Specify the Custom Loop Layout - here is documentation on what this is and how to create it. Create a layout in the Divi Library to be shown for each post in the loop.
- Filter Update Animation Style
Choose the ajax animation that is shown when the posts are being loaded with the ajax filters.
- Animation Icon Color
Choose the color of your animation icon
- No Posts Layout
Like the custom loop layout, specify a Divi Library layout to be shown when there are no posts.
Loop Options (to create custom queries)
- Post Status
Choose the status of the posts you want to show.
- Post Count
Specify the number of posts to be shown.
- Include Categories
Add the slug of the categories you want to show, comma-seperated.
- Include Tags
Add the slug of the tags you want to show, comma-seperated.
- Filter by ACF Name
If you want to only show posts that have a specific ACF value - choose the ACF item here and specify the value in the next setting.
- ACF Value
Specify the ACF value - it will only show posts with this value
- Sort Order
Choose the order of the posts
Make it ascending or descending - based on the sort order value.
- Enable Load More
If you want a button to appear when there are more posts available, enable this. The viewer will see a button to press to load more posts.
- Grid Style
Choose the style of the posts - grid or masonry
- Equal Height Grid Cards
If you want each of the grid items to be equal in height - enable this
- Align Last Module at the bottom
Once you have the same height grid cards, if you want the last module to all be aligned at the bottom (like a button) - enable this.
- Grid Columns
Specify the column number on desktop
- Tablet Grid Columns
Specify the column number on tablet
- MobileGrid Columns
Specify the column number on mobile
- Link each layout to single page
Enable this if you want the whole layout for each post to link to the single page. Make sure you have no links in the custom loop layout (like buttons) as things can get messed up having a link inside of another link.