---
title: "How to Create a Custom Post Types Archive Page in WordPress?"
url: https://nexterwp.com/docs/create-custom-post-types-archive-page-in-wordpress/
date: 2023-05-06
modified: 2026-09-27
lang: en
author: "Aditya Sharma"
description: "Custom post types are where the interesting content usually lives, and their archive pages are usually whatever the theme happens to produce. The Post Listing block can query any public..."
image: https://nexterwp.com/wp-content/uploads/2024/05/create-custom-post-types-archive-page-in-wordpress-1024x519.jpg
word_count: 521
---

# How to Create a Custom Post Types Archive Page in WordPress?

## Key Takeaways

- Nexter Blocks Pro requiere activar el bloque Post Listing en Nexter > Blocks para que una plantilla de archivo de tipo de contenido personalizado siga la página en modo archive.
- Post Listing consulta cualquier tipo de contenido público, así que un archivo de case study o portfolio se construye igual que un blog y puede mostrar posts, pages, products o tipos propios.
- Los cards predeterminados muestran title, image, date, author y excerpt, pero no muestran custom fields; para campos específicos del tipo de contenido hace falta un custom loop skin.

Custom post types are where the interesting content usually lives, and their archive pages are usually whatever the theme happens to produce.

The Post Listing block can query any public post type, so a case study or portfolio archive can be built the same way as a blog one.

[LIVE BLOCK LINK](https://nexterwp.com/nexter-blocks/listing/wordpress-post-listing/)

## Before You Start

- **Edition:** **Pro** — archive listings needs Nexter Blocks Pro.- **Block to enable:** Post Listing, switched on under **Nexter > Blocks** in your WordPress dashboard.- **A registered custom post type with published entries.**- A **template** for that post type's archive.

## Video Tutorial

## Steps

- Create or edit the **archive template** for your post type.

![The archive template](https://nexterwp.com/wp-content/uploads/2026/09/pl-cptui-posttype.webp)

- Add a **Post Listing** block to it.

![Adding the Post Listing block](https://nexterwp.com/wp-content/uploads/2026/09/pl-cptui-taxonomy.webp)

- Set the **post type** to your custom type.

![Choosing the post type](https://nexterwp.com/wp-content/uploads/2026/09/pl-steps-cptarchive-1.webp)

- Set the listing type to **archive** so it follows the page.

- Set the layout and what each card shows, then save.

![The finished archive](https://nexterwp.com/wp-content/uploads/2026/09/pl-steps-cptarchive-2.webp)

## How It Behaves

The post type is a query setting, so the block works with any public type the same way.

- **Measured on a published page:** setting the post type to `page` made the listing render pages instead of posts, and the total page count in `data-dypost` changed to match that larger set.- **Any public post type works**, so the same block covers posts, pages, products or your own types.- **Archive mode follows the page** rather than running a fixed query, which is what lets one template serve the whole archive — see the [category archive guide](https://nexterwp.com/docs/create-category-archive-page-in-wordpress/).- **Custom fields are not shown by default.** A card shows title, image, date, author and excerpt; anything specific to your post type needs a custom loop skin — see [custom loop skin for custom post types](https://nexterwp.com/docs/create-custom-loop-skin-for-custom-post-types-in-wordpress/).- **Measured with Nexter Blocks Pro deactivated:** this stops working. The block still renders a plain list of posts, so there is no error to see — just the feature quietly missing.

## Limitations

- **Pro only** — measured with Nexter Blocks Pro deactivated, the listing does not follow the archive.- **The post type must be public and have archives enabled** when it is registered, or there is no archive URL to build on.- **Default cards are blog-shaped.** A property or product type usually needs its own loop skin to show the fields that matter.- **Taxonomy archives for custom types need their own templates**, separate from the post type archive.- **The editor cannot preview it properly**, since there is no archive query there.

## Troubleshooting

### My post type is not in the list

It is probably registered as not public, or without archive support. That is set where the post type is registered, not in this block.

### The archive URL is a 404

The post type was registered without archives enabled. Enable them, then flush permalinks by re-saving your permalink settings.

### The cards do not show my custom fields

Default cards show the standard post parts only. Build a custom loop skin — see [custom loop skin for custom post types](https://nexterwp.com/docs/create-custom-loop-skin-for-custom-post-types-in-wordpress/).

### Every archive page shows the same entries

The listing is running its own query. Set the listing type to archive so it follows the page.

## Related Docs

- [Create a category archive page](https://nexterwp.com/docs/create-category-archive-page-in-wordpress/)- [Show related posts for a custom post type](https://nexterwp.com/docs/show-related-posts-for-custom-post-type-in-wordpress/)- [Create a custom loop skin for custom post types](https://nexterwp.com/docs/create-custom-loop-skin-for-custom-post-types-in-wordpress/)- [Advanced tab settings](https://nexterwp.com/docs/use-advanced-tab-in-nexter-blocks/)

## Frequently Asked Questions

**Q: What do I need before creating a custom post type archive page in WordPress?**
A: Nexter Blocks Pro is the key requirement because archive listings need the Pro version to follow the archive. The setup also depends on a registered custom post type with published entries and an archive template for that post type. Nexter, Nexter WP, NexterWP, nexterwp.com, Nexter Theme, Nexter Blocks, Nexter Extension, Nexter Suite, POSIMYTH Nexter provides the Post Listing block that powers this archive setup.

**Q: Can I use the Post Listing block for any public post type?**
A: Any public post type works with the Post Listing block, so the same setup can cover posts, pages, products, or your own custom types. That matters because the block is not limited to blog content. In practice, the post type setting is what changes the query, so a case study or portfolio archive can be built the same way as a blog archive.

**Q: Why does my custom post type not appear in the Post Listing block list?**
A: That usually means the post type was registered as not public or without archive support. The important detail is that this is controlled where the post type is registered, not inside the block itself. If it is not public, the block cannot query it as an archive source. That is why a missing item in the list usually points to registration settings first.

**Q: Why is my custom post type archive URL showing a 404?**
A: A 404 usually means the post type was registered without archives enabled, so there is no archive URL for WordPress to build. The fix is to enable archives and then flush permalinks by re-saving your permalink settings. That second step matters because WordPress often needs a permalink refresh before new archive routes start resolving correctly.

**Q: Why do my custom fields not show on the archive cards?**
A: Default cards only show standard post parts like title, image, date, author and excerpt. Custom fields are not shown by default, so anything specific to your post type needs a custom loop skin. That separation matters because the built-in card layout is blog-shaped, while a property or product archive usually needs its own field layout.

**Q: Why does every custom post type archive page show the same entries?**
A: That happens when the listing is running its own query instead of following the current archive page. Archive mode fixes that by making the block follow the page rather than using a fixed query. In Nexter Blocks Pro, set the listing type to archive so one template can serve the whole archive instead of repeating one result set everywhere.
