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
Name your template
Give your template a name and click the “CREATE TEMPLATE” button
Start your own design
Close the templates library dialog to start your own design.
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 Dynamic Template Accordion widget
Navigate to the “Unlimited Elements” plugin using the WordPress side menu.
Go to the Dynamic Loops category in the Widget Library.
Hover over the Dynamic Template Accordion widget and click install.
Add Dynamic Template Accordion widget to Elementor page
Create a new Elementor page or edit and existing page.
Search for Dynamic Template Accordion widget.
Drag the “Dynamic Template Accordion” widget into the page from the widgets panel.
You can use this widget to create a post archive template and product archive template.
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 dynamic template accordion.
Customize the template accordion in the content tab and style tab to create the design you want to achieve.
Select the item template to dislpay.
Select the item source.
First item of accordion will display in open state.
Choose an icon for accordion.
Choose an icon for active accordion.
Set the gap between items.
Items Post Query Settings
Select the exact posts you want to show on your dynamic template accordion.
Choose any of the below options for your post source.
- Current Query Post
- Custom Posts
- Related Posts
- Manual Selection
Choose the type of post you want to display.
Include the posts from different options given below
- Include Sticky Posts
- Get Only Sticky Posts
- Post Parent
- Post Meta
- Most Viewed
- ID's from PHP function
- ID's from Post Meta
- ID's from Dynamic Field
Choose specific posts that you would like to include from your selection by adding rules.
- Include By Terms Relation
- Include Terms Children
Choose specific posts that you would like to exclude from your selection by adding rules.
- Current Posts
- Post Without Featured Image
- Posts with current category
- Posts with current tags
- Avoid Duplicates
- ID's from Dynamic Field
Post Pagination and Ajax Setting
Display the pagination for your post grid
- Using Pagination Widget
When turned on you can use all the post-filter widgets like tab filters, load more and infinite scroll.
- 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:
Dynamic Accordion Styling
You can customize every aspect of the widget’s design through different styling options. Choose colors that match the style of your website. You can modify the text, icons, fonts, and layout to make the widget look and work the way you want.
You can style icon background color, size, radius, etc.
Style the heading background, color, radius, padding, margin, and border.
Heading Text Styling
In this section, style the heading title padding, color, and typography.
You can style the padding, background, border, shadow, and radius of the accordion items.
Style the content padding, margin, border, background, and radius in this section
Here are some live use cases for the Dynamic Template Accordion widget.