Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
25 Million+
Websites using our plugins
Years of WordPress experience
WordPress tutorials
by experts

How to Create a Custom Archives Page in WordPress

Editorial Note: We earn a commission from partner links on WPBeginner. Commissions do not affect our editors' opinions or evaluations. Learn more about Editorial Process.

Do you want to create a custom archives page in WordPress?

WordPress comes with an archives widget that you can add to any widget-ready area, such as the sidebar. However, many successful websites use a stand-alone archives page to help visitors find what they’re looking for.

In this article, we will show you how you can create a custom archives page in WordPress.

How to create a custom archives page in WordPress

Why Create a Custom Archives Page in WordPress?

An archives page aims to display a chronological list of your past posts, making it easier for visitors to explore your content based on publication dates.

If you’re a blogger, having an archives page is a must. It provides a convenient way for users to access older posts without scrolling through the entire blog.

You may want to create a custom archives page if your current theme doesn’t have an archives page template in place. Even if it does, you may still want to customize it to your needs.

At WPBeginner, we use a custom archives page that features a button leading users to our WPBeginner Guide collection. This way, new readers can simply click on it to see our ultimate guide resources.

We also organize all our blog posts into years and months so that readers can easily see what articles are published in a certain period.

The WPBeginner custom archive

Here, we’ve also added our site’s categories and tags to the custom archive page.

In this way, visitors can easily find older posts that may interest them. If you do this for your own blog, you’ll have better chances of increasing your pageviews and reducing your bounce rate.

The WPBeginner custom archive

With that in mind, let’s look at how you can create a custom archives page in WordPress, no matter what theme you’re using.

Simply use the quick links below to jump straight to the method you want to use.

Method 1: Create a Custom Archives Template Using the Block Editor

If you are using a block theme, then the full site editor makes it easy to design a custom archives page template.

This method doesn’t work with every theme, so if you’re not using a block-based WordPress theme, then we recommend using a page builder instead.

To start, simply create a new page or open an existing page that you want to use as your archive. In the right-hand menu, click on the ‘Page’ tab and then select the link next to ‘Template.’ The exact link text may vary depending on the template you are currently using.

How to create a new custom archives template

A popup will now appear with your current template.

Simply go ahead and click on the ‘New Template’ icon.

Creating a custom archives template

In the popup, type in a name for the custom page template. The template name is just for your reference, so you can use anything you want.

Then, go ahead and click on ‘Create’ to launch the template editor.

Naming a WordPress custom archive template

The template editor works similarly to the standard WordPress block editor.

To add blocks to your custom archives page, simply click on the blue ‘+’ button. You can then drag and drop to add blocks to your layout.

Adding blocks to the full site editor

Since we are creating a custom archives page, you will typically want to start by adding an Archives block. This WordPress block allows visitors to explore your posts based on the year, month, week, or day.

For example, the following image shows an Archives block where the posts are organized into monthly archives.

How to add an archives block to a custom template

Clicking on any of these links will take the visitor to a new page showing all the posts published during that period.

To add an Archives block, simply find it in the left-hand menu and then drag it onto your layout. After adding any block, it’s a good idea to look at its settings in the right-hand menu.

Configuring the archives WordPress block

To start, you may want to change how the posts are organized by opening the ‘Group by’ dropdown and choosing an option from the list.

For example, if you only have a small number of posts then it may make sense to show them by day.

However, if you have lots of content, then you will typically want to choose ‘Month’ or even ‘Year’ so that you don’t overwhelm visitors with a long list.

Grouping archived posts by date

WordPress shows the archived posts in a bullet point list by default, but you can also present them as a dropdown menu.

This can be useful if you have a very small amount of space and need to create a compact archive. To switch to a dropdown format, simply click on the ‘Display as dropdown’ slider to make it active.

Displaying posts as a dropdown menu

The Archive block can also show the total number of posts next to each heading.

This can help visitors decide which part of the archive they want to look at first.

Creating a custom archive page in WordPress

You may also want to add a category archive so that visitors can explore your posts based on their content and not just the date. This can help visitors find interesting content, which will keep them on your website for longer and improve your WordPress SEO.

To add this block, simply click on the blue ‘+’ button and type in ‘Categories List.’ When the right block appears, add it to your layout using drag and drop.

Adding a Categories List to a custom archives page

Once again, you may want to make some changes to the block’s settings.

Similar to the Archives block, you can add a post count to the list or show the categories as a dropdown menu rather than a bullet point list.

By default, this block shows all categories and subcategories in exactly the same way.

A list of categories and subcategories on a custom archives page

You may prefer to show the child categories indented beneath their parent.

To make this change, just click to activate the ‘Show hierarchy’ toggle.

Showing indented subcategories on a custom WordPress archive

Another option is to hide child categories completely by activating the ‘Show only top level categories’ toggle.

You may also want to add a tag cloud, which can help visitors find interesting related content. To do this, simply find ‘Tag Cloud’ in the left-hand menu and then drag it onto your layout.

Adding a tag cloud to the archive page

You can now select the block and configure it using the settings in the right-hand menu.

To start, the Tag Cloud has two styles: Default and Outline. You can switch between these by clicking on the small circle icon and then choosing one of the options under ‘Styles.’

Adding a tag cloud to a custom archives page

You can also use show the total number of posts next to each tag, and change the number of tags that are included in the cloud.

Simply click on the small cog icon and then make your changes in this section.

Changing the tag cloud settings

Despite the name, you can also show categories in the Tag Cloud. For example, you may prefer the styling of the Tag Cloud block compared to the Categories block.

To show your site’s categories instead, simply open the ‘Taxonomy’ dropdown and then choose ‘Categories.’

Showing categories in a tag cloud

Archives are designed to give visitors easy access to all your content.

However, you may also want to highlight your site’s most recent posts by adding a Latest Posts block.

Showing a list of latest posts

By default, this block simply shows each post’s title, but you can add the author, publication date, and featured image.

Simply use the toggles in the right-hand menu to make these changes.

Showing your most recent posts on the archive page

You may also want to show the post excerpt, which can help visitors understand what each post is about.

To add the excerpts, go ahead and click to activate the ‘Post Content’ toggle.

How to show post content and excerpts on the custom archive page

After that, click to select the ‘Excerpt’ button.

By default, WordPress will show a maximum of 55 words in the excerpt. To show more or fewer words, simply use the ‘Max number of words in excerpt’ settings.

After you have done that, scroll to the ‘Sorting and filtering’ section.

Here, you can see that the block organizes posts from newest to oldest. You can change this by opening the ‘Order’ dropdown and choosing a different option, such as ‘A-Z.’

Organizing the latest posts on your WordPress archive page

In this section, you can also choose to show posts from a particular author or category.

Finally, you can change how many posts WordPress shows in the block, either by typing a new number into the ‘Number of items’ section or by dragging the slider.

Changing the order of your latest posts

You can continue working on your archive page by adding more blocks and then configuring them in the right-hand menu.

For example, you may want to add an Image block and show a custom logo or add a search bar so that visitors can look for a particular post.

When you are happy with how the template looks, click on the ‘Publish’ button and then click on the ‘Save’ button.

The page you created earlier will now be using the new archive template. You can either update or publish the page, and then visit your WordPress website to see the custom archive page live.

For more information about using the WordPress full site editor, check out the following guides:

The block-based editor lets you create a simple custom archives page. However, it doesn’t work with every theme, and you are limited to the built-in WordPress blocks and tools.

If you want to create a completely custom archives page that works with any WordPress theme, then we recommend using a page builder instead.

SeedProd is the best drag-and-drop page builder for WordPress. It comes with more than 180 templates and ready-made blocks, including a block that shows all your website’s posts.

First, you need to install and activate SeedProd. For more details, see our step-by-step guide on how to install a WordPress plugin.

Note: There is a free version of SeedProd that allows you to create custom pages if you’re on a tight budget and just getting started. However, for this guide, we will be using SeedProd Pro since it has lots more templates and blocks.

After activating the plugin, SeedProd will ask for your license key.

Adding the SeedProd license key

You can find this information under your account on the SeedProd website. After entering the key, click on the ‘Verify Key’ button.

Once you have done that, go to SeedProd » Landing Pages and click on the ‘Add New Landing Page’ button.

Creating a new SeedProd page

You can now choose a template for the custom archives page.

SeedProd’s templates are organized into different campaign types like lead squeeze, maintenance mode, and coming soon. You can click on the tabs at the top of the screen to filter the designs based on campaign type. 

SeedProd's professionally-designed templates

To preview any design, simply hover your mouse over that template.

Then, click on the magnifying glass icon that appears.

Previewing a SeedProd template

When you find a design that you like, click on ‘Choose This Template.’ We are using the ‘Blank Template’ as it lets us start with a clean slate, but you can use any template you want.

Next, go ahead and type in a name for the custom page. SeedProd will automatically create a URL based on the page’s title, but you can change this URL if you want.

For example, you may want to add some relevant keywords, as they can help search engines understand what this page is about.

For more information, please see our guide on how to do keyword research for your WordPress blog.

When you are happy with the information you have entered, click on the ‘Save and Start Editing the Page’ button.

How to create a custom archive using SeedProd

This will load the SeedProd page builder interface. It is a simple drag-and-drop builder that shows a live preview of your page to the right.

You will also see block settings on the left.

How to create a custom archive using SeedProd

To start, you will need to choose a layout, which will you organize your content into columns.

In the ‘Choose your layout’ section, simply click on the layout you want to use. You can choose any layout, but we are using the full-screen layout in all our images.

Choosing a layout for your custom archive page

After choosing a layout, you can start adding blocks to the archives page.

The left-hand menu shows all the different blocks that you can drag onto your design. Since we’re creating a custom archive page, we’re going to add a Posts block.

In the left-hand menu, start typing ‘Posts’ into the search bar. When the right block appears, drag and drop it onto your layout.

Adding a 'Posts' block to a custom page using SeedProd

This block will now show the title for all your posts.

It also has a ‘Continue Reading’ link that visitors can click to read each post in full.

How to add posts to a custom archive page in WordPress

By default, this block shows all your posts, but you can change this to only show posts that have a particular category or tag, or posts published by a specific author.

To make this change, simply click to select the ‘Posts’ block in your layout and then use the settings in the left-hand menu.

For example, in the following image, we are only showing posts from the ‘Marketing’ category.

Filtering your archive posts based on category

You can also change how the posts are organized in the block. For example, you might show posts based on when they were published, or how many comments they have.

To change the order of your posts, simply scroll to the ‘Order By’ box and then choose a new option. By default, SeedProd shows posts in ‘ASC’ order, which stands for ascending.

To arrange your posts in descending order instead, simply open the ‘Order’ dropdown and choose ‘DESC.’

Showing posts in descending order

After that, you can scroll to the ‘Layout’ section and change how the list of posts is displayed.

For example, you can split the posts into multiple columns by typing a new number into the ‘Columns’ field.

Creating a multiple column archive page

You can also change how many posts are included in the list, add or hide the post excerpts, and change the ‘Continue Reading’ text.

When you are happy with how the list of posts looks, you can add more blocks to your archives page and then customize those blocks using the settings in the left-hand menu.

For example, you may want to encourage people to follow you on social media by adding a ‘Social Profiles’ block.

Adding social profiles to a custom page

When you’re happy with how the page is set up, it’s time to publish it by clicking the dropdown arrow next to ‘Save’ and then selecting ‘Publish.’

Your custom page will now go live on the front end of your WordPress blog.

Publishing your SeedProd custom archive page

To help visitors find the archive page, you may want to add it to your navigation menu or your website’s footer.

Bonus Tip: Create a Custom Post Types Archive Page in WordPress

Do you use custom post types for your WordPress site? If so, you may want to consider creating an archives page for custom post types only.

When you use custom post types, WordPress will use the default archive template to display them. That said, it may not be the most appealing or user-friendly way to show off your custom post types.

For more information about this topic, check out our article on how to create a custom post types archive page in WordPress.

We hope this article has helped you create a custom archives page in WordPress. You may also want to read our article on how to limit the number of archive months displayed in WordPress and must-have WordPress plugins to grow your website.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

80 CommentsLeave a Reply

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Martin says

    Great article.

    I have maybe a silly question. Is there any SEO benefit if I have a custom archive page or even archive.php. in the theme folder?

    Or is it the same as creating a new page with url mydomain/archive and listing all my posts and pages based on the categories I want. This is what I would prefer.

    Thank you

    • WPBeginner Support says

      Having a custom archive would not give an SEO benefit, it would be personal preference and you can use your second method if you wanted.


  3. Aileen says

    Hi–my site is using the Genesis framework an it has a child theme. I tried to implement the page-archive.php, but I skipped the part where I copy the page design from page.php and I’d hope it would work regardless.
    So when I tried implementing this, when I go to my Archive place, it gives an Internal error, ie. 505 and cannot find the page itself.
    How does this work with Genesis?

    • WPBeginner Support says

      Adding a custom page template would be the same as with any other theme, it seems like there may be a problem with the code you’re using to create the archive page.


  4. Rahul Lakra says

    Firstly, Thank you so much. But I can’t see any sidebar in this page. In normal pages it is visible. I will be so happy if you can help me out to display sidebar here too. Thanks In advance!

    • WPBeginner Support says

      For the sidebar, sadly that is theme specific for what needs to be added, if you reach out to your theme’s support they should be able to let you know how they have the sidebars added to the templates.


  5. Vijay Sundaram says


    This was a great tutorial. However, the CSS code for the categories does not seem to work. It is shown as a list with categories and subcategories. Where do I embed the code that you have given in the style.css file? What is meant by make it appear inline? It would be great if you could help me resolve this?
    Vijay Sundaram

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.