PATH:
home
/
letacommog
/
laindinois
/
wp-content
/
plugins
/
wilcity-shortcodes
/
kingcomposer-sc
<?php $title = $tabs_position = $nav_item_style = $interval = $open_mouseover = $class = $navigation = $auto_play = $auto_height = $auto_play = $tab_nav_class = $title_slider = ''; $speed = 4500; $pagination = 'yes'; $items = $items1 = $items2 = 1; extract($atts); $css_class = apply_filters('wilcity-el-class', $atts); $tabs_option = [ 'open-on-mouseover' => $open_mouseover, 'tab-active' => 1, 'effect-option' => $effect_option, ]; $tabs_option_data = []; foreach ($tabs_option as $name => $value) { array_push($tabs_option_data, 'data-'.esc_attr($name).'="'.esc_attr($value).'"'); } $css_class = array_merge($css_class, ['kc_tabs', 'group']); if (isset($css) && !empty($css)) { $css_class[] = $css; } if (isset($class) && !empty($class)) { $css_class[] = $class; } $tab_nav_class = 'wilTab_nav__1_kwb wil-tab__nav'; $aWrapperClass = ['wilTab_module__jlr12 wil-tab']; if ($type == 'vertical_tabs') { $css_class[] = 'kc_vertical_tabs'; $tab_nav_class .= ' '.$tabs_position; $aWrapperClass[] = 'wilTab_vertical__2iwYo'; $aWrapperClass[] = $nav_item_style; } else if ($type == 'slider_tabs') { $css_class[] = 'kc-tabs-slider'; $owl_option = [ "items" => intval($items) ? intval($items) : 1, "speed" => intval($speed), "navigation" => $navigation, "pagination" => $pagination, "autoheight" => $autoheight, "autoplay" => $autoplay, "tablet" => intval($tablet) ? intval($tablet) : 1, "mobile" => intval($mobile) ? intval($mobile) : 1 ]; $owl_option = strtolower(json_encode($owl_option)); echo '<div class="'.implode(' ', $css_class).'">'; if ($title_slider === 'yes') { echo '<ul class="kc-tabs-slider-nav kc_clearfix">'; preg_replace_callback('/kc_tab\s([^\]\#]+)/i', 'kc_process_tab_title', $content); echo '</ul>'; } echo '<div class="owl-carousel" data-owl-options=\''.$owl_option.'\'>'; echo do_shortcode(str_replace('kc_tabs#', 'kc_tabs', $content)); echo '</div>'; echo '</div>'; return; } else { $tab_nav_class .= ' '.$tabs_position; $aWrapperClass[] = $nav_item_style; } $tabs_option_data[] = 'class="'.esc_attr(implode(' ', $css_class)).'"'; global $wilcityHasActivatedTab, $wilcityHasTabContentActive, $wilTabsAtts; $wilcityHasActivatedTab = ''; $wilcityHasTabContentActive = ''; ?> <div <?php echo implode(' ', $tabs_option_data); ?>> <div class="<?php echo implode(' ', $aWrapperClass) ?>"> <ul class="<?php echo esc_attr($tab_nav_class); ?>"> <?php preg_replace_callback('/kc_tab\s([^\]\#]+)/i', 'wiloke_kc_process_tab_title', $content); ?> </ul> <div class="wilTab_content__2j_o5 wil-tab__content"> <?php echo do_shortcode(str_replace('kc_tabs#', 'kc_tabs', $content)); ?> </div> </div> </div>
[+]
..
[-] wilcity_kc_listings_tabs.php
[edit]
[-] kc_row.php
[edit]
[-] wilcity_kc_hero.php
[edit]
[-] wilcity_kc_events_grid.php
[edit]
[-] wilcity_kc_masonry_term_boxes.php
[edit]
[-] kc_tabs.php
[edit]
[-] wilcity_kc_restaurant_listings.php
[edit]
[-] wilcity_kc_custom_login.php
[edit]
[-] kc_tab.php
[edit]
[-] wilcity_kc_grid.php
[edit]
[-] wilcity_kc_author_slider.php
[edit]
[-] kc_column.php
[edit]
[-] wilcity_kc_events_slider.php
[edit]
[-] wilcity_kc_listings_slider.php
[edit]
[-] wilcity_kc_box_icon.php
[edit]
[-] wilcity_kc_new_grid.php
[edit]
[-] wilcity_kc_terms_slider.php
[edit]
[-] wilcity_kc_external_login.php
[edit]
[-] wilcity_kc_team_intro_slider.php
[edit]
[-] wilcity_kc_intro_box.php
[edit]
[-] wilcity_kc_modern_term_boxes.php
[edit]
[-] wilcity_kc_term_boxes.php
[edit]
[-] wilcity_kc_post_types.php
[edit]
[-] wilcity_kc_contact_us.php
[edit]
[-] wilcity_kc_testimonials.php
[edit]
[-] wilcity_kc_wiloke_wave.php
[edit]
[-] wilcity_kc_rectangle_term_boxes.php
[edit]
[-] kc_column_inner.php
[edit]
[-] wilcity_kc_heading.php
[edit]
[-] wilcity_kc_pricing.php
[edit]
[-] wilcity_kc_search_form.php
[edit]
[-] wilcity_kc_map.php
[edit]