• File: search.php
  • Full Path: /home/havejqku/public_html/wp-admin/e0506b/wp-content/themes/tourio/widgets/search.php
  • Date Modified: 09/10/2025 7:10 PM
  • File size: 857 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit;
}
extract( $args );

extract( $args );
extract( $instance );
echo trim($before_widget);
$title = !empty($instance['title']) ? apply_filters('widget_title', $instance['title']) : '';

if ( $title ) {
    echo trim($before_title)  .trim( $title ) . $after_title;
}
?>
<div class="widget_search">
    <form action="<?php echo esc_url( home_url( '/' ) ); ?>" method="get">
			<input type="text" placeholder="<?php esc_attr_e( 'Search...', 'tourio' ); ?>" name="s" class="apus-search form-control"/>
			<?php if ( isset($post_type) && $post_type ): ?>
				<input type="hidden" name="post_type" value="<?php echo esc_attr($post_type); ?>" class="post_type" />
			<?php endif; ?>
			<button class="btn btn-search" type="submit"><i class="flaticon-search"></i></button>
	</form>
</div>
<?php echo trim($after_widget);