Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author ILLID

    (@mihail-barinov)

    Hello,

    Try to add following code to your theme functions.php file

    remove_action( 'storefront_header', 'storefront_product_search' );
    add_action( 'storefront_header', 'position_aws_in_header', 40 );
    function position_aws_in_header( ) {
    echo do_shortcode( '[aws_search_form id="1"]' );
    }
    Thread Starter craiguk

    (@craiguk)

    Hi that created a white page to both websites when added to the functions file

    Plugin Author ILLID

    (@mihail-barinov)

    Are you sure that you add it to the right place?

    Add it to very bottom of functions.php file Outside any classes.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change search on Storefront’ is closed to new replies.