PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
plugins1
/
kingcomposer
/
shortcodes
<?php $output = $css_data = $css = ''; $cont_class = array( 'kc-row-container' ); $element_attributes = array(); extract($atts); $css_classes = apply_filters( 'kc-el-class', $atts ); $css_classes[] = 'kc_row'; if( $css != '' ) $css_classes[] = $css; if( !empty( $atts['row_class'] ) ) $css_classes[] = $atts['row_class']; if( !empty( $atts['full_height'] ) ) { if( $atts['content_placement'] == 'middle' ) $element_attributes[] = 'data-kc-fullheight="middle-content"'; else $element_attributes[] = 'data-kc-fullheight="true"'; } if( empty($atts['column_align']) ) $atts['column_align'] = 'center'; if( !empty( $atts['equal_height'] ) ){ $element_attributes[] = 'data-kc-equalheight="true"'; $element_attributes[] = 'data-kc-equalheight-align="'. $atts['column_align'] .'"'; } if( isset( $atts['use_container'] ) && $atts['use_container'] == 'yes' ) $cont_class[] = ' kc-container'; if( !empty( $atts['container_class'] ) ) $cont_class[] = ' '.$atts['container_class']; if( !empty( $atts['css'] ) ) $css_classes[] = $atts['css']; /** *Check video background */ if( $atts['video_bg'] === 'yes' ) { $video_bg_url = $atts['video_bg_url']; if( empty($video_bg_url)) $video_bg_url = 'https://www.youtube.com/watch?v=dOWFVKb2JqM'; $has_video_bg = kc_youtube_id_from_url( $video_bg_url ); if( !empty( $has_video_bg ) ) { $css_classes[] = 'kc-video-bg'; $element_attributes[] = 'data-kc-video-bg="' . esc_attr( $video_bg_url ) . '"'; $css_data .= 'position: relative;'; if( isset( $atts['video_options'] ) && !empty( $video_options ) ){ $element_attributes[] = 'data-kc-video-options="' . esc_attr( trim( $video_options )) . '"'; } if( isset( $atts['video_mute'] ) && !empty( $atts['video_mute'] ) ) $element_attributes[] = 'data-kc-video-mute="' . esc_attr( $atts['video_mute'] ) . '"'; } } if( !empty( $atts['row_id'] ) ){ $row_id = urlencode( $atts['row_id'] ); $element_attributes[] = 'id="' . esc_attr( $row_id ) . '"'; } if( isset( $atts['force'] ) && $atts['force'] == 'yes' ){ if( isset( $atts['use_container'] ) && $atts['use_container'] == 'yes' ) $element_attributes[] = 'data-kc-fullwidth="row"'; else $element_attributes[] = 'data-kc-fullwidth="content"'; } if( empty( $has_video_bg ) ) { if( !empty( $atts['parallax'] ) ) { $element_attributes[] = 'data-kc-parallax="true"'; if( $atts['parallax'] == 'yes-new' ) { $bg_image_id = $atts['parallax_image']; $bg_image = wp_get_attachment_image_src( $bg_image_id, 'full' ); $css_data .= "background-image:url('".$bg_image[0]."');"; } } } $css_class = implode(' ', $css_classes); $element_attributes[] = 'class="' . esc_attr( trim( $css_class ) ) . '"'; if( !empty( $css_data ) ) $element_attributes[] = 'style="' . esc_attr( trim( $css_data ) ) . '"'; $output .= '<section ' . implode( ' ', $element_attributes ) . '>'; $output .= '<div class="' . esc_attr(implode( ' ', $cont_class)) . '">'; $output .= '<div class="kc-wrap-columns">'.do_shortcode( str_replace( 'kc_row#', 'kc_row', $content ) ).'</div>'; $output .= '</div>'; $output .= '</section>'; echo $output;
[+]
..
[-] 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]