FIXED /templates/search-functions.php
ADDED /amp/ after $action_url
CHANGED ORDER ON FORM VALUES amp=1 after ?s=
Please could you add to your next version?
*******************************************************
$form = ‘<form role=”search” method=”get” id=”searchform” class=”searchform” target=”_top” action=”‘ . $action_url .’/amp/”>
<div>
<label class=”screen-reader-text” for=”s”>’ . $label . ‘</label>
<input type=”text” placeholder=”‘.$placeholder.'” value=”‘ . get_search_query() . ‘” name=”s” id=”s” />
<input type=”text” placeholder=”AMP” value=”1″ name=”amp” class=”hide” id=”ampsomething” />
<input type=”submit” id=”searchsubmit” value=”‘. esc_attr_x( ‘Search’, ‘submit button’ ) .'” />
</div>
</form>’;
*******************************************************