• I feel like this is a simple request but I can’t figure out how to create an “archive” page that contains all of my posts.

    Can anyone help me, please?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Fergumungus. Welcome to the Hueman forum. This is pretty straight-forward. Only requires modifications to one theme file in a child theme. If you don’t yet have a child theme:
    1. In Theme Options click the Help tab in the upper righthand corner.
    2. One of the options in the list is to download a sample child theme. This downloads the theme zip file to your local computer.
    3. Install the new theme in your Admin panel by selecting Add New > Upload Theme > Choose File, then select the zip file you downloaded.
    4. Activate the child theme.
    You’ll now have a pre-configured child theme with a style.css file and functions.php file to which you can add customizations.

    To create the archive page:
    1. Copy archive.php from the parent theme to your child theme.
    2. Make the following changes to the child theme archive.php file (full page code here: https://pastebin.com/7FyHHrRG)
    – Add the page template name section at the top.
    – Add the section to set up a custom archive query.
    – Modify two post loop lines to use the custom query.
    – Add the line at the bottom to reset the query.
    3. Create a new page; select the All-Posts Archive Page template.
    4. Add the page to your menu.

    Let me know if you have any questions.

    Thread Starter Fergumungus

    (@fergumungus)

    Thanks for the response. I’ll give that a shot.

    One step I missed. After you copy archive.php to your child theme you need to rename the file; something like all-posts-page.php. Otherwise the child theme will use it for every category archive page.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Show all posts on a page’ is closed to new replies.