Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function kalium_header_search_field( $skin = '' ) {
- if ( ! get_data( 'header_search_field' ) ) {
- return;
- }
- $animation = get_data( 'header_search_field_icon_animation' );
- ?>
- <div class="header-search-input <?php echo esc_attr( $skin ); ?>">
- <form role="search" method="get" action="<?php echo home_url(); ?>">
- <div class="search-field">
- <span><?php _e( 'Search site...', 'kalium' ); ?></span>
- <input type="search" value="" autocomplete="off" name="s" />
- </div>
- <div class="search-icon">
- <a href="#" data-animation="<?php echo $animation; ?>">
- <?php echo laborator_get_svg( 'images/icons/search.svg', null, array( 24, 24 ), true ); ?>
- </a>
- </div>
- </form>
- </div>
- <?php
Add Comment
Please, Sign In to add comment