Uname:Linux webm002.cluster129.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64

403WebShell
403Webshell
Server IP : 51.91.236.255  /  Your IP : 216.73.217.120
Web Server : Apache
System : Linux webm002.cluster129.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : laureet ( 1012854)
PHP Version : 8.0.30
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/laureet/www/wp-content/themes/rhye/inc/customizer/panels/footer/sections/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/laureet/www/wp-content/themes/rhye/inc/customizer/panels/footer/sections/section-upper.php
<?php

$priority    = 1;
$max_columns = 4;
$suffix      = '_upper';

/**
 * Footer Layout
 */
Kirki::add_field(
	'arts',
	array(
		'type'      => 'radio-buttonset',
		'settings'  => 'footer_layout' . $suffix,
		'label'     => esc_html__( 'Layout', 'rhye' ),
		'section'   => 'section_footer' . $suffix,
		'default'   => '12',
		'priority'  => $priority++,
		'choices'   => array(
			'12'  => esc_html__( 'Fullwidth', 'rhye' ),
			'7_5' => esc_html__( '7  /  5', 'rhye' ),
			'6_6' => esc_html__( '6  /  6', 'rhye' ),
			'5_7' => esc_html__( '5  /  7', 'rhye' ),
		),
		'transport' => 'refresh',
	)
);

/**
 * Footer Columns
 */
Kirki::add_field(
	'arts',
	array(
		'type'        => 'slider',
		'settings'    => 'footer_columns' . $suffix,
		'label'       => esc_html__( 'Number of Columns', 'rhye' ),
		'description' => sprintf(
			'%1$s <a href="javascript:wp.customize.panel(\'widgets\').focus();">%2$s</a>',
			esc_html__( 'This setting creates a widget area per each column. You can edit your widgets from', 'rhye' ),
			esc_html__( 'Widgets panel.', 'rhye' )
		),
		'section'     => 'section_footer' . $suffix,
		'default'     => 4,
		'priority'    => $priority++,
		'choices'     => array(
			'min'  => 1,
			'max'  => $max_columns,
			'step' => 1,
		),
		'transport'   => 'refresh',
	)
);

/**
 * Mobile Ordering Info
 */
Kirki::add_field(
	'arts',
	array(
		'type'            => 'custom',
		'settings'        => 'footer_columns_info' . $suffix,
		'label'           => esc_html__( 'Mobile Columns Stack Order', 'rhye' ),
		'tooltip'         => esc_html__( 'Toggle mobile view in Customizer to preview the result', 'rhye' ),
		'description'     => esc_html__( 'You can separately control how your columns stack on mobile screens.', 'rhye' ),
		'section'         => 'section_footer' . $suffix,
		'priority'        => $priority++,
		'active_callback' => array(
			array(
				'setting'  => 'footer_columns' . $suffix,
				'operator' => '>',
				'value'    => 1,
			),
		),
	)
);

/**
 * Mobile Column Order
 */
for ( $i = 1; $i <= $max_columns; $i++ ) {
	$descr = sprintf( '%1$s (%2$s %3$s)', esc_html__( 'Mobile Order', 'rhye' ), esc_html__( 'Column', 'rhye' ), $i );

	Kirki::add_field(
		'arts',
		array(
			'type'            => 'slider',
			'settings'        => 'order_column_' . $i . $suffix,
			'description'     => $descr,
			'section'         => 'section_footer' . $suffix,
			'default'         => 1,
			'priority'        => $priority++,
			'choices'         => array(
				'min'  => 1,
				'max'  => $max_columns,
				'step' => 1,
			),
			'active_callback' => array(
				array(
					'setting'  => 'footer_columns' . $suffix,
					'operator' => '>=',
					'value'    => $i,
				),
				array(
					'setting'  => 'footer_columns' . $suffix,
					'operator' => '!=',
					'value'    => 1,
				),
			),
		)
	);
}

/**
 * Adjust Text Alignment
 */
Kirki::add_field(
	'arts',
	array(
		'type'     => 'checkbox',
		'settings' => 'text_align_enabled' . $suffix,
		'label'    => esc_html__( 'Adjust Widgets Text Alignment Depending on Columns Layout', 'rhye' ),
		'section'  => 'section_footer' . $suffix,
		'default'  => false,
		'priority' => $priority++,
	)
);

/**
 * Border
 */
Kirki::add_field(
	'arts',
	array(
		'type'      => 'checkbox',
		'settings'  => 'footer_border_enabled' . $suffix,
		'label'     => esc_html__( 'Enable Section Divider', 'rhye' ),
		'section'   => 'section_footer' . $suffix,
		'default'   => true,
		'priority'  => $priority++,
		'tooltip'   => esc_html__( 'This option may be overriden for the current page from Elementor document settings.', 'rhye' ),
		'transport' => 'postMessage',
	)
);

Youez - 2016 - github.com/yon3zu
LinuXploit