PluginProbe
Counter Box – Add Countdowns, Timers & Dynamic Counters to WordPress / 2.0
Counter Box – Add Countdowns, Timers & Dynamic Counters to WordPress v2.0
2.0.14 trunk 1.0 1.2 1.2.1 1.2.2 1.2.3 1.2.4 2.0 2.0.1 2.0.10 2.0.11 2.0.12 2.0.13 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9
counter-box / admin / settings / options / settings.php

settings.php in Counter Box – Add Countdowns, Timers & Dynamic Counters to WordPress 2.0, at admin/settings/options/settings.php

251 lines 5.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 defined( 'ABSPATH' ) || exit;
4
5 return [
6 //region Type
7 'type' => [
8 'type' => 'select',
9 'title' => __( 'Type of counter', 'counter-box' ),
10 'atts' => [
11 'countdown_start' => __( 'CountDown', 'counter-box' ),
12 'CountToDate' => __( 'Countdown to Date', 'counter-box' ),
13 'CountToWeekday' => __( 'Weekly Countdown', 'counter-box' ),
14 'countdown_end' => __( 'CountDown', 'button-generator-pro' ),
15 'timer_start' => __( 'Timer', 'counter-box' ),
16 'Timer' => __( 'Simple Timer', 'counter-box' ),
17 'UserTimer' => __( 'Personal Timer', 'counter-box' ),
18 'TimerStopGo' => __( 'Resumable Timer', 'counter-box' ),
19 'ContFromDate' => __( 'Time Since', 'counter-box' ),
20 'timer_end' => __( 'Timer', 'button-generator-pro' ),
21 'counter_start' => __( 'Counter', 'counter-box' ),
22 'Counter' => __( 'Base Counter', 'counter-box' ),
23 'counter_end' => __( 'Counter', 'counter-box' ),
24 ],
25 ],
26 //endregion
27
28 'dayweek' => [
29 'type' => 'select',
30 'title' => __( 'Day of the week', 'counter-box' ),
31 'atts' => [
32 'everyday' => __( 'Everyday', 'counter-box' ),
33 'Monday' => __( 'Monday', 'counter-box' ),
34 'Tuesday' => __( 'Tuesday', 'counter-box' ),
35 'Wednesday' => __( 'Wednesday', 'counter-box' ),
36 'Thursday' => __( 'Thursday', 'counter-box' ),
37 'Friday' => __( 'Friday', 'counter-box' ),
38 'Saturday' => __( 'Saturday', 'counter-box' ),
39 'Sunday' => __( 'Sunday ', 'counter-box' ),
40 ],
41
42 ],
43
44 'date' => [
45 'type' => 'date',
46 'title' => __( 'Date', 'counter-box' ),
47 'val' => date( 'Y-m-d' ),
48 ],
49
50 'time' => [
51 'type' => 'time',
52 'title' => __( 'Time', 'counter-box' ),
53 'val' => '23:59',
54 ],
55
56 'timezone' => [
57 'type' => 'select',
58 'title' => __( 'Timezone', 'counter-box' ),
59 'val' => '+00:00',
60 'atts' => [
61 '-12:00' => '-12:00',
62 '-11:30' => '-11:30',
63 '-11:00' => '-11:00',
64 '-10:30' => '-10:30',
65 '-10:00' => '-10:00',
66 '-09:30' => '-09:30',
67 '-09:00' => '-09:00',
68 '-08:30' => '-08:30',
69 '-08:00' => '-08:00',
70 '-07:30' => '-07:30',
71 '-07:00' => '-07:00',
72 '-06:30' => '-06:30',
73 '-06:00' => '-06:00',
74 '-05:30' => '-05:30',
75 '-05:00' => '-05:00',
76 '-04:30' => '-04:30',
77 '-04:00' => '-04:00',
78 '-03:30' => '-03:30',
79 '-03:00' => '-03:00',
80 '-02:30' => '-02:30',
81 '-02:00' => '-02:00',
82 '-01:30' => '-01:30',
83 '-01:00' => '-01:00',
84 '-00:30' => '-00:30',
85 '+00:00' => '00:00',
86 '+0:30' => '+0:30',
87 '+01:00' => '+01:00',
88 '+1:30' => '+1:30',
89 '+02:00' => '+02:00',
90 '+02:30' => '+02:30',
91 '+03:00' => '+03:00',
92 '+03:30' => '+03:30',
93 '+04:00' => '+04:00',
94 '+04:30' => '+04:30',
95 '+05:00' => '+05:00',
96 '+5:30' => '+5:30',
97 '+05:45' => '+05:45',
98 '+06:00' => '+06:00',
99 '+06:30' => '+06:30',
100 '+07:00' => '+07:00',
101 '+07:30' => '+07:30',
102 '+08:00' => '+08:00',
103 '+08:30' => '+08:30',
104 '+08:45' => '+08:45',
105 '+09:00' => '+09:00',
106 '+09:30' => '+09:30',
107 '+10:00' => '+10:00',
108 '+10:30' => '+10:30',
109 '+11:00' => '+11:00',
110 '+11:30' => '+11:30',
111 '+12:00' => '+12:00',
112 '+12:45' => '+12:45',
113 '+13:00' => '+13:00',
114 '+13:45' => '+13:45',
115 '+14:00' => '+14:00',
116 ],
117 ],
118
119 'day' => [
120 'type' => 'number',
121 'title' => __( 'Days', 'counter-box' ),
122 'val' => 1,
123 'atts' => [
124 'min' => '0',
125 'step' => '1',
126 ],
127 ],
128
129 'hours' => [
130 'type' => 'number',
131 'title' => __( 'Hours', 'counter-box' ),
132 'val' => 1,
133 'atts' => [
134 'min' => '0',
135 'step' => '1',
136 ],
137 ],
138
139 'minutes' => [
140 'type' => 'number',
141 'title' => __( 'Minutes', 'counter-box' ),
142 'val' => 1,
143 'atts' => [
144 'min' => '0',
145 'step' => '1',
146 ],
147 ],
148
149 'seconds' => [
150 'type' => 'number',
151 'title' => __( 'Seconds', 'counter-box' ),
152 'val' => 1,
153 'atts' => [
154 'min' => '0',
155 'step' => '1',
156 ],
157 ],
158
159 'start' => [
160 'type' => 'number',
161 'val' => 1,
162 'atts' => [
163 'step' => 'any'
164 ],
165 'addon' => 'start',
166 'class' => 'wpie-counter-base'
167 ],
168
169 'finish' => [
170 'type' => 'number',
171 'val' => 5,
172 'atts' => [
173 'step' => 'any'
174 ],
175 'addon' => 'finish',
176 'class' => 'wpie-counter-base'
177 ],
178
179 'base_number' => [
180 'type' => 'number',
181 'title' => __( 'Base number', 'counter-box' ),
182 'val' => 0,
183 'atts' => [
184 'step' => 'any'
185 ],
186 'class' => 'wpie-counter-date',
187 'tooltip' => __( 'Set the value to the set date', 'counter-box' ),
188 ],
189
190 'speed_min' => [
191 'type' => 'number',
192 'title' => __( 'Minimal', 'counter-box' ),
193 'val' => 1,
194 'addon' => 'sec',
195 'atts' => [
196 'step' => 'any'
197 ],
198 ],
199
200 'speed_max' => [
201 'type' => 'number',
202 'title' => __( 'Maximal', 'counter-box' ),
203 'val' => 1,
204 'addon' => 'sec',
205 'atts' => [
206 'step' => 'any'
207 ],
208 ],
209
210 'increment_min' => [
211 'type' => 'number',
212 'val' => 1,
213 'atts' => [
214 'step' => 'any'
215 ],
216 'addon' => 'min',
217 'class' => 'wpie-counter-base'
218 ],
219
220 'increment_max' => [
221 'type' => 'number',
222 'val' => 1,
223 'atts' => [
224 'step' => 'any'
225 ],
226 'addon' => 'max',
227 'class' => 'wpie-counter-base'
228 ],
229
230 'change_number' => [
231 'type' => 'number',
232 'title' => __( 'Change of number', 'counter-box' ),
233 'val' => 1,
234 'atts' => [
235 'step' => 'any'
236 ],
237 'class' => 'wpie-counter-date',
238 'tooltip' => __( 'Set the value of the change in 1 second', 'counter-box' ),
239 ],
240
241 'rounding' => [
242 'type' => 'number',
243 'title' => __( 'Rounding', 'counter-box' ),
244 'val' => 0,
245 'atts' => [
246 'min' => '0',
247 'step' => '1',
248 ],
249 ],
250
251 ];