Hi Johan,
I’ll mention this to our lead dev so it’s on the radar for consideration.
In the meantime, if you are comfortable with PHP you could look at archive.php
and you will notice this could very easily be ported into the search.php
template. These are located in atelier/swift-framework/layout/
Broadly speaking to get you in the right direction:
Step 1) Copy over the option variables located at the top of the file archive.php
to search.php
. Replacing existing variables.
Step 2) Update <div class="blog-wrap">
to<div class="blog-wrap blog-items-wrap blog-<?php echo esc_attr($blog_type); ?>">
Step 3) Update <li <?php post_class( 'blog-item col-sm-12 format-' . $post_format ); ?>>
to <li <?php post_class( 'blog-item ' . $item_class . ' format-' . $post_format ); ?>>
Before doing anything, always create a backup.
Thanks,
David.