get_script_for_v2( false ); } $current_root = get_site_url(); $format = current_theme_supports( 'html5', 'search-form' ) ? 'html5' : 'xhtml'; if ( 'html5' === $format ) { $form = sprintf( ''; return $form; } $form = sprintf( ''; return $form; } add_shortcode('addsearch', 'addsearch_search_form');