Arch Builder
Flexible WP archive pages
★ 0stars
1forks
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/m-e-h/arch-builder/archive/refs/heads/master.zipDeclares an update source (https://github.com/m-e-h/arch-builder), so updates arrive through the plugin's own updater.
Readme
arch-builder
Flexible WP archive pages
WIP
Control the layout of Archives from the WordPress quick-edit box.
Most features of this plugin rely on the Hybrid Core library and should work with most Hybrid themes
Actually, that's not true. You'll need the 3.1 branch
If not using a Hybrid theme, the width classes should still work with most Underscores based themes.
Things that will make this system work a lot better:
- A theme using Hybrid Core 3.1 branch (required for everything but the 'width' setting)
- Simple Page Ordering plugin or something similar
- CPT Archives plugin (not required but sure makes things nice)
Individually set each post's
component type
- cards
- tabs
- accordion
Tabs and accordions will populate with child-posts of the designated parent-post
width
- 25%
- 33%
- 50%
- 66%
- 75%
- 100%
excerpt type
- Excerpt
- Content
- Title Only
and more to come...
Add post-types
add_filter( 'arch_add_post_types', 'my_arch_cpts' );
function my_arch_cpts() {
$cpts = array( 'arch', 'portfolio', 'testimonials' );
return $cpts;
}
Use your own grid
function arch_width_options() {
return array(
'col-md-1' => '1/12',
'col-md-3' => '1/4',
'col-md-4' => '1/3',
'col-md-6' => '1/2',
'col-md-8' => '2/3',
'col-md-9' => '3/4',
);
}