PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
plugins1
/
wilcity-shortcodes
/
kingcomposer-sc
<?php /** * kc_tab shortcode **/ global $wilcityHasTabContentActive, $wilTabId; $tab_id = $title = ''; extract($atts); preg_match('/(href=[\"\']#)([^"].+)([\"|\'])/', $adv_title, $aMatched); if (isset($aMatched[2])) { $tab_id = $aMatched[2]; } if (empty($tab_id)) { $tab_id = strtolower(trim($title)); $tab_id = str_replace(array('&', 'amp;'), array('', ''), $tab_id); $tab_id = preg_replace_callback('/\s+/', function ($aMatched) { return '-'; }, $tab_id); } $css_class = apply_filters('wilcity-el-class', $atts); $css_class = array_merge($css_class, array('wilTab_panel__wznsS', 'wil-tab__panel')); if (empty($wilcityHasTabContentActive)) { $wilcityHasTabContentActive = 'yes'; $css_class[] = 'active'; } if (isset($class)) { array_push($css_class, $class); } $output = '<div id="' . $tab_id . '" class="' . esc_attr(implode(' ', $css_class)) . '">' . (('' === trim($content)) ? __('Empty tab. Edit page to add content here.', 'wiloke-listing-tools') : do_shortcode(str_replace('kc_tab#', 'kc_tab', $content))) . '</div>'; $wilTabId = ''; echo $output;
[+]
..
[-] kc_column.php
[edit]
[-] wilcity_kc_grid.php
[edit]
[-] wilcity_kc_events_grid.php
[edit]
[-] wilcity_kc_hero.php
[edit]
[-] wilcity_kc_testimonials.php
[edit]
[-] kc_tabs.php
[edit]
[-] wilcity_kc_pricing.php
[edit]
[-] wilcity_kc_box_icon.php
[edit]
[-] wilcity_kc_new_grid.php
[edit]
[-] wilcity_kc_map.php
[edit]
[-] wilcity_kc_heading.php
[edit]
[-] wilcity_kc_terms_slider.php
[edit]
[-] wilcity_kc_intro_box.php
[edit]
[-] wilcity_kc_post_types.php
[edit]
[-] wilcity_kc_term_boxes.php
[edit]
[-] wilcity_kc_external_login.php
[edit]
[-] wilcity_kc_events_slider.php
[edit]
[-] wilcity_kc_modern_term_boxes.php
[edit]
[-] wilcity_kc_masonry_term_boxes.php
[edit]
[-] wilcity_kc_author_slider.php
[edit]
[-] wilcity_kc_team_intro_slider.php
[edit]
[-] wilcity_kc_listings_slider.php
[edit]
[-] kc_row.php
[edit]
[-] kc_column_inner.php
[edit]
[-] .kingcomposer-sc.php
[edit]
[-] wilcity_kc_rectangle_term_boxes.php
[edit]
[-] wilcity_kc_wiloke_wave.php
[edit]
[-] wilcity_kc_contact_us.php
[edit]
[-] wilcity_kc_custom_login.php
[edit]
[-] kc_tab.php
[edit]
[-] wilcity_kc_restaurant_listings.php
[edit]
[-] wilcity_kc_search_form.php
[edit]
[-] wilcity_kc_listings_tabs.php
[edit]