Creating an Archive Template with Elementor Pro
When you visit a site’s blog and see a list of published articles, you’re actually viewing an Archive page. Archives have different terms that you can use to filter them, terms you’re familiar with: Author, Date, Category, Search results, Recent posts, Tags or any other taxonomy.
- Under Templates > Theme Builder > Archive > Add New, select Archive from the dropdown and click Create Template.
- Choose an Archive Block and Insert. Alternatively, you can design your own.
- Click the gear icon in the lower left corner of the widget panel to select a specific archive as the preview example while editing.
- Edit any elements as you'd like. After you’ve finished designing, click Publish.
- Choose a Condition. Click to learn about conditions.
Templates > Add New
Choose Template Type (Archive)
Select from the Templates Library and Insert
Choose which archives to preview while editing
Edit any elements needed, then Publish and set Display Conditions
Tip: You can create dynamic archive templates by using ACF to add custom fields to your taxonomies such as your categories and tags, and then you can display those taxonomy custom fields on your archive pages. In this way, you can dynamically set the surrounding layout. For example, if you create a custom image field for each of your categories, then your archive template could display a unique banner image for each category.
Note: If you have created a custom post type using a plugin such as CPT UI, be sure to change ‘Has Archive’ from false to true so you can build an archive for this custom post type. If you've hand-coded the function yourself, be sure to set the parameter has_archive to true.