Set Archive Pages
Select a page to override archive page title & description.
by DevCollaborative · github.com/devcollaborative/archive-pages · website
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/devcollaborative/archive-pages/archive/refs/heads/main.zipDeclares an update source (https://api.github.com/devcollaborative/archive-pages/releases/latest), so updates arrive through the plugin's own updater.
From the readme
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: