How to Create an Archive Page with Genesis

Genesis themes include a number of Page templates, which can be used to automatically create special pages on your website that would be more difficult to create manually. One of these is an Archive Page template that adds the following in place of the usual content:

  • a list of all Pages
  • a list of all categories
  • a list of all authors
  • a list of monthly Post archives
  • the 100 most recent Posts
Pages, Categories, Authors, Monthly, Recent Posts
A Genesis theme (Outreach Pro) displaying the site map

Creating an Archive Page

When creating your Page, select Archive under the Page Attributes section.

Selecting Archive under Page Attributes

The effect is that any body text is replaced with the site map, which is generated using the genesis_sitemap function. The subheadings of the site map are H2 if the semantic headings accessibility feature is supported, or H4 otherwise.

The Page title, comments, metadata, header, sidebar and footer are unaffected.

Editing the Archive Content

The easiest way to edit the content of your archive page is using the filter genesis_sitemap_output.

Add a Comment

Your email address will not be published. Required fields are marked *