| Server IP : 38.190.208.107 / Your IP : 216.73.217.46 Web Server : nginx/1.28.1 System : Linux ht2026040333114 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.37-1 (2023-07-03) x86_64 User : root ( 0) PHP Version : 8.2.28 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv,eval,assert,passthru,system,exec,shell_exec,popen,proc_open MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/wp.9/wp-content/themes/blocksy/inc/options/single-elements/ |
Upload File : |
<?php
if (! isset($prefix)) {
$prefix = '';
} else {
$prefix = $prefix . '_';
}
if (! isset($options_conditions)) {
$options_conditions = [];
}
if (! isset($has_background)) {
$has_background = true;
}
$options = [
[
$has_background ? [
$prefix . 'background' => [
'label' => __('Page Background', 'blocksy'),
'type' => 'ct-background',
'design' => 'block:right',
'responsive' => true,
'sync' => 'live',
'divider' => 'bottom',
'value' => blocksy_background_default_value([
'backgroundColor' => [
'default' => [
'color' => Blocksy_Css_Injector::get_skip_rule_keyword(),
],
],
]),
'desc' => blocksy_safe_sprintf(
// translators: placeholder here means the actual URL.
__( 'Please note, by default this option is inherited from Colors ➝ %sSite Background%s.', 'blocksy' ),
blocksy_safe_sprintf(
'<a data-trigger-section="color" href="%s">',
admin_url('/customize.php?autofocus[section]=color')
),
'</a>'
),
],
] : []
],
blocksy_rand_md5() => [
'type' => 'ct-condition',
'condition' => array_merge([
$prefix . 'content_style' => '~boxed'
], $options_conditions),
'options' => [
$prefix . 'content_background' => [
'label' => __( 'Content Area Background', 'blocksy' ),
'type' => 'ct-background',
'design' => 'block:right',
'responsive' => true,
'sync' => 'live',
'value' => blocksy_background_default_value([
'backgroundColor' => [
'default' => [
'color' => 'var(--theme-palette-color-8)',
],
],
])
],
$prefix . 'content_boxed_shadow' => [
'label' => __( 'Content Area Shadow', 'blocksy' ),
'type' => 'ct-box-shadow',
'responsive' => true,
'divider' => 'top',
'sync' => 'live',
'value' => blocksy_box_shadow_value([
'enable' => true,
'h_offset' => 0,
'v_offset' => 12,
'blur' => 18,
'spread' => -6,
'inset' => false,
'color' => [
'color' => 'rgba(34, 56, 101, 0.04)',
],
])
],
$prefix . 'content_boxed_border' => [
'label' => __( 'Content Area Border', 'blocksy' ),
'type' => 'ct-border',
'design' => 'block',
'sync' => 'live',
'divider' => 'top',
'responsive' => true,
'value' => [
'width' => 1,
'style' => 'none',
'color' => [
'color' => 'rgba(44,62,80,0.2)',
],
]
],
$prefix . 'content_boxed_radius' => [
'label' => __( 'Content Area Border Radius', 'blocksy' ),
'type' => 'ct-spacing',
'divider' => 'top',
'value' => blocksy_spacing_value([
'top' => '3px',
'left' => '3px',
'right' => '3px',
'bottom' => '3px',
]),
'min' => 0,
'responsive' => true,
'sync' => 'live',
],
$prefix . 'boxed_content_spacing' => [
'label' => __( 'Content Area Padding', 'blocksy' ),
'type' => 'ct-spacing',
'divider' => 'top',
'value' => [
'desktop' => blocksy_spacing_value([
'top' => '40px',
'left' => '40px',
'right' => '40px',
'bottom' => '40px',
]),
'tablet' => blocksy_spacing_value([
'top' => '35px',
'left' => '35px',
'right' => '35px',
'bottom' => '35px',
]),
'mobile'=> blocksy_spacing_value([
'top' => '20px',
'left' => '20px',
'right' => '20px',
'bottom' => '20px',
]),
],
'min' => 0,
'responsive' => true,
'sync' => 'live',
],
],
],
];