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
Creating an Archive Page
When creating your Page, select Archive under the Page Attributes section.
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
- How to Add a Site Map with Genesis
- How to Edit the Output of the Site Map with Genesis
- How to Produce the Archive Page Content with Genesis
Relevant tutorials from the Genesis community.