__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
if (! isset($prefix)) {
$prefix = '';
} else {
$prefix = $prefix . '_';
}
if (! isset($enabled)) {
$enabled = 'yes';
}
$options = [
$prefix . 'has_comments' => [
'label' => __( 'Comments', 'blocksy' ),
'type' => 'ct-panel',
'switch' => true,
'value' => $enabled,
'sync' => blocksy_sync_whole_page([
'prefix' => $prefix,
]),
'inner-options' => [
blocksy_rand_md5() => [
'title' => __( 'General', 'blocksy' ),
'type' => 'tab',
'options' => [
$prefix . 'has_comments_website' => [
'label' => __( 'Website Input Field', 'blocksy' ),
'type' => 'ct-switch',
'value' => 'yes',
'sync' => blocksy_sync_whole_page([
'prefix' => $prefix,
]),
],
$prefix . 'comments_label_position' => [
'label' => __('Inputs Label Position', 'blocksy'),
'type' => 'ct-radio',
'value' => 'outside',
'view' => 'text',
'design' => 'block',
'divider' => 'top',
'choices' => [
'outside' => __('Outside', 'blocksy'),
'inside' => __('Inside', 'blocksy'),
],
'sync' => blocksy_sync_whole_page([
'prefix' => $prefix,
]),
],
$prefix . 'comments_position' => [
'label' => __('Comment Form Position', 'blocksy'),
'type' => 'ct-radio',
'value' => 'below',
'view' => 'text',
'design' => 'block',
'divider' => 'top',
'choices' => [
'below' => __('Below List', 'blocksy'),
'above' => __('Above List', 'blocksy'),
],
'sync' => blocksy_sync_whole_page([
'prefix' => $prefix,
]),
],
blocksy_rand_md5() => [
'type' => 'ct-divider',
],
$prefix . 'comments_containment' => [
'label' => __('Module Placement', 'blocksy'),
'type' => 'ct-radio',
'value' => 'separated',
'view' => 'text',
'design' => 'block',
'desc' => __('Separate or unify the comments module from or with the entry content area.', 'blocksy'),
'choices' => [
'separated' => __('Separated', 'blocksy'),
'contained' => __('Contained', 'blocksy'),
],
'sync' => blocksy_sync_whole_page([
'prefix' => $prefix,
]),
],
blocksy_rand_md5() => [
'type' => 'ct-divider',
],
blocksy_rand_md5() => [
'type' => 'ct-condition',
'condition' => [ $prefix . 'comments_containment' => 'separated' ],
'options' => [
$prefix . 'comments_structure' => [
'label' => __( 'Container Structure', 'blocksy' ),
'type' => 'ct-radio',
'value' => 'narrow',
'view' => 'text',
'design' => 'block',
'choices' => [
'narrow' => __( 'Narrow', 'blocksy' ),
'normal' => __( 'Normal', 'blocksy' ),
],
'sync' => 'live'
],
],
],
blocksy_rand_md5() => [
'type' => 'ct-condition',
'condition' => [
$prefix . 'comments_containment' => 'separated',
$prefix . 'comments_structure' => 'narrow'
],
'options' => [
$prefix . 'comments_narrow_width' => [
'label' => __( 'Container Max Width', 'blocksy' ),
'type' => 'ct-slider',
'value' => 750,
'min' => 500,
'max' => 800,
'divider' => 'bottom',
'sync' => 'live'
],
],
],
],
],
blocksy_rand_md5() => [
'title' => __( 'Design', 'blocksy' ),
'type' => 'tab',
'options' => [
$prefix . 'comments_author_name_font_color' => [
'label' => __( 'Author Name 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-heading-color, var(--theme-heading-4-color, var(--theme-headings-color)))'
],
[
'title' => __( 'Hover', 'blocksy' ),
'id' => 'hover',
'inherit' => 'var(--theme-link-hover-color)'
],
],
],
$prefix . 'comments_font_color' => [
'label' => __( 'Text 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)'
],
],
],
blocksy_rand_md5() => [
'type' => 'ct-condition',
'condition' => [ $prefix . 'comments_containment' => 'separated' ],
'options' => [
$prefix . 'comments_background' => [
'label' => __( 'Container Background', 'blocksy' ),
'type' => 'ct-background',
'design' => 'inline',
'divider' => 'top',
'sync' => 'live',
'value' => blocksy_background_default_value([
'backgroundColor' => [
'default' => [
'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
],
],
])
],
],
],
],
],
],
],
];
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| back-to-top.php | File | 7.92 KB | 0640 |
|
| breadcrumbs.php | File | 8.55 KB | 0640 |
|
| buttons.php | File | 3.43 KB | 0640 |
|
| cards-reveal-effect.php | File | 285 B | 0640 |
|
| colors.php | File | 13.78 KB | 0640 |
|
| comments-single.php | File | 5.58 KB | 0640 |
|
| content-elements.php | File | 1.49 KB | 0640 |
|
| custom-post-types.php | File | 4.32 KB | 0640 |
|
| footer.php | File | 2.32 KB | 0640 |
|
| form-elements.php | File | 7.69 KB | 0640 |
|
| general.php | File | 2.69 KB | 0640 |
|
| header.php | File | 6.38 KB | 0640 |
|
| layout.php | File | 2.34 KB | 0640 |
|
| meta.php | File | 10.04 KB | 0640 |
|
| page-title.php | File | 35.56 KB | 0640 |
|
| pagination.php | File | 7.45 KB | 0640 |
|
| performance.php | File | 2.78 KB | 0640 |
|
| posts-listing.php | File | 43.46 KB | 0640 |
|
| sidebar-particular.php | File | 1.18 KB | 0640 |
|
| sidebar.php | File | 12.72 KB | 0640 |
|
| typography.php | File | 4.15 KB | 0640 |
|