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 / 1.settings.php

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

72 lines 2.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 * Page Name: Settings
4 */
5
6 use CounterBox\Admin\CreateFields;
7
8 defined( 'ABSPATH' ) || exit;
9
10 $page_opt = include( 'options/settings.php' );
11 $field = new CreateFields( $options, $page_opt );
12 $id = $options['id'] ?? '';
13 ?>
14
15 <div class="wpie-fieldset">
16 <div class="wpie-fields">
17 <?php $field->create( 'type' ); ?>
18 </div>
19 <div class="wpie-fieldset wpie-box-countdown">
20 <div class="wpie-fields">
21 <?php $field->create( 'dayweek' ); ?>
22 <?php $field->create( 'date' ); ?>
23 <?php $field->create( 'time' ); ?>
24 <?php $field->create( 'timezone' ); ?>
25 </div>
26 </div>
27 <div class="wpie-fieldset wpie-box-timer">
28 <div class="wpie-fields">
29 <?php $field->create( 'day' ); ?>
30 <?php $field->create( 'hours' ); ?>
31 <?php $field->create( 'minutes' ); ?>
32 <?php $field->create( 'seconds' ); ?>
33 </div>
34 </div>
35
36 <div class="wpie-fieldset wpie-box-counter">
37 <div class="wpie-legend"><?php esc_html_e( 'Number range', 'counter-box' ); ?></div>
38 <div class="wpie-fields">
39 <?php $field->create( 'start' ); ?>
40 <?php $field->create( 'finish' ); ?>
41 <?php $field->create( 'base_number' ); ?>
42 </div>
43 </div>
44
45 <div class="wpie-fieldset wpie-box-counter">
46 <div class="wpie-legend"><?php esc_html_e( 'Speed range', 'counter-box' ); ?></div>
47 <div class="wpie-fields">
48 <?php $field->create( 'speed_min' ); ?>
49 <?php $field->create( 'speed_max' ); ?>
50 </div>
51 </div>
52 <div class="wpie-fieldset wpie-box-counter">
53 <div class="wpie-legend"><?php esc_html_e( 'Increase / Decrease', 'counter-box' ); ?></div>
54 <div class="wpie-fields">
55 <?php $field->create( 'increment_min' ); ?>
56 <?php $field->create( 'increment_max' ); ?>
57 <?php $field->create( 'change_number' ); ?>
58 </div>
59 </div>
60
61 <div class="wpie-fieldset wpie-box-counter">
62 <div class="wpie-legend"><?php esc_html_e( 'Number options', 'counter-box' ); ?></div>
63 <div class="wpie-fields">
64 <?php $field->create( 'rounding' ); ?>
65 </div>
66 </div>
67
68 </div>
69
70
71 <?php
72