In WordPress, all post types and taxonomies have an archive page, by default. Toolset allows you to customize these archive pages and use Divi Builder to design how the individual posts are listed there.

If you want to design the listing of your WooCommerce products, visit our page about creating a custom Shop page using Divi Builder and Toolset.

The following image shows an archive page with a list of all posts belonging to our custom post type of “Tours”.

Creating a custom template for your archive page

Use the following steps to create your custom archive page.

  1. To start, go to Toolset -> Dashboard.
  2. Locate the row for your custom post type.
  3. In the Archive column, click Create archive.

  1. Click Create WordPress Archive in the pop-up dialog that appears.

 

An archive is created and automatically assigned to your custom post type.

Enabling Divi Builder for your archive page

You have now been taken to the Edit WordPress Archive screen, where you design your archive.

  1. Scroll down to the Loop Editor section.
  2. Click the Loop Wizard button.
  3. On the first step of the wizard, you select whether to display posts in a grid, table, list, or in any other way. In our example, we are going to display our “Tours” in a two-column grid, so let us choose Table-based grid and set the Number of columns to 2. Click Next.

  1. On the second step of the wizard, you select fields that appear for each listed post. We are going to select only one field now, and add all the other fields later using the Divi Builder.
    1. Click Add field.
    2. Select Post title with a link.
    3. Make sure to select the Use a Content Template to group the fields in this loop option checked.
    4. Click Finish.

  1. Click to Scroll to the Content Templates.
    In this editor, you design the content of a single product entry. We are going to design that part using the Divi editor.
  2. Press the Update button.
  1. Click the Divi Builder button.
  1. Click the Edit with Divi Builder button.

 

Designing your archive

The Edit Content Template screen opens in a new browser tab. Now, you can design how single post entries are listed on your archive page.

Use the Divi basic building blocks (Sections, Rows, Columns, and Modules) to build the content of your product entry.

The first text module (which includes the Product title with a link) has already been inserted.

Use the Divi Text module, and then click the Fields and Views button to insert other fields.

In our example, to add a “Tour City” field:

  1. Insert a new Text module.
  2. Click on Fields and Views.
  3. Locate the Tours section.
  4. Choose the City field to insert it.

Perform similar steps to insert other fields for your custom post type.

This is how your Content Template may look like:

Feel free to tweak your product appearance by applying custom styling. The Divi Design tab might help.

  1. Press Update to save your changes.
  2. Switch back to the tab of your browser that displays your Edit WordPress Archive screen and click Save all changes at once.

Visit your archive page on the front-end.

Changing theme options for your archive

Toolset allows you to customize certain Divi theme options for each archive page specifically. To do this, on the Edit WordPress Archive screen, scroll down to the Theme Options section and tweak the options to your liking.

You can also add a custom search to your archive page so that users can filter the posts by custom fields and taxonomies.

To add a search to your archive:

  1. Scroll up the WordPress Archive screen to the top and open the Screen Options.
  2. Check Custom Search Setting and Filter editor.
  3. Scroll down to the Filter Editor and add your filters and the submit button.

You can find the detailed guide about this on the Building Custom Searches page.