Curated Archives
Block Editor editable pages for your term archives
by Human Made · github.com/humanmade/curated-archives · website
★ 3stars
1.8kcomposer installs
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/humanmade/curated-archives/archive/refs/heads/main.zipAlso on Packagist as humanmade/curated-archives:
composer require humanmade/curated-archivesFrom the readme
Curated Archives
Block Editor editable pages for your term archives.
Installation
Install and activate the plugin. Using Composer is recommended.
Template File
By default the appropriate archive content template will be used, for example category.php or archive.php.
You can provide an alternative template for curated archive pages by adding a template file with one of the following names:
- curated-archive-{$term-slug}.php
- curated-archive-{$term-termid}.php
- curated-archive-{$term-taxonomy}.php
- curated-archive.php
To output the curated archive page content use the following function:
- thecuratedarchive( $termid = null ): You can optionally pass the term ID to show the content for.
Filters
- curatedarchivestaxonomies: The taxonomies curated archives supports.
- curatedarchivespostdata: The array of default post data used to create new curated archive posts.
- curatedarchivestemplate: The default block template for all content, this is passed to the registerposttype() call.
Read the full README on GitHub →