fbpx

Need Help?

Here are some good places you cant start.

Join the Community

Whats New?

Get updated about all the good stuff!

Dynamic Template Accordion

The Dynamic Template Accordion Widget allows you to design a loop item just like a single template and create a grid from the template.
 

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.

General Settings #

1
Items Item Template

Select the item template to dislpay.

2
Item Source

Select the item source.

  • Posts
  • Products
3
First Item Open

First item of accordion will display in open state.

Accordion Settings #

1
Icon

Choose an icon for accordion.

2
Icon Active

Choose an icon for active accordion.

3
Item Gap

Set the gap between items.

Items Post Query Settings #

Select the exact posts you want to show on your dynamic template accordion.

1
Posts Source

Choose any of the below options for your post source.

  • Current Query Post
  • Custom Posts
  • Related Posts
  • Manual Selection
2
Post Types

Choose the type of post you want to display.

3
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
4
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
5
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 #

1
Pagination

Display the pagination for your post grid

  • None
  • Numbers
  • Using Pagination Widget
2
Enable Post Filtering

When turned on you can use all the post-filter widgets like tab filters, load more and infinite scroll.

3
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:

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.

Icon Styling #

You can style icon background color, size, radius, etc.

Heading Styling #

Style the heading background, color, radius, padding, margin, and border.

Heading Text Styling #

In this section, style the heading title padding, color, and typography.

Item Styling #

You can style the padding, background, border, shadow, and radius of the accordion items.

Content Styling #

Style the content padding, margin, border, background, and radius in this section

Usage Examples #

Here are some live use cases for the Dynamic Template Accordion widget.

Download is just a click away

Get instant access to tons of Elementor goodies, completely FREE!

Hurray!

You got FREE access to the worlds leading widgets for Elementor page builder!