C:\xampp\htdocs\landing\wp-content\plugins\penci-framework\shortcodes\social_media\settings.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<?php
if ( ! defined'ABSPATH' ) ) {
    die( 
'-1' );
}


// Shortcode settings
return array(
    
'name'    => esc_html__'Social Media''penci-framework' ),
    
'weight'  => 700,
    
'params'  => array_merge(
        array(
            array(
                
'type'       => 'dropdown',
                
'heading'    => esc_html__'Position''penci-framework' ),
                
'param_name' => '_pos',
                
'std'        => 'center',
                
'value'      => array(
                    
esc_html__'Left''penci-framework' )   => 'left',
                    
esc_html__'Center''penci-framework' ) => 'center',
                    
esc_html__'Right''penci-framework' )  => 'right',
                ),
            ),
            array(
                
'type'       => 'dropdown',
                
'heading'    => esc_html__'Social icon style''penci-framework' ),
                
'param_name' => '_icon_style',
                
'std'        => 'default',
                
'value'      => array(
                    
esc_html__'Default''penci-framework' ) => 'default',
                    
esc_html__'Circle''penci-framework' )  => 'circle',
                    
esc_html__'Square''penci-framework' )  => 'square',
                ),
            ),
            array(
                
'type'       => 'penci_only_number',
                
'param_name' => '_icon_width',
                
'heading'    => __'Custom width & height for circle & square style''penci-framework' ),
                
'value'      => '',
                
'std'        => '',
                
'suffix'     => 'px',
                
'min'        => 1,
                
'dependency' => array( 'element' => '_icon_style''value' => array( 'circle''square' ) ),
            ),

            array(
                
'type'       => 'penci_only_number',
                
'param_name' => '_icon_border_w',
                
'heading'    => __'Custom border width for circle & square style''penci-framework' ),
                
'value'      => '',
                
'std'        => '',
                
'suffix'     => 'px',
                
'min'        => 1,
                
'dependency' => array( 'element' => '_icon_style''value' => array( 'circle''square' ) ),
            ),
            array(
                
'type'       => 'penci_number',
                
'param_name' => 'font_size',
                
'heading'    => __'Custom font size''penci-framework' ),
                
'value'      => '',
                
'std'        => '',
                
'suffix'     => 'px',
                
'min'        => 1,
            ),
            array(
                
'type'       => 'penci_number',
                
'param_name' => 'social_space',
                
'heading'    => __'Custom space between social icon''penci-framework' ),
                
'value'      => '',
                
'std'        => '',
                
'suffix'     => 'px',
                
'min'        => 1,
            ),
            array(
                
'type'             => 'colorpicker',
                
'heading'          => esc_html__'Social icon color''penci-framework' ),
                
'param_name'       => 'icon_color',
                
'group'            => $group_color,
                
'edit_field_class' => 'vc_col-sm-6',
            ),
            array(
                
'type'             => 'colorpicker',
                
'heading'          => esc_html__'Social icon hover color''penci-framework' ),
                
'param_name'       => 'icon_hover_color',
                
'group'            => $group_color,
                
'edit_field_class' => 'vc_col-sm-6',
            ),
            array(
                
'type'             => 'colorpicker',
                
'heading'          => esc_html__'Social icon background color''penci-framework' ),
                
'param_name'       => 'icon_bgcolor',
                
'group'            => $group_color,
                
'edit_field_class' => 'vc_col-sm-6',
                
'dependency'       => array( 'element' => '_icon_style''value' => array( 'circle''square' ) ),
            ),
            array(
                
'type'             => 'colorpicker',
                
'heading'          => esc_html__'Social icon background hover color''penci-framework' ),
                
'param_name'       => 'icon_hover_bgcolor',
                
'group'            => $group_color,
                
'edit_field_class' => 'vc_col-sm-6',
                
'dependency'       => array( 'element' => '_icon_style''value' => array( 'circle''square' ) ),
            ),
            array(
                
'type'             => 'colorpicker',
                
'heading'          => esc_html__'Social icon border color''penci-framework' ),
                
'param_name'       => 'icon_border_color',
                
'group'            => $group_color,
                
'edit_field_class' => 'vc_col-sm-6',
                
'dependency'       => array( 'element' => '_icon_style''value' => array( 'circle''square' ) ),
            ),
            array(
                
'type'             => 'colorpicker',
                
'heading'          => esc_html__'Social icon border hover color''penci-framework' ),
                
'param_name'       => 'icon_hover_border_color',
                
'group'            => $group_color,
                
'edit_field_class' => 'vc_col-sm-6',
                
'dependency'       => array( 'element' => '_icon_style''value' => array( 'circle''square' ) ),
            )
        )
    ),
    
'js_view' => 'VcPenciShortcodeView',
);
x

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