| Server IP : 38.190.208.107 / Your IP : 216.73.216.84 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/integrations/ |
Upload File : |
<?php
$prefix = 'courses_single_';
$design_options = [
$prefix . 'hero_title_font' => [
'type' => 'ct-typography',
'label' => __( 'Title Font', 'blocksy' ),
'value' => blocksy_typography_default_values([
'size' => '30px'
]),
'design' => 'block',
'sync' => 'live'
],
$prefix . 'hero_title_font_color' => [
'label' => __( 'Title Font Color', 'blocksy' ),
'type' => 'ct-color-picker',
'design' => 'inline',
'sync' => 'live',
'value' => [
'default' => [
'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
],
],
'pickers' => [
[
'title' => __( 'Initial', 'blocksy' ),
'id' => 'default',
'inherit' => 'var(--theme-heading-1-color, var(--theme-headings-color))'
],
],
],
$prefix . 'hero_categories_font' => [
'type' => 'ct-typography',
'label' => __( 'Categories Font', 'blocksy' ),
'value' => blocksy_typography_default_values([
'size' => '14px',
'variation' => 'n5',
'line-height' => '1.3',
// 'text-transform' => 'uppercase',
]),
'design' => 'block',
'sync' => 'live',
'divider' => 'top:full',
],
$prefix . 'hero_categories_colors' => [
'label' => __( 'Categories Font Color', 'blocksy' ),
'type' => 'ct-color-picker',
'design' => 'inline',
'sync' => 'live',
'value' => [
'default' => [
'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
],
'hover' => [
'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
],
],
'pickers' => [
[
'title' => __( 'Initial', 'blocksy' ),
'id' => 'default',
'inherit' => 'var(--theme-text-color)'
],
[
'title' => __( 'Hover', 'blocksy' ),
'id' => 'hover',
'inherit' => 'var(--theme-link-hover-color)'
],
],
],
$prefix . 'hero_actions_font' => [
'type' => 'ct-typography',
'label' => __( 'Course Actions Font', 'blocksy' ),
'value' => blocksy_typography_default_values([
'size' => '15px',
'variation' => 'n4',
'line-height' => '1.4',
// 'text-transform' => 'uppercase',
]),
'design' => 'block',
'sync' => 'live',
'divider' => 'top:full',
],
$prefix . 'hero_actions_colors' => [
'label' => __( 'Course Actions Font Color', 'blocksy' ),
'type' => 'ct-color-picker',
'design' => 'inline',
'sync' => 'live',
'value' => [
'default' => [
'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
],
'hover' => [
'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
],
],
'pickers' => [
[
'title' => __( 'Initial', 'blocksy' ),
'id' => 'default',
'inherit' => 'var(--theme-text-color)'
],
[
'title' => __( 'Hover', 'blocksy' ),
'id' => 'hover',
'inherit' => 'var(--theme-link-hover-color)'
],
],
],
$prefix . 'hero_title_rating_font' => [
'type' => 'ct-typography',
'label' => __( 'Rating Font', 'blocksy' ),
'value' => blocksy_typography_default_values([
'size' => '14px',
'variation' => 'n4',
// 'text-transform' => 'uppercase',
]),
'design' => 'block',
'sync' => 'live',
'divider' => 'top:full',
],
$prefix . 'hero_title_rating_font_color' => [
'label' => __( 'Rating Font Color', 'blocksy' ),
'type' => 'ct-color-picker',
'design' => 'inline',
'sync' => 'live',
'value' => [
'default' => [
'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
],
],
'pickers' => [
[
'title' => __( 'Initial', 'blocksy' ),
'id' => 'default',
'inherit' => 'var(--theme-text-color)'
],
],
],
$prefix . 'hero_title_star_rating_color' => [
'label' => __( 'Star Rating 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' => '#ED9700'
],
],
],
];
$options = [
'tutorlms_course_options' => [
'type' => 'ct-options',
'inner-options' => [
blocksy_get_options('general/page-title', [
'prefix' => 'courses_single',
'is_single' => true,
'is_cpt' => true,
'has_hero_elements' => false,
'enabled_label' => blocksy_safe_sprintf(
__('%s Title', 'blocksy'),
'Course'
),
'design_options' => $design_options,
'location_name' => __('Course Single', 'blocksy')
]),
blocksy_rand_md5() => [
'type' => 'ct-title',
'label' => __( 'Course Structure', 'blocksy' ),
],
blocksy_rand_md5() => [
'title' => __( 'General', 'blocksy' ),
'type' => 'tab',
'options' => [
blocksy_get_options('single-elements/structure', [
'skipped_structure' => ['type-4', 'type-3'],
'default_structure' => 'type-1',
'prefix' => 'courses_single',
]),
],
],
blocksy_rand_md5() => [
'title' => __( 'Design', 'blocksy' ),
'type' => 'tab',
'options' => [
blocksy_get_options('single-elements/structure-design', [
'prefix' => 'courses_single',
])
],
],
]
]
];