403Webshell
Server IP : 104.21.21.239  /  Your IP : 216.73.216.191
Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5
System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64
User : ec2-user ( 1000)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/home2/domains/siparentBAK/lib/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/home2/domains/siparentBAK/lib/customize.php
<?php
/**
 * JSMT Genesis - Customizer is based on Parallax Pro Theme
 *
 * This file adds the customizer additions to the JSMT Media Theme
 *
 * @package JSMT Media Theme
 * @author  JSMT Media 2017
 * @license GPL-2.0+
 * @link    http://jsmtmedia.com
 */

add_action( 'customize_register', 'jsmt_customizer' );
/**
 * Add the theme settings and options to the Customizer.
 *
 * @since 1.0.0
 */
function jsmt_customizer() {

	global $wp_customize;

	$images = apply_filters( 'jsmt_images', array( '1','3') );
	
	$wp_customize->add_section(
		'jsmt-settings',
		array(
			'title'    => __( 'Front Page Background Images', 'jsmt-pro' ),
			'description' => __( '<p>Use the default images or personalize your site by uploading your own images for the front page background images.</p><p>The default images are <strong>1600 x 1050 pixels</strong>.</p>', 'jsmt-pro' ),
			'priority' => 35,
		)
	);

	foreach( $images as $image ){

		$wp_customize->add_setting(
			$image .'-image',
			array(
				'default'  => sprintf( '%s/images/bg-%s.jpg', get_stylesheet_directory_uri(), $image ),
				'type'     => 'option',
			)
		);

		$wp_customize->add_control(
			new WP_Customize_Image_Control(
				$wp_customize,
				$image .'-image',
				array(
					'label'    => sprintf( __( 'Featured Section %s Image:', 'jsmt-pro' ), $image ),
					'section'  => 'jsmt-settings',
					'settings' => $image .'-image',
					'priority' => $image+1,
				)
			)
		);

	}

	// Link color.
	$wp_customize->add_setting(
		'jsmt_link_color',
		array(
			'default'           => jsmt_get_default_accent_color(),
			'sanitize_callback' => 'sanitize_hex_color',
		)
	);

	$wp_customize->add_control(
		new WP_Customize_Color_Control(
			$wp_customize,
			'jsmt_link_color',
			array(
				'description' => __( 'Change the color for content links, the hover color for linked titles, and more.', 'JSMT-Genesis' ),
				'label'       => __( 'Link Color', 'JSMT-Genesis' ),
				'section'     => 'colors',
				'settings'    => 'jsmt_link_color',
			)
		)
	);

	// Menu Link color.
	$wp_customize->add_setting(
		'jsmt_menu_link_color',
		array(
			'default'           => jsmt_get_default_accent_color(),
			'sanitize_callback' => 'sanitize_hex_color',
		)
	);

	$wp_customize->add_control(
		new WP_Customize_Color_Control(
			$wp_customize,
			'jsmt_menu_link_color',
			array(
				'description' => __( 'Change the hover color for menu links and links in the footer area.', 'JSMT-Genesis' ),
				'label'       => __( 'Menu Link Color', 'JSMT-Genesis' ),
				'section'     => 'colors',
				'settings'    => 'jsmt_menu_link_color',
			)
		)
	);

	// Accent color.
	$wp_customize->add_setting(
		'jsmt_accent_color',
		array(
			'default'           => jsmt_get_default_accent_color(),
			'sanitize_callback' => 'sanitize_hex_color',
		)
	);

	$wp_customize->add_control(
		new WP_Customize_Color_Control(
			$wp_customize,
			'jsmt_accent_color',
			array(
				'description' => __( 'Change the hover color for buttons, the footer widget background color, and more.', 'JSMT-Genesis' ),
				'label'       => __( 'Accent Color', 'JSMT-Genesis' ),
				'section'     => 'colors',
				'settings'    => 'jsmt_accent_color',
			)
		)
	);

}

Youez - 2016 - github.com/yon3zu
LinuXploit