Files
ultimatemember/templates/searchform.php
T

24 lines
977 B
PHP
Raw Normal View History

2023-04-07 11:33:22 +03:00
<?php
/**
2023-04-11 16:25:25 +03:00
* Template for the search form
*
2024-09-12 16:44:53 +03:00
* This template can be overridden by copying it to your-theme/ultimate-member/searchform.php
2023-04-11 16:25:25 +03:00
*
* Call: function ultimatemember_searchform()
*
* @version 2.11.2
2023-04-11 16:25:25 +03:00
*
* @var string $search_value
2023-04-07 11:33:22 +03:00
*/
2023-04-11 16:25:25 +03:00
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<div class="um search-form um-search-form" data-nonce="<?php echo esc_attr( wp_create_nonce( 'um_search_widget_request' ) ); ?>">
<div class="um-form um-search-area">
<span class="screen-reader-text"><?php echo esc_html_x( 'Search for:', 'label', 'ultimate-member' ); ?></span>
<input type="search" class="um-search-field search-field" placeholder="<?php echo esc_attr_x( 'Search &hellip;', 'placeholder', 'ultimate-member' ); ?>" value="<?php echo esc_attr( $search_value ); ?>" name="search" title="<?php echo esc_attr_x( 'Search for:', 'label', 'ultimate-member' ); ?>" />
<a href="#" id="um-search-button" class="um-search-icon um-faicon um-faicon-search"></a>
2018-10-26 14:06:45 +03:00
</div>
2023-04-07 11:33:22 +03:00
</div>