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.
Creazione di un modello archivio con Elementor Pro
Quando visiti il blog di un sito e vedi un elenco di articoli pubblicati, stai effettivamente visualizzando una pagina di archivio. Gli archivi hanno termini diversi che puoi utilizzare per filtrarli, termini che conosci: Autore, Data, Categoria, Risultati della ricerca, Post recenti, Tag o qualsiasi altra tassonomia.
- In Modelli> Generatore di temi> Archivio> Aggiungi nuovo, seleziona Archivio dal menu a discesa e fai clic su Crea modello.
- Scegli un blocco archivio e inserisci. In alternativa, puoi progettare il tuo.
- Fai clic sull’icona a forma di ingranaggio nell’angolo in basso a sinistra del pannello del widget per selezionare un archivio specifico come esempio di anteprima durante la modifica.
- Modifica tutti gli elementi come desideri. Dopo aver terminato la progettazione, fai clic su Pubblica.
- Scegli una condizione Fai clic per conoscere le condizioni.
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.
Did this answer your question?