statenweb/page-for-post-type

Allows you to set pages for any custom post type archive. Purely forked to update composer/installers to 2
2,280
Install
composer require statenweb/page-for-post-type
Latest Version:0.2.0
License:GPL-3.0
Last Updated:May 18, 2023
Links: GitHub  ·  Packagist
Maintainer: mgargano

Page for Post Type

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.