<?php /** * @package WordPress * @subpackage Traveler * @since 1.0 * * Content search holidays * * Created by ShineTheme * */ $holidays = new STHoliday(); $fields = $holidays->get_search_fields(); ?> <h2><?php echo esc_html($st_title_search); ?> </h2> <?php $id_page = st()->get_option('holidays_search_result_page'); if (!empty($id_page)) { $link_action = get_the_permalink($id_page); } else { $link_action = home_url('/'); } ?> <form role="search" method="get" class="search" action="<?php echo esc_url($link_action); ?>
/** * @package WordPress * @subpackage Traveler * @since 1.1.5 * * Hotel search Map * * Created by ShineTheme * */ if (!class_exists('STHoliday')) { return false; } $class = new STHoliday(); $fields = $class->get_search_fields(); if (!isset($field_size)) { $field_size = 'md'; } ?> <form id="hotel_search_half_map" method="get" class="search filter_search_map" action="<?php echo home_url(); ?> "> <h2><?php echo esc_html($title); ?> </h2> <input type="hidden" name="post_type" value="st_holidays"> <input type="hidden" name="action" value="st_search_list_half_map">