<?php

/**
 * @package WordPress
 * @subpackage Traveler
 * @since 1.0
 *
 * Content search activity
 *
 * Created by ShineTheme
 *
 */
$activity = new STActivity();
$fields = $activity->get_search_fields();
?>

<h2><?php 
echo esc_html($st_title_search);
?>
</h2>
<?php 
$id_page = st()->get_option('activity_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);
?>