Initial Commit
This commit is contained in:
17
views/admin-pages/fields/partials/field-description.php
Normal file
17
views/admin-pages/fields/partials/field-description.php
Normal file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
/**
|
||||
* Description field partial view.
|
||||
*
|
||||
* @since 2.0.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php if ($field->desc) : ?>
|
||||
|
||||
<p class="description wu-text-2xs" id="<?php echo $field->id; ?>-desc">
|
||||
|
||||
<?php echo $field->desc; ?>
|
||||
|
||||
</p>
|
||||
|
||||
<?php endif; ?>
|
23
views/admin-pages/fields/partials/field-title.php
Normal file
23
views/admin-pages/fields/partials/field-title.php
Normal file
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
/**
|
||||
* Title field partial view.
|
||||
*
|
||||
* @since 2.0.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php if ($field->title && is_string($field->title)) : ?>
|
||||
|
||||
<span class="wu-my-1 wu-text-2xs wu-uppercase wu-font-bold wu-block">
|
||||
|
||||
<?php echo $field->title; ?>
|
||||
|
||||
<?php if ($field->tooltip) : ?>
|
||||
|
||||
<?php echo wu_tooltip($field->tooltip); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
</span>
|
||||
|
||||
<?php endif; ?>
|
Reference in New Issue
Block a user