Esempio n. 1
0
 /**
  * This function include files of javascript.
  */
 function tfuse_add_js()
 {
     $template_directory = get_template_directory_uri();
     wp_register_script('modernizr', tfuse_get_file_uri('/js/modernizr.min.js'));
     wp_enqueue_script('modernizr');
     wp_register_script('respond', tfuse_get_file_uri('/js/respond.min.js'));
     wp_enqueue_script('respond');
     wp_enqueue_script('jquery');
     wp_register_script('prettyPhoto', TFUSE_ADMIN_JS . '/jquery.prettyPhoto.js', array('jquery'), '3.1.4', true);
     wp_enqueue_script('prettyPhoto');
     wp_register_script('jquery-ui-custom', tfuse_get_file_uri('/js/jquery-ui-1.9.2.custom.min.js'), array('jquery'), '1.9.2', true);
     wp_enqueue_script('jquery-ui-custom');
     wp_register_script('jquery.tools', tfuse_get_file_uri('/js/jquery.tools.min.js'), array('jquery'), '1.2.5', true);
     wp_enqueue_script('jquery.tools');
     wp_register_script('jquery.easing', tfuse_get_file_uri('/js/jquery.easing.1.3.js'), array('jquery'), '1.3', true);
     wp_enqueue_script('jquery.easing');
     wp_register_script('slides.jquery', tfuse_get_file_uri('/js/slides.min.jquery.js'), array('jquery'), '1.1.9', true);
     wp_enqueue_script('slides.jquery');
     wp_register_script('jquery.jcarousel', tfuse_get_file_uri('/js/jquery.jcarousel.min.js'), array('jquery'), '0.2.8', true);
     wp_enqueue_script('jquery.jcarousel');
     wp_register_script('ui.selectmenu', tfuse_get_file_uri('/js/ui.selectmenu.js'), array('jquery'), '1.1.0', true);
     wp_enqueue_script('ui.selectmenu');
     wp_register_script('styled.selectmenu', tfuse_get_file_uri('/js/styled.selectmenu.js'), array('jquery'), '1.0', true);
     wp_enqueue_script('styled.selectmenu');
     // general.js can be overridden in a child theme by copying it in child theme's js folder
     wp_register_script('general', tfuse_get_file_uri('/js/general.js'), array('jquery'), '2.0', true);
     wp_enqueue_script('general');
 }
 /**
  * This function include files of javascript.
  */
 function tfuse_add_js()
 {
     wp_enqueue_script('jquery');
     wp_register_script('modernizr', tfuse_get_file_uri('/js/lib/modernizr.min.js'), array('jquery'), '', true);
     wp_enqueue_script('modernizr');
     wp_register_script('respond', tfuse_get_file_uri('/js/lib/respond.min.js'), array('jquery'), '', true);
     wp_enqueue_script('respond');
     wp_register_script('jquery-ui.min', tfuse_get_file_uri('/js/lib/jquery-ui.min.js'), array('jquery'), '', true);
     wp_enqueue_script('jquery-ui.min');
     //
     wp_register_script('bootstrap', tfuse_get_file_uri('/js/lib/bootstrap.min.js'), array('jquery'), '', true);
     wp_enqueue_script('bootstrap');
     wp_register_script('jquery.slicknav.min', tfuse_get_file_uri('/js/jquery.slicknav.min.js'), array('jquery'), '', true);
     wp_enqueue_script('jquery.slicknav.min');
     wp_register_script('jquery.customInput', tfuse_get_file_uri('/js/jquery.customInput.js'), array('jquery'), '', false);
     wp_enqueue_script('jquery.customInput');
     wp_register_script('jquery.carouFredSel-6.2.1-packed', tfuse_get_file_uri('/js/jquery.carouFredSel-6.2.1-packed.js'), array('jquery'), '', false);
     wp_enqueue_script('jquery.carouFredSel-6.2.1-packed');
     wp_register_script('general', tfuse_get_file_uri('/js/general.js'), array('jquery'), '', true);
     wp_enqueue_script('general');
     wp_register_script('html5shiv', tfuse_get_file_uri('/js/lib/html5shiv.js'), array('jquery'), '', true);
     wp_enqueue_script('html5shiv');
     wp_register_script('maps.google.com', '//maps.google.com/maps/api/js?sensor=false', array('jquery'), '1.0', true);
     wp_enqueue_script('maps.google.com');
     wp_register_script('jquery.gmap.min', tfuse_get_file_uri('/js/jquery.gmap.min.js'), array('jquery'), '', true);
     wp_enqueue_script('jquery.gmap.min');
     wp_register_script('html5gallery', tfuse_get_file_uri('/js/html5gallery.js'), array('jquery'), '', true);
     wp_enqueue_script('html5gallery');
     wp_register_script('jquery.touchSwipe.min', tfuse_get_file_uri('/js/jquery.touchSwipe.min.js'), array('jquery'), '', true);
     wp_enqueue_script('jquery.touchSwipe.min');
     wp_register_script('video', tfuse_get_file_uri('/js/video.js'), array('jquery'), '', true);
     wp_enqueue_script('video');
     //
     wp_register_script('prettyPhoto', TFUSE_ADMIN_JS . '/jquery.prettyPhoto.js', array('jquery'), '3.1.4', true);
     wp_enqueue_script('prettyPhoto');
     wp_register_script('youtube-api.min', tfuse_get_file_uri('/js/youtube-api.min.js'), array('jquery'), '', true);
     wp_enqueue_script('youtube-api.min');
     wp_register_script('shCore', tfuse_get_file_uri('/js/shCore.js'), array('jquery'), '', true);
     wp_enqueue_script('shCore');
     wp_register_script('calendar', tfuse_get_file_uri('/js/calendar/calendar.js'), array('jquery'), '', true);
     wp_enqueue_script('calendar');
     wp_register_script('underscore-min', tfuse_get_file_uri('/js/calendar/underscore-min.js'), array('jquery'), '', true);
     wp_enqueue_script('underscore-min');
     wp_register_script('shBrushPlain', tfuse_get_file_uri('/js/shBrushPlain.js'), array('jquery'), '', true);
     wp_enqueue_script('shBrushPlain');
     wp_register_script('sintaxHighlighter', tfuse_get_file_uri('/js/sintaxHighlighter.js'), array('jquery'), '', true);
     wp_enqueue_script('sintaxHighlighter');
     wp_register_script('customScripts', tfuse_get_file_uri('/js/custom.js'), array('jquery'), '', true);
     wp_enqueue_script('customScripts');
     if (function_exists('qtrans_getLanguage')) {
         wp_localize_script('calendar', 'tf_qtrans_lang', array('lang' => qtrans_getLanguage()));
     }
     if (!is_admin()) {
         do_action('tf_scripts_added');
     }
 }
Esempio n. 3
0
function tfuse_portfolio($atts)
{
    extract(shortcode_atts(array('category' => '', 'columns' => 'three-column'), $atts));
    wp_register_script('isotope', tfuse_get_file_uri('/js/isotope.pkgd.min.js'), array('jquery'), '1.0', true);
    wp_enqueue_script('isotope');
    $output = '';
    if ($category != 0) {
        $tax = 'group';
        $term = get_term_by('id', $category, $tax);
        $term_children = get_term_children($category, $tax);
        $args = array('posts_per_page' => -1, 'post_type' => 'portfolio', 'tax_query' => array(array('taxonomy' => $tax, 'field' => 'id', 'terms' => $category)));
        $query = new WP_Query($args);
        $posts = $query->get_posts();
        if (!empty($term)) {
            $output .= '<div class="shortcode-portfolio">';
            if (tfuse_options('enable_portfolio_filter', true)) {
                $output .= '<div class="wrapp-categories-gallery">
                    <ul id="categories" class="gallery-categories">';
                if (!empty($term_children)) {
                    $output .= '<li class="categories-item active" data-category="' . $term->slug . '"><div class="check-category"><span></span></div>' . $term->name . '</li>';
                    foreach ($term_children as $id) {
                        $term_child = get_term_by('id', $id, $tax);
                        $output .= '<li class="categories-item" data-category="' . $term_child->slug . '"><div class="check-category"><span></span></div>' . $term_child->name . '</li>';
                    }
                }
                $output .= '</ul>
                    <a class="prev" id="categories-prev" href="#"><i class="tficon-shevron-left"></i></a>
                    <a class="next" id="categories-next" href="#"><i class="tficon-shevron-right"></i></a>
                </div>';
            }
            $output .= '<section class="gallery">' . '' . '
                <ul id="gallery-list" class="gallery-list ' . $columns . '">';
            if (!empty($posts)) {
                foreach ($posts as $post) {
                    $output .= '<li class="gallery-item" data-category="' . tfuse_get_portfolio_categories_list($post->ID) . '">
                                <div class="gallery-img">' . tfuse_get_portfolio_thumbnail($post->ID, $columns) . '</div>
                                ' . tfuse_get_portfolio_gallery($post->ID) . '
                            </li>';
                }
            }
            $output .= '</ul>';
            $output .= '</section></div>';
        }
    }
    return $output;
}
 /**
  * This function include files of javascript.
 */
 function tfuse_add_js()
 {
     wp_enqueue_script('jquery');
     wp_register_script('jquery-ui', tfuse_get_file_uri('/js/lib/jquery-ui.min.js'), array('jquery'), '1.10.4', false);
     wp_enqueue_script('jquery-ui');
     wp_register_script('bootstrap', tfuse_get_file_uri('/js/lib/bootstrap.min.js'), array('jquery'), '3.1.0', false);
     wp_enqueue_script('bootstrap');
     wp_register_script('prettyPhoto', TFUSE_ADMIN_JS . '/jquery.prettyPhoto.js', array('jquery'), '3.1.4', false);
     wp_enqueue_script('prettyPhoto');
     // general.js can be overridden in a child theme by copying it in child theme's js folder
     wp_register_script('general', tfuse_get_file_uri('/js/general.js'), array('jquery'), '2.0', false);
     wp_enqueue_script('general');
     wp_localize_script('general', 'TfPhpVars', array('home' => __('Home', 'tfuse')));
     wp_register_script('events', tfuse_get_file_uri('/js/events.js'), array('jquery'), '', true);
     wp_enqueue_script('events');
     if (function_exists('qtrans_getLanguage')) {
         wp_localize_script('events', 'tf_qtrans_lang', array('lang' => qtrans_getLanguage()));
     }
     wp_register_script('slicknav', tfuse_get_file_uri('/js/jquery.slicknav.min.js'), array('jquery'), '1.0', true);
     wp_enqueue_script('slicknav');
     wp_register_script('modernizr', tfuse_get_file_uri('/js/lib/modernizr.min.js'));
     wp_enqueue_script('modernizr');
     wp_register_script('html5shiv', tfuse_get_file_uri('/js/lib/html5shiv.js'));
     wp_enqueue_script('html5shiv');
     wp_register_script('respond', tfuse_get_file_uri('/js/lib/respond.min.js'));
     wp_enqueue_script('respond');
     wp_register_script('carouFredSel', tfuse_get_file_uri('/js/jquery.carouFredSel-6.2.1.js'), array('jquery'), '6.2.1', true);
     wp_enqueue_script('carouFredSel');
     wp_register_script('cusel-min', tfuse_get_file_uri('/js/cusel.min.js'), array('jquery'), '3.0', true);
     wp_enqueue_script('cusel-min');
     wp_register_script('parallax', tfuse_get_file_uri('/js/parallax.js'), array('jquery'), '1.1.3', true);
     wp_enqueue_script('parallax');
     wp_register_script('scrollto', tfuse_get_file_uri('/js/scrollto.js'), array('jquery'), '1.0', true);
     wp_enqueue_script('scrollto');
     if (!is_admin()) {
         do_action('tf_scripts_added');
     }
 }
<?php

get_header();
$sidebar_position = tfuse_sidebar_position();
tfuse_shortcode_content('top');
wp_register_script('isotope', tfuse_get_file_uri('/js/isotope.pkgd.min.js'), array('jquery'), '1.0', true);
wp_enqueue_script('isotope');
global $post;
$columns = tfuse_get_portfolio_columns();
$ID = tfuse_return_term_id();
?>
<div id="main" class="site-main blog" role="main">
    <?php 
tfuse_custom_cat_title($ID, 'events');
?>
    <div <?php 
tfuse_class('middle');
?>
 >
        <div class="row">
            <div class="col-sm-12">
                <section class="gallery">
                    <?php 
tfuse_show_gallery_filter();
?>
                    <ul id="gallery-list" class="gallery-list <?php 
echo $columns;
?>
">
                        <?php 
if (have_posts()) {
 /**
  * This function include files of javascript.
  */
 function tfuse_add_admin_js()
 {
     wp_register_script('advanced', tfuse_get_file_uri('/js/advanced.js'), array('jquery'), '1.0', true);
     wp_enqueue_script('advanced');
 }
Esempio n. 7
0
<div style="height:25px;">&nbsp;</div>
<div id="tfuse_header">

    <div id="tfuse_header_theme_info">

        <div id="tfuse_header_icon_bg">
            <a href="http://www.themefuse.com" target="_blank" title="<?php 
_e("Go to ThemeFuse", 'tfuse');
?>
"><img class="header_icon" src="<?php 
echo tfuse_get_file_uri('images/thumb.png');
?>
" width="70%" height="70%" /></a>
        </div>

        <div id="tfuse_header_text">
            <h3><?php 
echo $this->theme->theme_name;
?>
</h3>
            <a href="http://www.themefuse.com" target="_blank" title="<?php 
_e("Go to ThemeFuse", 'tfuse');
?>
"><img src="<?php 
echo TFUSE_ADMIN_IMAGES . '/by_tfuse.png';
?>
" /></a>
            <div class="tfclear"></div>
            <div id="tfuse_header_theme_links">
                <a target="_blank" href="http://docs.themefuse.com/">Documentation, FAQ & Help Desk</a>
            </div>
Esempio n. 8
0
function tf_config_extimage($extension_name, $image_name)
{
    $extension_name = strtolower($extension_name);
    return tfuse_get_file_uri('theme_config/extensions/' . $extension_name . '/static/images/' . $image_name);
}
Esempio n. 9
0
/**
 * Full Map
 * 
 * To override this shortcode in a child theme, copy this file to your child theme's
 * theme_config/extensions/shortcodes/shortcodes/ folder.
 *
 */
function tfuse_full_map($atts, $content = null)
{
    extract(shortcode_atts(array('position' => '', 'title' => '', 'zoom' => '15', 'text' => '', 'wrap_title' => '', 'wrap_beforetitle' => '', 'wrap_address' => '', 'wrap' => 'false'), $atts));
    $out = '';
    $uniq_id = rand(1, 200);
    wp_register_script('google_maps', 'http://maps.google.com/maps/api/js?sensor=false', array('jquery'), '1.0', false);
    wp_enqueue_script('google_maps');
    wp_register_script('gmap', tfuse_get_file_uri('/js/jquery.gmap.min.js'), array('jquery'), '3.3.2', false);
    wp_enqueue_script('gmap');
    $coords = explode(':', $position);
    if (sizeof($coords) < 2) {
        return '';
    }
    $lat = $coords[0];
    $long = $coords[1];
    if ($wrap == 'true') {
        $class = '';
        $out_wrap = '<div class="wrapp-see-location">
            <div class="container">
                <div class="col-sm-8 col-sm-offset-2">
                    <h3 class="title-before">' . $wrap_beforetitle . '</h3>
                    <h1 class="title">' . $wrap_title . '</h1>
                    <h2 class="title-after">' . $wrap_address . '</h2>
                    <a href="#" class="btn btn-black btn-see-location" id="btn-see-location"><span>' . __('SEE location on map', 'tfuse') . '</span></a>
                </div>
            </div>
        </div>
        <script>
            jQuery(".btn-see-location").click(function (e) {
                e.preventDefault();
                jQuery(this).parents(".wrapp-see-location").fadeOut("slow");
            });
        </script>';
    } else {
        $class = 'contact-page';
        $out_wrap = '';
    }
    $out .= '<section class="main-top">
        <div class="see-location ' . $class . '">
            <div class="row">
                <div id="contact_map' . $uniq_id . '" class="map contact_map"></div>
                <script>
                    jQuery(window).ready(function () {
                        jQuery("#contact_map' . $uniq_id . '").gMap({
                            markers: [{
                                latitude: ' . $lat . ',
                                longitude: ' . $long . ',
                                title: "' . $title . '",
                                html: "' . $text . '",
                                popup: false,
                                icon: {
                                    image: "' . get_template_directory_uri() . '/images/icons/gmap_icon.png' . '",
                                    iconsize: [25, 34],
                                    iconanchor: [12,34],
                                    infowindowanchor: [0, 0]
                                }
                            }],
                            zoom: ' . $zoom . ',
                            scrollwheel: false,
                            maptype: google.maps.MapTypeId.ROADMAP
                        });
                    });
                </script>
            </div>';
    $out .= $out_wrap;
    $out .= '</div>
     </section>';
    return $out;
}
Esempio n. 10
0
        ?>

                <div class="author-contact">
                    <label><?php 
        _e('CONTACT THE AUTHOR:', 'tfuse');
        ?>
</label>
                    <?php 
        foreach ($author_meta as $key => $item) {
            ?>

                        <a href="<?php 
            echo $item;
            ?>
"><img src="<?php 
            echo tfuse_get_file_uri('/images/icons/social_' . $key . '.png');
            ?>
" alt="<?php 
            echo $key;
            ?>
" title="<?php 
            echo $key;
            ?>
" width="20" height="20" border="0" /></a>
                    <?php 
        }
        ?>

                </div>
                <?php 
    }
Esempio n. 11
0
<?php

/**
 * The template for displaying content in the template-contact.php template.
 * To override this template in a child theme, copy this file 
 * to your child theme's folder.
 *
 * @since Medica 2.0
 */
?>


<?php 
wp_enqueue_script('contactform', tfuse_get_file_uri('js/contactform.js'), array('jquery'), '2.0', true);
$params = array('contactform_uri' => tfuse_get_file_uri('theme_config/theme_includes/CONTACTFORM.php'));
wp_localize_script('contactform', 'ContactFormParams', $params);
add_action('wp_footer', create_function('', 'wp_enqueue_script( "contactform" );'));
?>


<div class="contact-form">
    <a name="contact"></a>
    <form id="contactForm" action="" method="post" class="ajax_form" name="contactForm">

        <div class="row field_text alignleft">
            <label><?php 
_e('Your name (required)', 'tfuse');
?>
:</label><br />
            <input name="yourname" value="" id="name" class="inputtext input_middle required" size="40" type="text" />
        </div>
 /**
  * This function include files of javascript.
  */
 function tfuse_add_js()
 {
     wp_enqueue_script('jquery');
     wp_register_script('modernizr', tfuse_get_file_uri('/js/libs/modernizr.min.js'), array('jquery'), '', true);
     wp_enqueue_script('modernizr');
     wp_register_script('modernizr.min', tfuse_get_file_uri('/js/libs/modernizr.min.js'), array('jquery'), '', true);
     wp_enqueue_script('modernizr.min');
     wp_register_script('respond', tfuse_get_file_uri('/js/libs/respond.min.js'), array('jquery'), '', true);
     wp_enqueue_script('respond');
     wp_register_script('jquery-ui.custom', tfuse_get_file_uri('/js/libs/jquery-ui.custom.min.js'), array('jquery'), '', true);
     wp_enqueue_script('jquery-ui.custom');
     wp_register_script('bootstrap', tfuse_get_file_uri('/js/libs/bootstrap.min.js'), array('jquery'), '', true);
     wp_enqueue_script('bootstrap');
     wp_register_script('general', tfuse_get_file_uri('/js/general.js'), array('jquery'), '', true);
     wp_enqueue_script('general');
     wp_register_script('events', tfuse_get_file_uri('/js/events.js'), array('jquery'), '', true);
     wp_enqueue_script('events');
     wp_register_script('cusel-min', tfuse_get_file_uri('/js/cusel.min.js'), array('jquery'), '', true);
     wp_enqueue_script('cusel-min');
     wp_register_script('jquery.carouFredSel', tfuse_get_file_uri('/js/jquery.carouFredSel.min.js'), array('jquery'), '', true);
     wp_enqueue_script('jquery.carouFredSel');
     wp_register_script('jquery.customInput', tfuse_get_file_uri('/js/jquery.customInput.js'), array('jquery'), '', true);
     wp_enqueue_script('jquery.customInput');
     wp_register_script('maps.google.com', '//maps.google.com/maps/api/js?sensor=false', array('jquery'), '1.0', true);
     wp_enqueue_script('maps.google.com');
     wp_register_script('jquery.gmap.min', tfuse_get_file_uri('/js/jquery.gmap.min.js'), array('jquery'), '', true);
     wp_enqueue_script('jquery.gmap.min');
     wp_register_script('jquery.mCustomScrollbar.concat.min', tfuse_get_file_uri('/js/jquery.mCustomScrollbar.concat.min.js'), array('jquery'), '', true);
     wp_enqueue_script('jquery.mCustomScrollbar.concat.min');
     wp_register_script('jquery.meanmenu', tfuse_get_file_uri('/js/jquery.meanmenu.js'), array('jquery'), '', true);
     wp_enqueue_script('jquery.meanmenu');
     wp_register_script('jquery.placeholder', tfuse_get_file_uri('/js/jquery.placeholder.js'), array('jquery'), '', true);
     wp_enqueue_script('jquery.placeholder');
     wp_register_script('jquery.slider.bundle', tfuse_get_file_uri('/js/jquery.slider.bundle.js'), array('jquery'), '', true);
     wp_enqueue_script('jquery.slider.bundle');
     wp_register_script('jquery.slider', tfuse_get_file_uri('/js/jquery.slider.js'), array('jquery'), '', true);
     wp_enqueue_script('jquery.slider');
     wp_register_script('prettyPhoto', TFUSE_ADMIN_JS . '/jquery.prettyPhoto.js', array('jquery'), '3.1.4', true);
     wp_enqueue_script('prettyPhoto');
     // JS is include on the footer
     wp_register_script('shCore', tfuse_get_file_uri('/js/shCore.js'), array('jquery'), '', true);
     wp_enqueue_script('shCore');
     wp_register_script('shBrushPlain', tfuse_get_file_uri('/js/shBrushPlain.js'), array('jquery'), '', true);
     wp_enqueue_script('shBrushPlain');
     wp_register_script('sintaxHighlighter', tfuse_get_file_uri('/js/sintaxHighlighter.js'), array('jquery'), '', true);
     wp_enqueue_script('sintaxHighlighter');
     if (function_exists('qtrans_getLanguage')) {
         wp_localize_script('events', 'tf_qtrans_lang', array('lang' => qtrans_getLanguage()));
     }
     do_action('tf_scripts_added');
 }
<?php

get_header();
$sidebar_position = tfuse_sidebar_position();
tfuse_shortcode_content('top');
get_template_part('menus', 'header');
$currency_symbol = tfuse_options('currency_symbol', '$');
$symbol_position = tfuse_options('symbol_position', 'left');
$term = get_term_by('slug', get_query_var('term'), get_query_var('taxonomy'));
$term_id = $term->term_id;
$child_terms = tfuse_get_menu_subcategories_terms($term_id);
if (empty($child_terms)) {
    $child_terms[] = $term;
}
wp_register_script('scrollto', tfuse_get_file_uri('/js/scrollto.js'), array('jquery'), '1.0', true);
wp_enqueue_script('scrollto');
?>
<div id="main" class="site-main" role="main">
    <div class="container">
        <div class="row">
            <div class="col-sm-8 col-sm-offset-2">
                <?php 
foreach ($child_terms as $item) {
    $menu_type = tfuse_options('menu_type', '1', $item->term_id);
    $args = array('post_type' => 'menu', 'posts_per_page' => -1, 'tax_query' => array(array('taxonomy' => $item->taxonomy, 'field' => 'slug', 'terms' => $item->slug)));
    $postslist = get_posts($args);
    ?>
                    <section class="dishes <?php 
    echo $item->slug;
    ?>
" id="<?php 
Esempio n. 14
0
/**
 * The template for displaying content in the template-appoiments.php template.
 * To override this template in a child theme, copy this file 
 * to your child theme's folder.
 *
 * @since Medica 2.0
 */
?>


<?php 
wp_enqueue_script('appoiment', tfuse_get_file_uri('js/appoiment.js'), array('jquery'), '2.0', true);
// split the phrase by any number of commas or space characters,
// which include " ", \r, \t, \n and \f
$days = preg_split("/[\\s,]+/", tfuse_options('reserved_days'));
$params = array('appoiment_uri' => tfuse_get_file_uri('theme_config/theme_includes/APPOIMENT.php'), 'bookedDays' => $days);
wp_localize_script('appoiment', 'AppoimentParams', $params);
add_action('wp_footer', create_function('', 'wp_print_scripts( "appoiment" );'));
?>


<div class="widget-container widget_reservation">
    <form id="reservationForm" action="" method="post" class="reservationForm" name="reservationForm"> 

        <!-- column 1 -->
        <div class="col col_1_2 alpha">

            <div class="row field_select">
                <label><?php 
_e('Choose medical department', 'tfuse');
?>