C:\xampp\htdocs\landing\wp-content\plugins\penci-framework\vc_templates\vc_column_inner.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?php
if ( ! defined'ABSPATH' ) ) {
    die( 
'-1' );
}

/**
 * Shortcode attributes
 * @var $atts
 * @var $el_class
 * @var $el_id
 * @var $width
 * @var $css
 * @var $offset
 * @var $content - shortcode content
 * Shortcode class
 * @var $this WPBakeryShortCode_VC_Column_Inner
 */
$el_class $width $el_id $css $offset '';
$output '';
$atts vc_map_get_attributes$this->getShortcode(), $atts );
extract$atts );

$show_on_shortcode Penci_Helper_Shortcode::show_on_shortcode$atts );
if( ! 
$show_on_shortcode ) {
    return;
}

if ( ! empty( 
$width ) ) {
    
Penci_Global_Blocks::set_inner_column_width$width );

} else {
    
Penci_Global_Blocks::set_inner_column_width'1/1' );
}

$width wpb_translateColumnWidthToSpan$width );
$width vc_column_offset_class_merge$offset$width );

$css_classes = array(
    
$this->getExtraClass$el_class ),
    
'wpb_column',
    
'vc_column_container',
    
$width,
);

if ( 
vc_shortcode_custom_css_has_property$css, array(
    
'border',
    
'background',
) ) ) {
    
$css_classes[] = 'vc_col-has-fill';
}

$wrapper_attributes = array();

$css_class preg_replace'/\s+/'' 'apply_filtersVC_SHORTCODE_CUSTOM_CSS_FILTER_TAGimplode' 'array_filter$css_classes ) ), $this->settings['base'], $atts ) );
$wrapper_attributes[] = 'class="' esc_attrtrim$css_class ) ) . '"';
if ( ! empty( 
$el_id ) ) {
    
$wrapper_attributes[] = 'id="' esc_attr$el_id ) . '"';
}



$output .= '<div ' implode' '$wrapper_attributes ) . '>';
$output .= '<div class="vc_column-inner ' $css_class ' ' esc_attrtrimvc_shortcode_custom_css_class$css ) ) ) . '">';
$output .= '<div class="wpb_wrapper">';
$output .= wpb_js_remove_wpautop$content );
$output .= '</div>';
$output .= '</div>';
$output .= '</div>';

echo 
$output;
x

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