März 8, 2021

Archives make it easier for users to access all posts that have something in common. You can create an archive based on a date of publication, content type, or taxonomy.

Watch the following video to learn how to design your custom WordPress Archives.

How WordPress Archives Work

In WordPress, the theme’s archive.php file defines how archives look like and what they output. This file is one of the templates that WordPress uses to show content on the front-end.

To display custom fields in your archives, you need to add custom PHP code to the archive.php file. To design archives for custom content types, you need to create new PHP templates and add custom code to display what and how you want to display.

Designing WordPress Archives without PHP

Toolset allows you to create WordPress archives without adding custom PHP code. You can create a custom post type right from the Toolset → WordPress Archives page.