WP Manifestindependent plugin directory
manifest / content / page-for-custom-post-type

Page for custom post type

Page for custom post types, just like page for posts

by Nicolas Lemoine · github.com/nlemoine/page-for-custom-post-type · website

9stars
20release downloads
≈10active sites
1.5kcomposer installs
3forks

Install

The author publishes release zips, so WP-CLI can install straight from GitHub:

wp plugin install https://github.com/nlemoine/page-for-custom-post-type/releases/download/1.1.0/page-for-custom-post-type-1.1.0.zip

Also on Packagist as n5s/page-for-custom-post-type:

composer require n5s/page-for-custom-post-type

From the readme

Page for Custom Post Type Assign any WordPress page as the archive page for a custom post type — just like the native "page for posts" setting. The problem WordPress custom post type archives are dynamically generated and can't be edited as regular pages. This creates recurring issues: - No editable content: clients can't add a title, excerpt, cover image, or custom fields to archive pages. - No SEO control: archive pages lack the metadata management that pages offer through SEO plugins. - No page builder support: archive templates can't leverage the page editor or custom fields. Several plugins have attempted to solve this: - post-type-archive-pages - wp-post-type-archive-pages - page-for-post-type (humanmade) - page-for-post-type (statenweb) While these provided inspiration, none fully replicate WordPress's native behavior. Approach This plugin mimics how WordPress handles the posts page (showonfront=page, pageforposts={id}). On a posts page request, $wpquery contains both: - $wpquery-queriedobject — the page itself (WPPost) - $wpquery-posts — the post type's posts (WPPost[]) This plugin replicates this exact behavior for custom post types, with no extra queries or new

Read the full README on GitHub →

Releases

TagPublishedAssetDownloads
1.1.0Jun 3, 2026page-for-custom-post-type-1.1.0.zip8
1.0.1May 8, 2026page-for-custom-post-type-1.0.1.zip7
1.0.0May 8, 2026page-for-custom-post-type-1.0.0.zip5

Active-site estimate ≈10 comes from the median of recent superseded releases. Method.