Heray-Was-Here
Server : LiteSpeed
System : Linux uk-fast-web1372.main-hosting.eu 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64
User : u390967363 ( 390967363)
PHP Version : 8.2.30
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
Directory :  /home/u390967363/public_html/wp-content/themes/blocksy/inc/options/posts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/u390967363/public_html/wp-content/themes/blocksy/inc/options/posts/post.php
<?php

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

$page_structure_options = [
	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',
			])
		],
	]
];

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

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

	blocksy_get_options('single-elements/post-tags', [
		'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'
	)
];

$inner_options = [
	blocksy_manager()->get_prefix_title_actions([
		'prefix' => 'single_blog_post',
		'areas' => [
			[
				'title' => __('Page Title', 'blocksy'),
				'options' => $page_title_options,
				'sources' => array_merge(
					blocksy_manager()
						->screen
						->get_archive_prefixes_with_human_labels([
							'has_categories' => true,
							'has_author' => true,
							'has_search' => true,
							'has_woocommerce' => true
						]),

						blocksy_manager()
							->screen
							->get_single_prefixes_with_human_labels([
								'has_woocommerce' => true,
							])
				)
			],

			[
				'id' => 'page_structure',
				'title' => __('Page Structure', 'blocksy'),
				'options' => $page_structure_options,
				'sources' => blocksy_manager()
					->screen
					->get_single_prefixes_with_human_labels()
			],

			[
				'title' => __('Page Elements', 'blocksy'),
				'options' => $page_elements_options,
				'sources' => blocksy_manager()
					->screen
					->get_single_prefixes_with_human_labels()
			]
		]
	]),

	$page_title_options,
	$page_structure_options,
	$page_elements_options
];

/**
 * Filters the inner options for the single post customizer section.
 *
 * @since 2.1.47
 *
 * @param array $inner_options List of option definitions for the section.
 */
$inner_options = apply_filters(
	'blocksy:options:post',
	$inner_options
);

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

Hry