PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
plugins1
/
kingcomposer
/
shortcodes
<?php $output = $wrap_class = ''; extract($atts); $num_post_show = ( !empty($number_post_show) ) ? $number_post_show : 5; $btn_text = !empty( $follow_text )? esc_html( $follow_text ) : 'Go to <strong>'. $fb_page_id .'</strong> fan page'; $max_height = !empty( $max_height ) ? intval( $max_height ) : '300'; $el_classes = apply_filters( 'kc-el-class', $atts ); $el_classes = array_merge( $el_classes, array( 'kc_shortcode', 'kc_facebook_recent_post', $wrap_class ) ); global $kc; if( isset($atts['fb_app_id']) && !empty($atts['fb_app_id']) ) $atts['fb_app_id'] = $kc->secrect_storage( $atts['fb_app_id'], 'encrypt' ); if( isset($atts['fb_app_secret']) && !empty($atts['fb_app_secret']) ) $atts['fb_app_secret'] = $kc->secrect_storage( $atts['fb_app_secret'], 'encrypt' ); $elm_attrs = array(); $elm_attrs[] = 'class="'. esc_attr( implode(' ', $el_classes ) ) .'"'; $elm_attrs[] = 'data-cfg="'. base64_encode( json_encode( $atts ) ) .'"'; kc_js_callback( 'kc_front.ajax_action' ); ?> <div <?php echo implode(' ', $elm_attrs ) ;?>> <ul class="list-posts"> <?php for( $i=1; $i <= $num_post_show; $i++){ ?> <li class="fb_mark_cls"></li> <?php } ?> </ul> <?php if( !empty( $show_profile_button ) && 'yes' === $show_profile_button ){ $fb_page_id = !empty( $fb_page_id )? $fb_page_id : 'kingcomposer'; $page_url = 'https://www.facebook.com/' . $fb_page_id; ?> <a class="fb-button-profile" href="<?php echo esc_url( $page_url ) ;?>" target="_blank"> <?php echo $btn_text ;?> </a> <?php } ?> </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]