Okay
  Public Ticket #923760
Adding Search to all website
Closed

Comments

  •  2
    CHRISTOPHER started the conversation

    Is there a way to add the search overlay to the whole site?

  •  1,974
    Support replied

    Hello you need to modify this bit from /sections/header_section.php (path relative to root theme folder)

    <?php } else if( (is_page_template('blog-page.php') || is_category() || is_search() || ($post_type == 'post') )  && soho_get_theme_options('clapat_soho_blog_show_search') ) { ?>
    <div class="page-search secondary-menu"><?php echo wp_kses_post( soho_get_theme_options('clapat_soho_blog_search_caption_open') ); ?></div>
    <?php } ?>


    to

    <?php }  ?>
    <div class="page-search secondary-menu"><?php echo wp_kses_post( soho_get_theme_options('clapat_soho_blog_search_caption_open') ); ?></div>

    Thanks

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  •   CHRISTOPHER replied privately
  •  1,974
    Support replied

    That's right, sorry, plz insert

    <?php 

    // display search section
    get_template_part('sections/search_section');

    ?>

    in page.php line 16, portfolio-page.php line 33 and portfolio-mixed-page.php line 37

    Thanks


    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  •  2
    CHRISTOPHER replied

    Ok great that worked thank you, now how do I get the portfolio posts to be displayed in the results? nothing is showing?

  •  2
    CHRISTOPHER replied

    Never mind I fixed this myself.