PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
plugins1
/
kingcomposer
/
shortcodes
<?php $front_data = $back_data = $show_icon = $icon = $title = $description = $show_button = $text_on_button = $link = $direction = $wrap_class = $b_show_icon = $b_icon = $b_title = $b_description = $b_show_button = $b_text_on_button = $b_link = $button_href = $button_target = $button_title = ''; $element_atttribute = array(); $el_classess = apply_filters( 'kc-el-class', $atts ); extract( $atts ); $el_classess = array_merge( $el_classess, array( 'kc-flipbox', 'kc-flip-container' )); if ( !empty( $wrap_class ) ) $el_classess[] = $wrap_class; if( isset( $direction ) && $direction == 'vertical' ) $el_classess[] = 'flip-' . $direction; $element_atttribute[] = 'class="'. esc_attr( implode(' ', $el_classess ) ) .'"'; $element_atttribute[] = 'ontouchstart="this.classList.toggle(\'hover\');"'; // Front Side Data if( $show_icon == 'yes' && !empty( $icon ) ) $front_data .= '<div class="wrap-icon"><i class="'. esc_attr( $icon ) .'"></i></div>'; if( !empty( $title ) ) $front_data .= '<h3>'. esc_html( $title ) .'</h3>'; if(!empty($description)) $front_data .= '<p>'. do_shortcode( $description ) .'</p>'; // Back Side Data if( $b_show_icon == 'yes' && !empty( $b_icon ) ) $back_data .= '<div class="wrap-icon"><i class="'. esc_attr( $b_icon ) .'"></i></div>'; if( !empty( $b_title ) ) $back_data .= '<h3>'. esc_html( $b_title ) .'</h3>'; if(!empty($b_description)) $back_data .= '<p>'. do_shortcode( $b_description ) .'</p>'; if( $b_show_button == 'yes' ){ if ( empty( $b_text_on_button ) ) $b_text_on_button = __( 'Read more', 'kingcomposer' ); $b_link = ( '||' === $b_link ) ? '' : $b_link; $button_link = kc_parse_link($b_link); if ( strlen( $button_link['url'] ) > 0 ) { $button_href = $button_link['url']; $button_title = $button_link['title']; $button_target = strlen( $button_link['target'] ) > 0 ? $button_link['target'] : '_self'; } $back_data .= '<a class="button" href="'. esc_url( $button_href ) .'" target="'. $button_target .'" title="'. $button_title .'">'. $b_text_on_button .'</a>'; } ?> <div <?php echo implode( ' ', $element_atttribute ); ?>> <div class="flipper"> <div class="front"> <div class="front-content"> <?php echo $front_data; ?> </div> </div> <div class="back"> <div class="des"> <?php echo $back_data; ?> </div> </div> </div> </div>
[+]
..
[-] kc_video_play.php
[edit]
[-] kc_spacing.php
[edit]
[-] kc_feature_box.php
[edit]
[-] kc_column_text.php
[edit]
[-] kc_button.php
[edit]
[-] kc_accordion_tab.php
[edit]
[-] kc_image_fadein.php
[edit]
[-] kc_image_gallery.php
[edit]
[-] kc_tooltip.php
[edit]
[-] kc_counter_box.php
[edit]
[+]
live_editor
[-] kc_single_image.php
[edit]
[-] kc_divider.php
[edit]
[-] kc_raw_code.php
[edit]
[-] kc_wp_widget.php
[edit]
[-] .shortcodes.php
[edit]
[-] kc_google_maps.php
[edit]
[-] kc_tabs.php
[edit]
[-] kc_box_alert.php
[edit]
[-] kc_carousel_post.php
[edit]
[-] kc_column_inner.php
[edit]
[-] kc_creative_button.php
[edit]
[-] kc_contact_form7.php
[edit]
[-] kc_revslider.php
[edit]
[-] kc_column.php
[edit]
[-] kc_title.php
[edit]
[-] kc_nested.php
[edit]
[-] kc_tab.php
[edit]
[-] kc_fb_recent_post.php
[edit]
[-] kc_coundown_timer.php
[edit]
[-] kc_post_type_list.php
[edit]
[-] kc_row.php
[edit]
[-] kc_instagram_feed.php
[edit]
[-] kc_blog_posts.php
[edit]
[-] kc_raw_cos.php
[edit]
[-] kc_multi_icons.php
[edit]
[-] kc_accordion.php
[edit]
[-] kc_dropcaps.php
[edit]
[-] kc_call_to_action.php
[edit]
[-] kc_wp_sidebar.php
[edit]
[-] kc_box.php
[edit]
[-] kc_twitter_feed.php
[edit]
[-] kc_testimonial.php
[edit]
[-] kc_team.php
[edit]
[-] kc_pricing.php
[edit]
[-] kc_icon.php
[edit]
[-] _value.php
[edit]
[-] kc_carousel_images.php
[edit]
[-] kc_flip_box.php
[edit]
[-] kc_progress_bars.php
[edit]
[-] kc_pie_chart.php
[edit]
[-] kc_row_inner.php
[edit]
[-] kc_image_hover_effects.php
[edit]