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

Page for post type

Allows you to set pages for any custom post type archive

★ 188stars
11kcomposer installs

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/humanmade/page-for-post-type/archive/refs/heads/master.zip

On Packagist as humanmade/page-for-post-type:

composer require humanmade/page-for-post-type
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Allows you to set a page as the base URL for a post type, much like you can set a page for your blog posts.

This gives you some flexibility when using plugins or themes that provide custom post types. It's not unusual to want to nest these a little deeper in your site's page hierarchy.

Usage

Just activate it!

The plugin adds a settings section to the reading settings page where you would normally set a static home page and page for your posts.

You can choose a page to act as your post type archive page and also as the rewrite slug for posts within that post type.