I’d like to add the generic WordPress search form to a page – my question is – what is the ‘best approach’ for this using GeneratePress? Is there some functions.php code that I is recommended for this?
function shapeSpace_display_search_form() {
return get_search_form(false);
}
add_shortcode('display_search_form', 'shapeSpace_display_search_form');