Before starting to create a Dynamic Template Grid you will need to make sure you have the Unlimited Elements Pro installed and activated on your WordPress website.
let’s start creating.
Create an Elementor template #
It requires Elementor Pro installed and activated on your WordPress website.
Go to Templates -> Theme Builder -> Single Post -> Click the “Add New” button on the top
Choose a demo post #
Choose a demo post to build your grid.
Click on the settings icon on the bottom -> Click “Preview Settings” -> Choose a content type and post
Don’t forget to click the “APPLY & PREVIEW” button when you are done.
Design your grid item #
Drag & drop widgets to design your grid item using the Elementor editor.
Once you are done click the “PUBLISH” or “UPDATE” button & exit to the WP dashboard.
You can use the following dynamic single post widgets to create your dynamic template.
- Post Title
- Post Excerpt
- Post Content
- Featured Image
- Author Box
- Post Comments
- Post Info
You can use advance custom field(ACF) to showcase dynamic contents.
Install the Loop Grid widget #
Navigate to the “Unlimited Elements” plugin using the WordPress side menu.
Go to the Loop Builder category in the Widget Library.
Hover over the Loop Grid widget and click install.
Choose your template #
In general settings choose the template that you have created previously to use as a loop item.
Show posts using Items Posts Query #
Navigate to the “Item Posts Query” section in the editor sidebar.
You can now choose different settings to output the templates you want to show on the page inside of your loop grid.
Customize the template grid in the content tab and style tab to create the design you want to achieve.
General Settings #
Items Item Template
Select the item template to dislpay.
Item Source
Select the item source.
- Posts
- Products
Grid Settings #
Number of Columns
Set the number of items to show in a row.
Grid Gap
Set the gap between the grid.
Items Post Query Settings #
Select the exact posts you want to show on your dynamic template grid.
Posts Source
Choose any of the below options for your post source.
- Current Query Post
- Custom Posts
- Related Posts
- Manual Selection
Post Types
Choose the type of post you want to display.
Include By
Include the posts from different options given below
- Include Sticky Posts
- Get Only Sticky Posts
- Author
- Date
- Post Parent
- Post Meta
- Most Viewed
- ID's from PHP function
- ID's from Post Meta
- ID's from Dynamic Field
Include By Terms
Choose specific posts that you would like to include from your selection by adding rules.
- Include By Terms Relation
- Include Terms Children
Exclude By
Choose specific posts that you would like to exclude from your selection by adding rules.
- Terms
- Current Posts
- Author
- Post Without Featured Image
- Posts with current category
- Posts with current tags
- Offset
- Avoid Duplicates
- ID's from Dynamic Field
To know more about post query setting, please visit our article on Advanced Post Selection
Post Pagination and Ajax Setting #
Pagination
Display the pagination for your post grid
- None
- Numbers
- Using Pagination Widget
Enable Post Filtering
When turned on you can use all the post-filter widgets like tab filters, load more and infinite scroll.
Filters Behaviour
- Ajax
- Ajax and URL change - Will change the URL each time the filter changes and add the possibility to use browser back navigation.
Learn more about the diffrent Ajax filters that can work with the Post Grid in the links bellow:
Loop Grid Widget Styling #
Item Background
Set the item background.
Item Border Type
Select the border type from given options.
- None
- Solid
- Double
- Dotted
- Dashed
- Groove
Item Border Width
Set the width of border.
Item Border Color
Set the border color of the item.
Item Padding
Set the padding of items.
Usage Examples #
Here are some live use cases for the Loop Grid widget.
Dynamic Template Grid with tabs filter.