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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
|
<?php
$group_color = 'Color';
// Shortcode settings return array( 'name' => esc_html__( 'Latest Tweets', 'penci-framework' ), 'params' => array_merge( Penci_Framework_Shortcode_Params::block_title( ), array( array( 'param_name' => 'custom_markup', 'type' => 'custom_markup', 'value' => '<a href="'. esc_url( __( 'https://apps.twitter.com/', 'penci-framework' ) ) .'" target="_blank">'. esc_html__( 'Get your Twitter app details here', 'penci-framework' ) .'</a>', 'group' => 'Tweets' ), array( 'type' => 'textfield', 'heading' => esc_html__( 'Consumer Key:', 'penci-framework' ), 'param_name' => 'consumer_key', 'std' => '', 'group' => 'Tweets' ),array( 'type' => 'textfield', 'heading' => esc_html__( 'Consumer Secret:', 'penci-framework' ), 'param_name' => 'consumer_secret', 'std' => '', 'group' => 'Tweets' ),array( 'type' => 'textfield', 'heading' => esc_html__( 'Access Token:', 'penci-framework' ), 'param_name' => 'access_token', 'std' => '', 'group' => 'Tweets' ),array( 'type' => 'textfield', 'heading' => esc_html__( 'Access Token Secre:', 'penci-framework' ), 'param_name' => 'access_token_secret', 'std' => '', 'group' => 'Tweets' ),array( 'type' => 'textfield', 'heading' => esc_html__( 'Cache Time (seconds):', 'penci-framework' ), 'param_name' => 'cache_time', 'std' => '3600', 'group' => 'Tweets' ),array( 'type' => 'textfield', 'heading' => esc_html__( 'Twitter Screen Name:', 'penci-framework' ), 'param_name' => 'username', 'std' => '', 'group' => 'Tweets' ),array( 'type' => 'textfield', 'heading' => esc_html__( 'Number Of Tweets:', 'penci-framework' ), 'param_name' => 'number', 'std' => '3', 'group' => 'Tweets' ), array( 'type' => 'textfield', 'heading' => esc_html__( 'Custom Reply text:', 'penci-framework' ), 'param_name' => 'reply', 'std' => esc_html__( 'Reply', 'penci-framework' ), 'group' => 'Tweets' ), array( 'type' => 'textfield', 'heading' => esc_html__( 'Custom Retweet text:', 'penci-framework' ), 'param_name' => 'retweet', 'std' => esc_html__( 'Retweet', 'penci-framework' ), 'group' => 'Tweets' ), array( 'type' => 'textfield', 'heading' => esc_html__( 'Custom Favorite text:', 'penci-framework' ), 'param_name' => 'favorite', 'std' => esc_html__( 'Favorite', 'penci-framework' ), 'group' => 'Tweets' ), array( 'type' => 'dropdown', 'heading' => __( 'Text Align', 'penci-framework' ), 'param_name' => 'align', 'value' => array( __( 'Align Center', 'penci-framework' ) => 'pc_aligncenter', __( 'Align Left', 'penci-framework' ) => 'pc_alignleft', __( 'Align Right', 'penci-framework' ) => 'pc_alignright', ), 'group' => 'Tweets' ), array( 'type' => 'checkbox', 'heading' => esc_html__( 'Disable Auto Play Tweets Slider?', 'penci-framework' ), 'param_name' => 'auto', 'std' => true ), ), Penci_Framework_Shortcode_Params::block_option_meta( array( 'hide_heading_meta_settings', 'hide_enable_stiky' ) ), Penci_Framework_Shortcode_Params::block_option_block_title( ), Penci_Framework_Shortcode_Params::color_params( 'penci_widget_archive', false ), array( array( 'type' => 'textfield', 'param_name' => 'color_Tweets_css', 'heading' => esc_html__( 'Tweets colors', 'penci-framework' ), 'value' => '', 'group' => $group_color, 'edit_field_class' => 'penci-param-heading-wrapper no-top-margin vc_column vc_col-sm-12', ), array( 'type' => 'colorpicker', 'heading' => esc_html__( 'Text color', 'penci-framework' ), 'param_name' => 'tweets_text_color', 'group' => $group_color, 'edit_field_class' => 'vc_col-sm-6', ), array( 'type' => 'colorpicker', 'heading' => esc_html__( 'Date color', 'penci-framework' ), 'param_name' => 'tweets_date_color', 'group' => $group_color, 'edit_field_class' => 'vc_col-sm-6', ), array( 'type' => 'colorpicker', 'heading' => esc_html__( 'Icon and Link color', 'penci-framework' ), 'param_name' => 'tweets_link_color', 'group' => $group_color, 'edit_field_class' => 'vc_col-sm-6', ), array( 'type' => 'colorpicker', 'heading' => esc_html__( 'Dot background color', 'penci-framework' ), 'param_name' => 'tweets_dot_color', 'group' => $group_color, 'edit_field_class' => 'vc_col-sm-6', ),array( 'type' => 'colorpicker', 'heading' => esc_html__( 'Dot border color', 'penci-framework' ), 'param_name' => 'tweets_dot_bordercolor', 'group' => $group_color, 'edit_field_class' => 'vc_col-sm-6', ), array( 'type' => 'colorpicker', 'heading' => esc_html__( 'Dot border and background active color', 'penci-framework' ), 'param_name' => 'tweets_dot_hcolor', 'group' => $group_color, 'edit_field_class' => 'vc_col-sm-6', ), ), Penci_Framework_Shortcode_Params::block_option_note_custom_fonts(), Penci_Framework_Shortcode_Params::block_option_typo( array( 'prefix' => 'block_title', 'title' => esc_html__( 'Block title settings' ), 'google_fonts' => Penci_Helper_Shortcode::get_font_family( 'oswald' ), 'font-size' => '18px', ) ), Penci_Framework_Shortcode_Params::block_option_typo( array( 'prefix' => 'tweets_text', 'title' => esc_html__( 'Tweet text settings' ), 'google_fonts' => Penci_Helper_Shortcode::get_font_family( 'roboto' ), 'font-size' => '', ) ), Penci_Framework_Shortcode_Params::block_option_typo( array( 'prefix' => 'tweets_date', 'title' => esc_html__( 'Tweet date settings' ), 'google_fonts' => Penci_Helper_Shortcode::get_font_family( 'roboto' ), 'font-size' => '', ) ), Penci_Framework_Shortcode_Params::block_option_typo( array( 'prefix' => 'tweets_link', 'title' => esc_html__( 'Tweet link settings' ), 'google_fonts' => Penci_Helper_Shortcode::get_font_family( 'roboto' ), 'font-size' => '', ) ) ) );
|