PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/demostore1.kerihosting.com/df/f/wp-content/themes/genesis/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : //home/trave494/demostore1.kerihosting.com/df/f/wp-content/themes/genesis/searchform.php |
<?php /** * Genesis Framework. * * WARNING: This file is part of the core Genesis Framework. DO NOT edit this file under any circumstances. * Please do all modifications in the form of a child theme. * * @package StudioPress\Genesis * @author StudioPress * @license GPL-2.0-or-later * @link https://my.studiopress.com/themes/genesis/ */ // phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- These aren't global variables /** This filter is documented in wp-includes/general-template.php */ $search_query = apply_filters( 'the_search_query', get_search_query() ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound -- Duplicated WordPress filter /** * Search form text. * * A bit of text that describes the search form or provides instruction for use. * It might be used as the input placeholder, or the form label (if a11y is on, and no label is provided). * * @since 1.0.0 * * @param string The search text. */ $search_text = apply_filters( 'genesis_search_text', __( 'Search this website', 'genesis' ) ); /** * Search form label. * * @since ??? * * @param string The search form label. */ $search_label = apply_filters( 'genesis_search_form_label', '' ); /** * Search button text. * * The text used on the search form submit button. * * @since ??? * * @param string The search button text. */ $search_button_text = apply_filters( 'genesis_search_button_text', esc_attr__( 'Search', 'genesis' ) ); $strings = array( 'label' => $search_label, 'placeholder' => empty( $search_query ) ? $search_text : '', 'input_value' => $search_query, 'submit_value' => $search_button_text, ); if ( genesis_a11y( 'search-form' ) && empty( $search_label ) ) { $strings['label'] = $search_text; } $form = new Genesis_Search_Form( $strings ); // Used for filter param 2. $search_query_or_text = $search_query ? $search_query : $search_text; /** * Allow the form output to be filtered. * * @since 1.0.0 * * @param string The form markup. * @param string `$search_query`, if one exists. Otherwise `$search_text`. * @param string Submit button value. * @param string Form label value. */ $searchform = apply_filters( 'genesis_search_form', $form->get_form(), $search_query_or_text, $strings['submit_value'], $strings['label'] ); echo $searchform; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Need this to output raw html. // phpcs:enable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound