HEX
Server: Apache
System: Linux b5.s-host.com.ua 4.18.0-305.10.2.el7.x86_64 #1 SMP Fri Jul 23 21:00:55 UTC 2021 x86_64
User: unelbhzm (1470)
PHP: 8.0.18
Disabled: NONE
Upload Files
File: /sites/nuofama.com/wp-content/themes/blocksy/inc/options/posts/post.php
<?php

$inner_options = [
	blocksy_get_options('general/page-title', [
		'prefix' => 'single_blog_post',
		'is_single' => true,
		'enabled_label' => __('Post Title', 'blocksy')
	]),

	[
		blocksy_rand_md5() => [
			'type' => 'ct-title',
			'label' => __( 'Post Structure', 'blocksy' ),
		],

		blocksy_rand_md5() => [
			'title' => __( 'General', 'blocksy' ),
			'type' => 'tab',
			'options' => [
				blocksy_get_options('single-elements/structure', [
					'prefix' => 'single_blog_post',
				]),
			],
		],

		blocksy_rand_md5() => [
			'title' => __( 'Design', 'blocksy' ),
			'type' => 'tab',
			'options' => [
				blocksy_get_options('single-elements/structure-design', [
					'prefix' => 'single_blog_post',
				])
			],
		],
	],

	[
		[
			blocksy_rand_md5() => [
				'type' => 'ct-title',
				'label' => __( 'Post Elements', 'blocksy' ),
			],
		],

		blocksy_get_options('single-elements/featured-image', [
			'prefix' => 'single_blog_post',
		]),

		[
			'single_blog_post_has_post_tags' => [
				'label' => __( 'Post Tags', 'blocksy' ),
				'type' => 'ct-switch',
				'value' => 'no',
				'sync' => blocksy_sync_single_post_container([
					'prefix' => 'single_blog_post'
				]),
			],
		],

		blocksy_get_options('single-elements/post-share-box', [
			'prefix' => 'single_blog_post'
		]),

		blocksy_get_options('single-elements/author-box', [
			'prefix' => 'single_blog_post'
		]),

		blocksy_get_options('single-elements/post-nav', [
			'prefix' => 'single_blog_post'
		]),

		[
			blocksy_rand_md5() => [
				'type' => 'ct-title',
				'label' => __( 'Page Elements', 'blocksy' ),
			],
		],

		blocksy_get_options('single-elements/related-posts', [
			'prefix' => 'single_blog_post'
		]),

		blocksy_get_options('general/comments-single', [
			'prefix' => 'single_blog_post',
		]),

		apply_filters(
			'blocksy_single_posts_end_customizer_options',
			[],
			'single_blog_post'
		),
	]

];

if (
	function_exists('blc_get_content_block_that_matches')
	&&
	blc_get_content_block_that_matches([
		'template_type' => 'single',
		'template_subtype' => 'canvas',
		'match_conditions_strategy' => 'single_blog_post'
	])
) {
	$inner_options = [
		blocksy_rand_md5() => [
			'type' => 'ct-notification',
			'attr' => [ 'data-type' => 'background:white' ],
			'text' => sprintf(
				__('This single page is overrided by a custom template, to edit it please access %sthis page%s.', 'blocksy'),
				'<a href="' . get_edit_post_link(blc_get_content_block_that_matches([
					'template_type' => 'single',
					'template_subtype' => 'canvas',
					'match_conditions_strategy' => 'single_blog_post'
				])) . '" target="_blank">',
				'</a>'
			)
		],
	];
}

$options = [
	'single_section_options' => [
		'type' => 'ct-options',
		'setting' => [ 'transport' => 'postMessage' ],
		'inner-options' => $inner_options
	],
];