Install
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/devcollaborative/archive-pages/archive/refs/heads/main.zipUpdates itself. It ships its own updater (Update URI header), so new versions appear under Dashboard → Updates.
Archive Pages
Add settings page to choose a page to render at the top of an archive page.
Allows you to use the archive page template for a post type, but render block editor content and set the page title.
Installation
Clone or download this repository and add it to the wp-content/plugins directory.
How to Use
Go to Settings Archive Pages and choose a page to set as the archive page for your custom post type.
Once an archive page is selected, getthearchivetitle() will return the title from the selected page, and getthearchivedescription() will return the post content from the selected page.
If you want to directly access the selected archive page for a post type you can do so like this: