New Landing How can we help? Atelier Search results page layout

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Atelier
  • #199621
    NiO
    Member
    Post count: 233

    Hi Swiftideas,

    Would it be possible to have the search results page layout fully aligned with settings in the Archive/Category Options? At the moment it takes over all settings, except for the sidebar setting (see att). And it seems there is no theme option to get rid of the sidebar there at the moment … or at least I didn’t find it yet ๐Ÿ™‚

    Thanks,
    Johan

    #200163
    David Martin – Support
    Moderator
    Post count: 20834

    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.

    #200277
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Thanks for the heads up – just sorted this for the next update.

    – Ed

    #200301
    David Martin – Support
    Moderator
    Post count: 20834

    Lightning fast! – Cheers Ed.

    – David.

    #200755
    NiO
    Member
    Post count: 233

    Thanks David and Ed,

    When will the next update be? Will decide based on that whether to apply the temporary fix ๐Ÿ™‚

    Cheers,
    Johan

    #200797
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Will be at some point this week.

    Thanks,

    – Ed

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register