- WordPress core y plugins - Tema Twenty Twenty-Four configurado - Plugin allow-unfiltered-html.php simplificado - .gitignore configurado para excluir wp-config.php y uploads 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
26 lines
1.1 KiB
PHTML
Executable File
26 lines
1.1 KiB
PHTML
Executable File
<div class="tvd-settings-item <?= $setting['multiple'] === true ? 'wrap-options' : '' ?>">
|
|
<div class="tvd-settings-label">
|
|
<?php if ( ( $setting['multiple'] && empty( $key ) ) || ! $setting['multiple'] ): ?>
|
|
<?php echo $setting['label']; ?>
|
|
<?php else: ?>
|
|
|
|
<?php endif; ?>
|
|
|
|
</div>
|
|
<div class="tvd-input-field">
|
|
<input type="<?php echo $setting['type']; ?>" class="<?php echo $setting['class']; ?>" id="<?php echo $setting['id']; ?>" value="<?php echo esc_attr( $value ); ?>">
|
|
<label for="<?php echo $setting['id']; ?>" data-success="<?php echo $setting['data-success']; ?>" data-error="<?php echo $setting['data-error']; ?>"> </label>
|
|
</div>
|
|
|
|
<div class="tvd-input-actions">
|
|
<?php if ( ( $setting['multiple'] && empty( $key ) ) || ! $setting['multiple'] ): ?>
|
|
<a class='tvd-save-option'><span></span></a>
|
|
<?php if ( $setting['multiple'] ): ?>
|
|
<span class='tvd-add-option'><span>+</span><?php echo __( "Add new", 'thrive-dash' ); ?> </span>
|
|
<?php endif; ?>
|
|
<?php else: ?>
|
|
<a class='tvd-waves-effect tvd-waves-light tvd-btn-small tvd-btn-red tvd-delete-option'></a>
|
|
<?php endif; ?>
|
|
</div>
|
|
</div>
|