Skip to content

Commit

Permalink
Add theme setting to settings.php
Browse files Browse the repository at this point in the history
  • Loading branch information
dmotts authored Sep 25, 2024
1 parent 456e8f6 commit f024f77
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion includes/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,19 @@ class="rounded-circle me-3"
</p>
</div>

<!-- Primary Theme Color Picker Section -->
<div class="mb-3">
<label for="vacw_theme_color" class="form-label">
<?php _e('Primary Theme Color', 'customer-support-bot'); ?>
</label>
<input type="text" name="vacw_theme_color" id="vacw_theme_color" class="vacw-color-field"
value="<?php echo esc_attr(get_option('vacw_theme_color', '#dbe200')); ?>" />
<p class="form-text text-muted">
<?php _e('Choose the primary color for the chat widget.', 'customer-support-bot'); ?>
</p>
</div>

<!-- Save Button -->
<?php submit_button(__('Save Changes', 'customer-support-bot'), 'btn btn-primary'); ?>
</form>
</div>
</div>

0 comments on commit f024f77

Please sign in to comment.