checkbox_input.php
2 weeks ago
color_input.php
2 weeks ago
number_input.php
2 weeks ago
select_input.php
2 weeks ago
text_input.php
2 weeks ago
number_input.php
12 lines
| 1 | <?php if (!defined('WPINC')) { die; } ?> |
| 2 | <input |
| 3 | type="number" |
| 4 | id="<?php echo $id ?>" |
| 5 | name="<?php echo \Zenchef\Widget\SETTINGS_OPTION_NAME ?>[<?php echo $id ?>]" |
| 6 | value="<?php echo esc_attr($value) ?>" |
| 7 | /> |
| 8 | |
| 9 | <?php if($description !== ''): ?> |
| 10 | <p class='description'><?php echo $description ?></p> |
| 11 | <?php endif; ?> |
| 12 |