<input type="search" id="<?php echo esc_attr( $unique_id ); ?>" class="search-field" placeholder="<?php echo esc_attr_x( 'Search …', 'placeholder', 'twentytwenty' ); ?>" value="<?php echo get_search_query(); ?>" name="s" />
Default search have only one input field search with name="s" but I want to add another input field so user can input there age or pincode manually and result will be relative.
<input type="search" id="<?php echo esc_attr( $unique_id ); ?>" class="search-field" placeholder="<?php echo esc_attr_x( 'Search …', 'placeholder', 'twentytwenty' ); ?>" value="<?php echo get_search_query(); ?>" name="s" />
<input type="search" id="id" class="search-field" placeholder="age" value="<?php echo get_search_query(); ?>" name="s2" />
now user can enter there name age in both input field.