Initial Commit
This commit is contained in:
36
views/admin-pages/fields/field-header.php
Normal file
36
views/admin-pages/fields/field-header.php
Normal file
@ -0,0 +1,36 @@
|
||||
<?php
|
||||
/**
|
||||
* Header field view.
|
||||
*
|
||||
* @since 2.0.0
|
||||
*/
|
||||
?>
|
||||
<li class="wu-bg-gray-100 wu-py-4 <?php echo esc_attr(trim($field->wrapper_classes)); ?>" <?php echo $field->get_wrapper_html_attributes(); ?>>
|
||||
|
||||
<div class="wu-block wu-w-full">
|
||||
|
||||
<h3 class="wu-my-1 wu-text-base wu-text-gray-800">
|
||||
|
||||
<?php echo $field->title; ?>
|
||||
|
||||
<?php if ($field->tooltip) : ?>
|
||||
|
||||
<?php echo wu_tooltip($field->tooltip); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
</h3>
|
||||
|
||||
<?php if ($field->desc) : ?>
|
||||
|
||||
<p class="wu-mt-1 wu-mb-0 wu-text-gray-700">
|
||||
|
||||
<?php echo $field->desc; ?>
|
||||
|
||||
</p>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
|
||||
</li>
|
Reference in New Issue
Block a user