Files
ultimatemember/templates/searchform.php
T

12 lines
802 B
PHP
Raw Normal View History

2019-07-17 16:55:09 +03:00
<?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
<div class="search-form um-search-form" data-members_page="<?php echo esc_url( $members_page ); ?>">
<?php foreach ( array_keys( $query ) as $key ) { ?>
<input type="hidden" name="um-search-keys[]" value="<?php echo esc_attr( $key ) ?>" />
<?php } ?>
2018-10-26 14:06:45 +03:00
<div class="um-search-area">
<span class="screen-reader-text"><?php echo _x( 'Search for:', 'label' ); ?></span>
<input type="search" class="um-search-field search-field" placeholder="<?php echo esc_attr_x( 'Search &hellip;', 'placeholder' ); ?>" value="<?php echo esc_attr( $search_value ); ?>" name="search" title="<?php echo esc_attr_x( 'Search for:', 'label' ); ?>" />
2019-07-17 16:55:09 +03:00
<a href="javascript:void(0);" id="um-search-button" class="um-search-icon um-faicon um-faicon-search"></a>
2018-10-26 14:06:45 +03:00
</div>
</div>