C:\xampp\htdocs\landing\wp-content\plugins\js_composer\include\templates\shortcodes\vc_facebook.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
if ( ! defined'ABSPATH' ) ) {
    die( 
'-1' );
}

/**
 * Shortcode attributes
 * @var $atts
 * @var $type
 * @var $el_class
 * @var $el_id
 * @var $css
 * @var $css_animation
 * Shortcode class
 * @var WPBakeryShortCode_Vc_Facebook $this
 */
$type $css $el_class $el_id '';
$atts vc_map_get_attributes$this->getShortcode(), $atts );
extract$atts );

$url get_permalink();
$el_class = isset( $el_class ) ? $el_class '';

$class_to_filter 'fb_like wpb_content_element fb_type_' $type;
$class_to_filter .= vc_shortcode_custom_css_class$css' ' ) . $this->getExtraClass$el_class ) . $this->getCSSAnimation$css_animation );
$css_class apply_filtersVC_SHORTCODE_CUSTOM_CSS_FILTER_TAG$class_to_filter$this->settings['base'], $atts );

$wrapper_attributes = array();
if ( ! empty( 
$el_id ) ) {
    
$wrapper_attributes[] = 'id="' esc_attr$el_id ) . '"';
}
$output '<div class="' esc_attr$css_class ) . '" ' implode' '$wrapper_attributes ) . '><iframe src="https://www.facebook.com/plugins/like.php?href='
    
esc_url$url ) . '&amp;layout='
    
esc_attr$type ) . '&amp;show_faces=false&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true"></iframe></div>';

return 
$output;
x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586