SILENT KILLERPanel

Current Path: > home > transcarter > > www > wp-content > themes > woostify > inc > > customizer > sections > color


Operation   : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Software     : Apache
Server IP    : 198.54.126.42 | Your IP: 216.73.216.135
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/transcarter//www/wp-content/themes/woostify/inc//customizer/sections/color

NameTypeSizeLast ModifiedActions
color.php File 4383 bytes June 12 2025 15:15:30.

Reading File: /home/transcarter//www/wp-content/themes/woostify/inc//customizer/sections/color/color.php

<?php
/**
 * Color customizer
 *
 * @package woostify
 */

// Default values.
$defaults = woostify_options();

// options values
$options = woostify_options( false );

// Theme color.
$wp_customize->add_setting(
	'woostify_setting[theme_color]',
	array(
		'default'           => $defaults['theme_color'],
		'sanitize_callback' => 'woostify_sanitize_rgba_color',
		'type'              => 'option',
		'transport'         => 'postMessage',
	)
);
$wp_customize->add_control(
	new Woostify_Color_Group_Control(
		$wp_customize,
		'woostify_setting[theme_color]',
		array(
			'label'           => __( 'Theme Color', 'woostify' ),
			'section'         => 'woostify_color',
			'settings'        => array(
				'woostify_setting[theme_color]',
			),
			'enable_swatches' => false,
			'is_global_color' => true,
			'global_color' => $defaults['theme_color'],
		)
	)
);

// Text Color.
$wp_customize->add_setting(
	'woostify_setting[text_color]',
	array(
		'default'           => $defaults['text_color'],
		'sanitize_callback' => 'woostify_sanitize_rgba_color',
		'type'              => 'option',
		'transport'         => 'postMessage',
	)
);
$wp_customize->add_control(
	new Woostify_Color_Group_Control(
		$wp_customize,
		'woostify_setting[text_color]',
		array(
			'label'           => __( 'Text Color', 'woostify' ),
			'section'         => 'woostify_color',
			'settings'        => array(
				'woostify_setting[text_color]',
			),
			'enable_swatches' => false,
			'is_global_color' => true,
			'global_color' => $defaults['text_color'],
		)
	)
);

// Accent Color.
$wp_customize->add_setting(
	'woostify_setting[accent_color]',
	array(
		'default'           => $defaults['accent_color'],
		'sanitize_callback' => 'woostify_sanitize_rgba_color',
		'type'              => 'option',
		'transport'         => 'postMessage',
	)
);
$wp_customize->add_control(
	new Woostify_Color_Group_Control(
		$wp_customize,
		'woostify_setting[accent_color]',
		array(
			'label'           => __( 'Link / Accent Color', 'woostify' ),
			'section'         => 'woostify_color',
			'settings'        => array(
				'woostify_setting[accent_color]',
			),
			'enable_swatches' => false,
			'is_global_color' => true,
			'global_color' => $defaults['accent_color'],
		)
	)
);

// Link Hover Color.
$wp_customize->add_setting(
	'woostify_setting[link_hover_color]',
	array(
		'default'           => $defaults['link_hover_color'],
		'sanitize_callback' => 'woostify_sanitize_rgba_color',
		'type'              => 'option',
		'transport'         => 'postMessage',
	)
);
$wp_customize->add_control(
	new Woostify_Color_Group_Control(
		$wp_customize,
		'woostify_setting[link_hover_color]',
		array(
			'label'           => __( 'Link Hover Color', 'woostify' ),
			'section'         => 'woostify_color',
			'settings'        => array(
				'woostify_setting[link_hover_color]',
			),
			'enable_swatches' => false,
			'is_global_color' => true,
			'global_color' => $defaults['link_hover_color'],
		)
	)
);

// Extra Color 1.
$wp_customize->add_setting(
	'woostify_setting[extra_color_1]',
	array(
		'default'           => $defaults['extra_color_1'],
		'sanitize_callback' => 'woostify_sanitize_rgba_color',
		'type'              => 'option',
		'transport'         => 'postMessage',
	)
);
$wp_customize->add_control(
	new Woostify_Color_Group_Control(
		$wp_customize,
		'woostify_setting[extra_color_1]',
		array(
			'label'           => __( 'Extra Color 1', 'woostify' ),
			'section'         => 'woostify_color',
			'settings'        => array(
				'woostify_setting[extra_color_1]',
			),
			'enable_swatches' => false,
			'is_global_color' => true,
			'global_color' => $defaults['extra_color_1'],
		)
	)
);

// Extra Color 2.
$wp_customize->add_setting(
	'woostify_setting[extra_color_2]',
	array(
		'default'           => $defaults['extra_color_2'],
		'sanitize_callback' => 'woostify_sanitize_rgba_color',
		'type'              => 'option',
		'transport'         => 'postMessage',
	)
);
$wp_customize->add_control(
	new Woostify_Color_Group_Control(
		$wp_customize,
		'woostify_setting[extra_color_2]',
		array(
			'label'           => __( 'Extra Color 2', 'woostify' ),
			'section'         => 'woostify_color',
			'settings'        => array(
				'woostify_setting[extra_color_2]',
			),
			'enable_swatches' => false,
			'is_global_color' => true,
			'global_color' => $defaults['extra_color_2'],
		)
	)
);

SILENT KILLER Tool