| Server IP : 38.190.208.107 / Your IP : 216.73.217.1 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/woocommerce/ |
Upload File : |
<?php
$options = [
'woo_has_product_tabs' => [
'label' => __( 'Product Tabs', 'blocksy' ),
'type' => 'ct-panel',
'switch' => true,
'value' => 'yes',
'sync' => blocksy_sync_whole_page([
'prefix' => 'product',
'loader_selector' => '.type-product'
]),
'inner-options' => [
blocksy_rand_md5() => [
'title' => __( 'General', 'blocksy' ),
'type' => 'tab',
'options' => [
[
'woo_tabs_type' => [
'label' => false,
'type' => 'ct-image-picker',
'value' => 'type-1',
'divider' => 'bottom:full',
'choices' => [
'type-1' => [
'src' => blocksy_image_picker_url('woo-tabs-type-1.svg'),
'title' => __('Type 1', 'blocksy'),
],
'type-2' => [
'src' => blocksy_image_picker_url('woo-tabs-type-2.svg'),
'title' => __('Type 2', 'blocksy'),
],
'type-3' => [
'src' => blocksy_image_picker_url('woo-tabs-type-3.svg'),
'title' => __('Type 3', 'blocksy'),
],
'type-4' => [
'src' => blocksy_image_picker_url('woo-tabs-type-4.svg'),
'title' => __('Type 4', 'blocksy'),
],
],
'sync' => blocksy_sync_whole_page([
'prefix' => 'product',
'loader_selector' => '.woocommerce-tabs'
]),
],
blocksy_rand_md5() => [
'type' => 'ct-condition',
'condition' => [ 'woo_tabs_type' => 'type-1|type-2' ],
'options' => [
'woo_tabs_alignment' => [
'type' => 'ct-radio',
'label' => __( 'Horizontal Alignment', 'blocksy' ),
'view' => 'text',
'design' => 'block',
'divider' => 'bottom',
'attr' => [ 'data-type' => 'alignment' ],
'setting' => [ 'transport' => 'postMessage' ],
'value' => 'center',
'choices' => [
'left' => '',
'center' => '',
'right' => '',
],
],
],
],
blocksy_rand_md5() => [
'type' => 'ct-condition',
'condition' => [
'woo_tabs_type' => 'type-3|type-4',
],
'options' => [
'woo_accordion_in_summary' => [
'label' => __('Module Placement', 'blocksy'),
'type' => 'ct-radio',
'value' => 'default',
'view' => 'text',
'divider' => 'bottom',
'choices' => [
'default' => __('Default', 'blocksy'),
'summary' => __('Summary', 'blocksy'),
],
'sync' => blocksy_sync_whole_page([
'prefix' => 'product',
'loader_selector' => '.product'
]),
],
],
],
blocksy_rand_md5() => [
'type' => 'ct-condition',
'condition' => [ 'woo_tabs_type' => 'type-3' ],
'options' => [
'woo_accordion_closed_by_default' => [
'label' => __( 'First Tab Expanded', 'blocksy' ),
'type' => 'ct-switch',
'switch' => true,
'value' => 'yes',
// 'divider' => 'top',
'sync' => blocksy_sync_whole_page([
'prefix' => 'product',
'loader_selector' => '.woocommerce-tabs'
]),
],
'woo_accordion_close_prev' => [
'label' => __( 'Close Adjacent Tabs', 'blocksy' ),
'type' => 'ct-switch',
'switch' => true,
'value' => 'yes',
// 'divider' => 'top',
'sync' => blocksy_sync_whole_page([
'prefix' => 'product',
'loader_selector' => '.woocommerce-tabs'
]),
],
],
],
blocksy_rand_md5() => [
'type' => 'ct-condition',
'condition' => [ 'woo_tabs_type' => '!type-4' ],
'options' => [
'woo_has_product_tabs_description' => [
'label' => __( 'Description Heading ', 'blocksy' ),
'type' => 'ct-switch',
'switch' => true,
'value' => 'no',
// 'divider' => 'top',
'sync' => blocksy_sync_whole_page([
'prefix' => 'product',
'loader_selector' => '.woocommerce-tabs'
]),
],
]
],
],
apply_filters('blocksy:options:woo:tabs:general:brands', []),
[
blocksy_rand_md5() => [
'type' => 'ct-condition',
'condition' => [ 'woo_tabs_type' => 'type-4' ],
'options' => [
'woo_separated_tabs_spacing' => [
'label' => __( 'Items Spacing', 'blocksy' ),
'type' => 'ct-slider',
'min' => 0,
'max' => 200,
'value' => 50,
'divider' => 'top',
'responsive' => true,
'setting' => [ 'transport' => 'postMessage' ],
],
],
],
],
],
],
blocksy_rand_md5() => [
'title' => __( 'Design', 'blocksy' ),
'type' => 'tab',
'options' => [
'woo_tabs_font' => [
'type' => 'ct-typography',
'label' => __( 'Font', 'blocksy' ),
'value' => blocksy_typography_default_values([
'size' => '12px',
'variation' => 'n6',
'text-transform' => 'uppercase',
'line-height' => '1',
]),
'setting' => [ 'transport' => 'postMessage' ],
],
'woo_tabs_font_color' => [
'label' => __( 'Font Color', 'blocksy' ),
'type' => 'ct-color-picker',
'design' => 'inline',
'sync' => 'live',
'value' => [
'default' => [
'color' => 'var(--theme-text-color)',
],
'hover' => [
'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
],
'active' => [
'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
],
],
'pickers' => [
[
'title' => __( 'Initial', 'blocksy' ),
'id' => 'default',
],
[
'title' => __( 'Hover', 'blocksy' ),
'id' => 'hover',
'inherit' => 'var(--theme-link-hover-color)',
'condition' => [ 'woo_tabs_type' => '!type-4' ]
],
[
'title' => __( 'Active', 'blocksy' ),
'id' => 'active',
'inherit' => 'self:hover',
'condition' => [ 'woo_tabs_type' => '!type-4' ]
],
],
],
blocksy_rand_md5() => [
'type' => 'ct-condition',
'condition' => [ 'woo_tabs_type' => '!type-4' ],
'options' => [
'woo_tabs_border_color' => [
'label' => __( 'Border Color', 'blocksy' ),
'type' => 'ct-color-picker',
'design' => 'inline',
'divider' => 'top',
'sync' => 'live',
'value' => [
'default' => [
'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
],
],
'pickers' => [
[
'title' => __( 'Initial', 'blocksy' ),
'id' => 'default',
'inherit' => 'var(--theme-border-color)'
],
],
],
],
],
blocksy_rand_md5() => [
'type' => 'ct-condition',
'condition' => [ 'woo_tabs_type' => 'type-1' ],
'options' => [
'woo_actibe_tab_border' => [
'label' => __( 'Active Tab Border', 'blocksy' ),
'type' => 'ct-color-picker',
'design' => 'inline',
'divider' => 'top',
'sync' => 'live',
'value' => [
'default' => [
'color' => 'var(--theme-palette-color-1)',
],
],
'pickers' => [
[
'title' => __( 'Active', 'blocksy' ),
'id' => 'default',
],
],
],
],
],
blocksy_rand_md5() => [
'type' => 'ct-condition',
'condition' => [ 'woo_tabs_type' => 'type-2' ],
'options' => [
'woo_actibe_tab_background' => [
'label' => __( 'Active Tab Colors', 'blocksy' ),
'type' => 'ct-color-picker',
'design' => 'inline',
'divider' => 'top',
'sync' => 'live',
'value' => [
'default' => [
'color' => 'rgba(242, 244, 247, 0.7)',
],
'border' => [
'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
],
],
'pickers' => [
[
'title' => __( 'Background', 'blocksy' ),
'id' => 'default',
],
[
'title' => __( 'Border', 'blocksy' ),
'id' => 'border',
'inherit' => 'var(--theme-border-color)'
],
],
],
],
],
],
],
],
],
];