PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
plugins1
/
kingcomposer
/
shortcodes
<?php $title = $images = $transition = $delay = $force_size = $width = $height = $position = $wrap_class = ''; $wrapper_class = apply_filters( 'kc-el-class', $atts ); extract( $atts ); $_images = array(); $classes = array( 'image_fadein' ); $attributes = array(); foreach( explode( ',', $images ) as $id ){ $image = wp_get_attachment_image_src( $id, 'full' ); if( isset( $image[0] ) && !empty( $image[0] ) ){ if( isset( $force_size ) && $force_size == 'yes' ){ $atts = array( '250', '250', 'c' ); if( isset( $width ) && !empty( $width ) ) $atts[0] = $width; if( isset( $height ) && !empty( $height ) ) $atts[1] = $height; if( isset( $position ) && !empty( $position ) ) $atts[2] = $position; $_images[] = kc_tools::createImageSize( $image[0], implode( 'x', $atts ) ); }else $_images[] = $image[0]; } } if( isset( $transition ) && !empty( $transition ) ){ $classes[] = esc_attr( $transition ); } if( isset( $delay ) && !empty( $delay ) ){ $attributes[] = 'data-delay="'.esc_attr( $delay ).'"'; } $attributes[] = 'class="'.implode( ' ', $classes ).'"'; $attributes[] = 'data-images="'. $images .'"'; ?> <div class="image_fadein_slider <?php echo implode(' ', $wrapper_class );?>"> <?php if( !empty( $title ) ) echo '<h3>'.esc_html( $title ).'</h3>'; ?> <div <?php echo implode( ' ', $attributes ); ?>> <?php if( !isset( $_images[0] ) || empty( $_images[0] ) ){ echo '<h3>'. __('Images Gallery: No images found', 'kingcomposer' ) .'</h3>'; } else { foreach( $_images as $image ){ echo '<img src="'. esc_url( $image ) .'" />'; } } ?> </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]