Use new code style
This commit is contained in:
@ -7,36 +7,36 @@
|
||||
?>
|
||||
<div class="wu-my-6">
|
||||
|
||||
<div class="wu-flex">
|
||||
<div class="wu-flex">
|
||||
|
||||
<div class="wu-w-1/3">
|
||||
<div class="wu-w-1/3">
|
||||
|
||||
<label for="<?php echo esc_attr($field->id); ?>">
|
||||
<label for="<?php echo esc_attr($field->id); ?>">
|
||||
|
||||
<?php echo $field->title; ?>
|
||||
<?php echo $field->title; ?>
|
||||
|
||||
</label>
|
||||
</label>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="wu-w-2/3">
|
||||
<div class="wu-w-2/3">
|
||||
|
||||
<textarea cols="60" rows="7" name="<?php echo esc_attr($field->id); ?>" id="<?php echo esc_attr($field->id); ?>" class="regular-text" placeholder="<?php echo $field->placeholder ? esc_attr($field->placeholder) : ''; ?>"><?php echo esc_textarea(stripslashes(wu_get_setting($field_slug))); ?></textarea>
|
||||
<textarea cols="60" rows="7" name="<?php echo esc_attr($field->id); ?>" id="<?php echo esc_attr($field->id); ?>" class="regular-text" placeholder="<?php echo $field->placeholder ? esc_attr($field->placeholder) : ''; ?>"><?php echo esc_textarea(stripslashes(wu_get_setting($field_slug))); ?></textarea>
|
||||
|
||||
<?php if ($field->desc) : ?>
|
||||
<?php if ($field->desc) : ?>
|
||||
|
||||
<p class="description" id="<?php echo $field->id; ?>-desc">
|
||||
<p class="description" id="<?php echo $field->id; ?>-desc">
|
||||
|
||||
<?php echo $field->desc; ?>
|
||||
<?php echo $field->desc; ?>
|
||||
|
||||
</p>
|
||||
</p>
|
||||
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php // if (isset($field['tooltip'])) {echo WU_Util::tooltip($field['tooltip']);} ?>
|
||||
<?php // if (isset($field['tooltip'])) {echo WU_Util::tooltip($field['tooltip']);} ?>
|
||||
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user