Note: While our most popular guides have been translated into Spanish, some guides are only available in English.
Archive Blocks

Use Archive Blocks to create organized lists of links to blog posts, gallery images, products, and events. Archive Blocks can display content by tag, category, author, and date.

You can use Archive Blocks to create a text-only index or add navigation to sidebars, footers, and other areas. The blocks update automatically when you add, edit, or delete content. 

Archive Blocks are text-only. To create visual displays of existing content, use Summary Blocks.

Add the Archive Block

To add an Archive Block:

  1. Edit a page or post, click an insert point, and select Archive from the menu. For help, visit Adding blocks.
  2. In the block editor, select the page with the content you want to feature in the block. You can select any type of collection page except Album Pages.
  3. Click Display to select a layout from the Layout drop-down menu.
  4. In Group By drop-down menu, select how you want the content grouped.
  5. Depending on your Group By criteria, use the Sort By drop-down menu to sort the content.
  6. Click Apply to save your changes.

Archive Blocks can only display content from one page each. However, you can add multiple blocks to feature all of the content you want.

Note: Archive Blocks replace Tag List, Author List, Category List, and Month List Blocks. If your site uses these blocks, they'll continue working but it won't be possible to add new blocks.

Select a layout

Click the Display tab to select Index, List, or Dropdown from the Layout drop-down menu. The preview of the block on your page will change so you can view the changes in real time. We recommend playing around with the settings until you find a layout you like.

The Index layout displays a list of items with the Group By criteria as headers. You can display an Index as one column or check Break into Multiple Columns. You can:

  • Align text LeftRight, or Center.
  • Sort by ascending dates.
  • Show the dates items were published.
  • Show the number of items in each group (group count).

Example:

The List layout displays the Group By criteria in a list. It doesn't display individual items. You can display a List as one column or check Break into Multiple Columns.  You can:

  • Align text LeftRight, or Center.
  • Sort by ascending dates (when grouped by month or year).
  • Show the number of items in each group (group count).

Example:

The Dropdown layout displays the Group By criteria in a drop-down menu. You can:

  • Enter a title.
  • Sort dates by ascending (when grouped by month or year).
  • Show the number of items in each group (group count).

Example:

Choosing the right layout

Use this table for help deciding which layout option is best for you.

To create a design that: Select this layout: Then choose from additional style options:
  • Lists individual items
  • Uses the Group By criteria as headers for each section
Index 
  • Break lines into multiple columns
  • Show the publish dates for items
  • Show the number of items in each group
  • Lists the Group By criteria
  • Doesn't list individual items
 List
  • Break list into multiple columns
  • Show the number of items in each group
  • Creates a drop-down menu of Group By criteria
  • Doesn't display individual items
Dropdown 
  • Enter a title to display in the drop-down menu
  • Show the number of items in each group 

Select a "group by" criteria

In the Display tab, select Month, Year, Author, Category, or Tag from the Group By drop-down menu to organize content by specific criteria. For example, selecting Category will create navigation in the block by category as shown in the examples above.

Each Archive Block supports one Group By criteria. To divide content in multiple ways, add multiple Archive Blocks. For example, you can add one Archive Block that lists content by tag and one Archive Block that lists content by month.

Archive Blocks can display up to 50 groups (a Month, Year, Author, Category, or Tag) with a maximum of 100 items per group.

Select a "sort by" criteria

After selecting Group By criteria, select a Sort By criteria to set the sort order for the Archive Block's content. Your options depend on the Group By criteria.

When grouping by month or year, items appear in descending order by default. Check Sort Dates Ascending to reverse the order.

When grouping by author, select First Name, Last Name, Count, or Activity from the Sort By drop-down menu. 

Author names are pulled from the Bio tab in contributor profiles. To change how your name displays, visit Editing contributor profiles.

  • First Name - Alphabetical order by first name
  • Last Name - Alphabetical order by last name
  • Count - Items per author in descending order
  • Activity - Most recently published item by author

When grouping by categories or tags, select Name, Count, or Activity from the Sort By drop-down menu.

  • Name - Category alphabetical order
  • Count - Frequency of item in descending order
  • Activity - Most recently published item with the tag or category
Was this article helpful?
98 out of 191 found this helpful