A Payload site, ready to clone

Post types

Blog, news or case studies: each kind of article is its own type, with its own list.

What it does

A post type is a kind of article kept apart from pages, such as the Blog and News of this demo. Each type is its own list in the admin, so the types never mix. A post has a title, a slug, a date, an author, a featured image, an excerpt and blocks, all per language, and it has drafts and versions like a page.

Each type hangs from one page, its index page, chosen in Settings → General, and its posts live under it: /blog/hello-apex. The index page shows the list with a Posts list block, which an editor can place on any page too: it takes the type, how many posts, which details to show (image, excerpt, date, author) and a style, rows or cards. It lists the published posts in the visitor’s language, newest first, and on the index page it can split them into pages (/blog/page/2). A post that is not translated into a language is left out of that language’s list, menus and sitemap.

Categories and tags are taxonomies, declared on their own and attached to the types that use them. Topics are categories, with sub-topics and a main one per post, and are shared by Blog and News; Tags are a flat list used by Blog only. Editors pick them on each post. A Posts list block can show only the posts with one topic or tag (the Blog index page ends with one for Development), and a post type can turn on related posts: at the end of each Blog post, the posts that share the most topics and tags with it.

Each topic and tag has an archive page listing its posts: under a type’s index page (/blog/topics/product) or across Blog and News (/topics/product). Blog also has date archives (/blog/2026/10) and author archives (/blog/author/ana-demo). Every archive splits into pages, and date and author archives are kept out of search engines.

Posts are also in the sitemap, can be linked from menus and carry structured data (BlogPosting or NewsArticle) for search engines.

See it in the demo

Open Blog: its list is a Posts list block with rows, five posts per page. News uses the same block as cards, and the home ends with its three latest. Only in English is a blog post with no Spanish or Catalan version: switch language and it disappears from the list and the menus. In the admin, Blog and News are separate lists, and Topics and Tags are under Taxonomies.

For developers

Types are declared in project/project.config.ts with postTypes([...]), and taxonomies([...]) after it (src/plugins/postTypes and src/plugins/taxonomies, ADR 0050). A type’s slug names its tables, so adding, renaming or removing a type needs a migration (pnpm payload migrate:create). See the README section "Post types" and the plugin’s README.

Blog

Rows, five per page, with the author.

Open Blog

News

Cards, without the author.

Open News

Only in English

A post with no translation.

Open the post

One block, every feature page

This strip is a reusable block: written once and placed at the end of every feature page. Edit it under Reusable blocks and all of them change.

All features