Remove unused files and add search form value

This commit is contained in:
Holger Könemann 2017-11-29 10:56:38 +01:00
parent 4685be4327
commit 0e9f845545
7 changed files with 2 additions and 18431 deletions

View File

@ -5,14 +5,6 @@
* @package understrap * @package understrap
*/ */
/**
* Registers an editor stylesheet for the theme.
*/
function wpdocs_theme_add_editor_styles() {
add_editor_style( 'css/custom-editor-style.css' );
}
add_action( 'admin_init', 'wpdocs_theme_add_editor_styles' );
// Add TinyMCE style formats. // Add TinyMCE style formats.
add_filter( 'mce_buttons_2', 'understrap_tiny_mce_style_formats' ); add_filter( 'mce_buttons_2', 'understrap_tiny_mce_style_formats' );

View File

@ -33,7 +33,7 @@ if ( ! function_exists( 'woocommerce_support' ) ) {
* *
* @return mixed * @return mixed
*/ */
function wc_form_field_args( $args, $key, $value = null ) { function understrap_wc_form_field_args( $args, $key, $value = null ) {
// Start field type switch case. // Start field type switch case.
switch ( $args['type'] ) { switch ( $args['type'] ) {
/* Targets all select input type elements, except the country and state select input types */ /* Targets all select input type elements, except the country and state select input types */

10253
js/jquery.js vendored

File diff suppressed because it is too large Load Diff

4
js/jquery.min.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -10,7 +10,7 @@
<label class="assistive-text" for="s"><?php esc_html_e( 'Search', 'understrap' ); ?></label> <label class="assistive-text" for="s"><?php esc_html_e( 'Search', 'understrap' ); ?></label>
<div class="input-group"> <div class="input-group">
<input class="field form-control" id="s" name="s" type="text" <input class="field form-control" id="s" name="s" type="text"
placeholder="<?php esc_attr_e( 'Search &hellip;', 'understrap' ); ?>"> placeholder="<?php esc_attr_e( 'Search &hellip;', 'understrap' ); ?>" value="<?php the_search_query(); ?>">
<span class="input-group-btn"> <span class="input-group-btn">
<input class="submit btn btn-primary" id="searchsubmit" name="submit" type="submit" <input class="submit btn btn-primary" id="searchsubmit" name="submit" type="submit"
value="<?php esc_attr_e( 'Search', 'understrap' ); ?>"> value="<?php esc_attr_e( 'Search', 'understrap' ); ?>">