Remove unused files and add search form value
This commit is contained in:
parent
4685be4327
commit
0e9f845545
|
@ -5,14 +5,6 @@
|
|||
* @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_filter( 'mce_buttons_2', 'understrap_tiny_mce_style_formats' );
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ if ( ! function_exists( 'woocommerce_support' ) ) {
|
|||
*
|
||||
* @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.
|
||||
switch ( $args['type'] ) {
|
||||
/* Targets all select input type elements, except the country and state select input types */
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
8160
js/jquery.slim.js
8160
js/jquery.slim.js
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -10,7 +10,7 @@
|
|||
<label class="assistive-text" for="s"><?php esc_html_e( 'Search', 'understrap' ); ?></label>
|
||||
<div class="input-group">
|
||||
<input class="field form-control" id="s" name="s" type="text"
|
||||
placeholder="<?php esc_attr_e( 'Search …', 'understrap' ); ?>">
|
||||
placeholder="<?php esc_attr_e( 'Search …', 'understrap' ); ?>" value="<?php the_search_query(); ?>">
|
||||
<span class="input-group-btn">
|
||||
<input class="submit btn btn-primary" id="searchsubmit" name="submit" type="submit"
|
||||
value="<?php esc_attr_e( 'Search', 'understrap' ); ?>">
|
||||
|
|
Reference in New Issue