403Webshell
Server IP : 213.186.33.4  /  Your IP : 216.73.216.222
Web Server : Apache
System : Linux webm005.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64
User : karinebmkh ( 644538)
PHP Version : 8.4.22
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/karinebmkh/www2/wp-content/themes/glaza/theme_options/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/karinebmkh/www2/wp-content/themes/glaza/theme_options/panel_post.php
<?php
/**
 * @return array
 * single options
 */
if ( ! function_exists( 'glaza_theme_options_single_post' ) ) {
	function glaza_theme_options_single_post() {
		return array(
			'title' => esc_html__( 'Single Post Options', 'glaza' ),
			'id'    => 'glaza_config_section_single_post',
			'desc'  => esc_html__( 'select options for single post pages, options below will apply to all single post pages.', 'glaza' ),
			'icon'  => 'el el-file',
		);
	}
}


/**
 * @return array
 * single styling
 */
if ( ! function_exists( 'glaza_theme_options_single_post_styling' ) ) {
	function glaza_theme_options_single_post_styling() {
		return array(
			'title'      => esc_html__( 'Styling Options', 'glaza' ),
			'id'         => 'glaza_config_section_single_post_styling',
			'desc'       => esc_html__( 'options below will apply to all single post pages.', 'glaza' ),
			'icon'       => 'el el-adjust-alt',
			'subsection' => true,
			'fields'     => array(

				array(
					'id'     => 'section_start_single_meta_info',
					'type'   => 'section',
					'class'  => 'ruby-section-start',
					'title'  => esc_html__( 'Single - Meta Info Options', 'glaza' ),
					'indent' => true
				),
				array(
					'id'       => 'single_post_meta_info_manager',
					'type'     => 'sorter',
					'title'    => esc_html__( 'Entry Meta Bar Manager', 'glaza' ),
					'subtitle' => esc_html__( 'organize how you want the entry meta info to appear in single post pages.', 'glaza' ),
					'options'  => array(
						'enabled'  => array(
							'cat'  => esc_html__( 'Category', 'glaza' ),
							'date' => esc_html__( 'Date', 'glaza' ),
						),
						'disabled' => array(

							'author'  => esc_html__( 'Author', 'glaza' ),
							'tag'     => esc_html__( 'Tag', 'glaza' ),
							'view'    => esc_html__( 'View', 'glaza' ),
							'comment' => esc_html__( 'Comment', 'glaza' )
						)
					),
				),
				array(
					'id'       => 'single_post_author_info',
					'type'     => 'switch',
					'title'    => esc_html__( 'Author Info', 'glaza' ),
					'subtitle' => esc_html__( 'enable or disable author information at the top of header.', 'glaza' ),
					'switch'   => true,
					'default'  => 1
				),
				array(
					'id'       => 'single_post_big_avatar',
					'type'     => 'switch',
					'title'    => esc_html__( 'Avatar Icon', 'glaza' ),
					'subtitle' => esc_html__( 'enable or disable avatar icon.', 'glaza' ),
					'switch'   => true,
					'default'  => 1
				),
				array(
					'id'       => 'single_post_video_autoplay',
					'type'     => 'switch',
					'title'    => esc_html__( 'Auto Play Post Video', 'glaza' ),
					'subtitle' => esc_html__( 'enable or disable auto play for video post format.', 'glaza' ),
					'switch'   => true,
					'default'  => 1
				),
				array(
					'id'       => 'single_post_embed_responsive',
					'type'     => 'switch',
					'title'    => esc_html__( 'Embed/Iframe Responsive', 'glaza' ),
					'subtitle' => esc_html__( 'enable or disable iframe responsive in the single post content.', 'glaza' ),
					'switch'   => true,
					'default'  => 1
				),
				array(
					'id'     => 'section_end_single_meta_info',
					'type'   => 'section',
					'class'  => 'ruby-section-end',
					'indent' => false
				),
				array(
					'id'     => 'section_start_single_post_box',
					'type'   => 'section',
					'class'  => 'ruby-section-start',
					'title'  => esc_html__( 'Box/Section Options', 'glaza' ),
					'indent' => true
				),
				array(
					'id'       => 'single_post_tag',
					'type'     => 'switch',
					'title'    => esc_html__( 'Tags Bar', 'glaza' ),
					'subtitle' => esc_html__( 'enable or disable the tags bar at the bottom of the post content.', 'glaza' ),
					'switch'   => true,
					'default'  => 1
				),
				array(
					'id'       => 'single_post_source',
					'type'     => 'switch',
					'title'    => esc_html__( 'Source Bar', 'glaza' ),
					'subtitle' => esc_html__( 'enable or disable the source bar at the bottom of the post content.', 'glaza' ),
					'switch'   => true,
					'default'  => 1
				),
				array(
					'id'       => 'single_post_via',
					'type'     => 'switch',
					'title'    => esc_html__( 'Via Bar', 'glaza' ),
					'subtitle' => esc_html__( 'enable or disable the via bar at the bottom of the post content.', 'glaza' ),
					'switch'   => true,
					'default'  => 1
				),
				array(
					'id'       => 'single_post_navigation',
					'type'     => 'switch',
					'title'    => esc_html__( 'Next/Prev Navigation', 'glaza' ),
					'subtitle' => esc_html__( 'enable or disable the next/previous link navigation in single post pages.', 'glaza' ),
					'switch'   => true,
					'default'  => 1
				),
				array(
					'id'       => 'single_post_author',
					'type'     => 'switch',
					'title'    => esc_html__( 'Author Card Box', 'glaza' ),
					'subtitle' => esc_html__( 'enable or disable the author card in single post page.', 'glaza' ),
					'desc'     => esc_html__( 'The author card box requests author information (Users > Your profiles) for displaying.', 'glaza' ),
					'switch'   => true,
					'default'  => 1
				),
				array(
					'id'       => 'single_post_like',
					'type'     => 'switch',
					'title'    => esc_html__( 'LIKE/TWEET/G+ Buttons', 'glaza' ),
					'subtitle' => esc_html__( 'enable or disable post like/tweet/g+ buttons at the bottom of post contents.', 'glaza' ),
					'switch'   => true,
					'default'  => 0
				),
				array(
					'id'       => 'single_post_comment_btn',
					'type'     => 'switch',
					'title'    => esc_html__( 'Show/Hide Comment Button', 'glaza' ),
					'subtitle' => esc_html__( 'Enable or disable comment box buttons in the single post pages.', 'glaza' ),
					'switch'   => true,
					'default'  => 0
				),
				array(
					'id'     => 'section_end_single_post_box',
					'type'   => 'section',
					'class'  => 'ruby-section-end',
					'indent' => false
				),
				//review box
				array(
					'id'     => 'section_start_single_review',
					'type'   => 'section',
					'class'  => 'ruby-section-start',
					'title'  => esc_html__( 'Review Box Options', 'glaza' ),
					'indent' => true
				),
				array(
					'id'       => 'single_review_box_position',
					'title'    => esc_html__( 'Review Box Position', 'glaza' ),
					'subtitle' => esc_html__( 'Select position for review boxes in single post pages.', 'glaza' ),
					'type'     => 'image_select',
					'options'  => glaza_config_review_position(),
					'default'  => 'bottom'
				),
				array(
					'id'     => 'section_end_single_review',
					'type'   => 'section',
					'class'  => 'ruby-section-end',
					'indent' => false
				),
			),
		);
	}
}


/**
 * @return array
 * single layout
 */
if ( ! function_exists( 'glaza_theme_options_single_post_layout' ) ) {
	function glaza_theme_options_single_post_layout() {

		return array(
			'title'      => esc_html__( 'Layout Options', 'glaza' ),
			'id'         => 'glaza_config_section_single_post_layout',
			'desc'       => esc_html__( 'Select default layout for the single post page, this option will apply to all single posts page. You can set an individual layout for each post in the post editor page.', 'glaza' ),
			'icon'       => 'el el-laptop',
			'subsection' => true,
			'fields'     => array(
				array(
					'id'     => 'section_start_section_single_layout',
					'type'   => 'section',
					'class'  => 'ruby-section-start',
					'title'  => esc_html__( 'Layout Options', 'glaza' ),
					'indent' => true
				),
				array(
					'id'       => 'single_post_layout',
					'type'     => 'image_select',
					'title'    => esc_html__( 'Single Layout', 'glaza' ),
					'subtitle' => esc_html__( 'select a default layout for the single post pages.', 'glaza' ),
					'options'  => glaza_config_single_post_layout(),
					'default'  => '1',
				),
				array(
					'id'       => 'single_feat_size',
					'type'     => 'select',
					'title'    => esc_html__( 'Featured Image Size', 'glaza' ),
					'subtitle' => esc_html__( 'select size for the featured image, this option will apply to all single post layouts.', 'glaza' ),
					'options'  => array(
						'full' => esc_html__( 'Full Size', 'glaza' ),
						'crop' => esc_html__( 'Crop Size', 'glaza' )
					),
					'default'  => 'full',
				),
				array(
					'id'     => 'section_end_section_single_layout',
					'type'   => 'section',
					'class'  => 'ruby-section-end',
					'indent' => false
				),
				array(
					'id'     => 'section_start_section_single_gallery_layout',
					'type'   => 'section',
					'class'  => 'ruby-section-start',
					'title'  => esc_html__( 'Gallery Format Options', 'glaza' ),
					'indent' => true
				),
				array(
					'id'       => 'single_post_gallery_layout',
					'type'     => 'select',
					'title'    => esc_html__( 'Gallery Layout', 'glaza' ),
					'subtitle' => esc_html__( 'select a default layout for gallery post format.', 'glaza' ),
					'options'  => array(
						'list'  => esc_html__( 'List Images', 'glaza' ),
						'slide' => esc_html__( 'Slider', 'glaza' )
					),
					'default'  => 'list'
				),
				array(
					'id'     => 'section_end_section_single_gallery_layout',
					'type'   => 'section',
					'class'  => 'ruby-section-end',
					'indent' => false
				),
				array(
					'id'     => 'section_start_section_single_sidebar',
					'type'   => 'section',
					'class'  => 'ruby-section-start',
					'title'  => esc_html__( 'Sidebar Options', 'glaza' ),
					'indent' => true
				),
				array(
					'id'       => 'single_post_sidebar_name',
					'type'     => 'select',
					'title'    => esc_html__( 'Single Sidebar Name', 'glaza' ),
					'subtitle' => esc_html__( 'select a sidebar for single post pages, this option will apply to all single posts pages. You can set an individual sidebar for each post in the post editor page.', 'glaza' ),
					'options'  => glaza_config_sidebar_name(),
					'default'  => 'glaza_sidebar_default'
				),
				array(
					'id'       => 'single_post_sidebar_position',
					'type'     => 'image_select',
					'title'    => esc_html__( 'Single Sidebar Position', 'glaza' ),
					'subtitle' => esc_html__( 'select sidebar position for single post pages, this option will override default sidebar position option and will apply to all single post pages, You can set an individual sidebar position for each post in the post editor page.', 'glaza' ),
					'options'  => glaza_config_sidebar_position(),
					'default'  => 'default'
				),
				array(
					'id'     => 'section_end_single_post_sidebar',
					'type'   => 'section',
					'class'  => 'ruby-section-end no-border',
					'indent' => false
				)
			)
		);
	}
}


//single shares
if ( ! function_exists( 'glaza_theme_options_single_post_share' ) ) {
	function glaza_theme_options_single_post_share() {

		return array(
			'title'      => esc_html__( 'Share on Socials', 'glaza' ),
			'id'         => 'glaza_config_section_single_post_share',
			'desc'       => esc_html__( 'select share on socials options for single post pages at the top and the bottom of post content', 'glaza' ),
			'icon'       => 'el el-share',
			'subsection' => true,
			'fields'     => array(
				array(
					'id'     => 'section_start_single_post_social_top',
					'type'   => 'section',
					'class'  => 'ruby-section-start',
					'title'  => esc_html__( 'Top Position Options', 'glaza' ),
					'indent' => true
				),
				array(
					'id'       => 'share_top_facebook',
					'type'     => 'switch',
					'title'    => esc_html__( 'Share on Facebook', 'glaza' ),
					'subtitle' => esc_html__( 'enable or disable share on Facebook.', 'glaza' ),
					'switch'   => true,
					'default'  => 1
				),
				array(
					'id'       => 'share_top_twitter',
					'type'     => 'switch',
					'title'    => esc_html__( 'Share on Twitter', 'glaza' ),
					'subtitle' => esc_html__( 'enable or disable share on Twitter.', 'glaza' ),
					'switch'   => true,
					'default'  => 1
				),
				array(
					'id'       => 'share_top_googleplus',
					'type'     => 'switch',
					'title'    => esc_html__( 'Share on Google Plus', 'glaza' ),
					'subtitle' => esc_html__( 'enable or disable share on Google plus.', 'glaza' ),
					'switch'   => true,
					'default'  => 0
				),
				array(
					'id'       => 'share_top_pinterest',
					'type'     => 'switch',
					'title'    => esc_html__( 'Share on Pinterest', 'glaza' ),
					'subtitle' => esc_html__( 'enable or disable share on Pinterest.', 'glaza' ),
					'switch'   => true,
					'default'  => 1
				),
				array(
					'id'       => 'share_top_linkedin',
					'type'     => 'switch',
					'title'    => esc_html__( 'Share on LinkedIn', 'glaza' ),
					'subtitle' => esc_html__( 'enable or disable share on LinkedIn.', 'glaza' ),
					'switch'   => true,
					'default'  => 0
				),
				array(
					'id'       => 'share_top_tumblr',
					'type'     => 'switch',
					'title'    => esc_html__( 'Share on Tumblr', 'glaza' ),
					'subtitle' => esc_html__( 'enable or disable share on Tumblr.', 'glaza' ),
					'switch'   => true,
					'default'  => 0
				),
				array(
					'id'       => 'share_top_reddit',
					'type'     => 'switch',
					'title'    => esc_html__( 'Share on Reddit', 'glaza' ),
					'subtitle' => esc_html__( 'enable or disable share on Reddit.', 'glaza' ),
					'switch'   => true,
					'default'  => 0
				),
				array(
					'id'       => 'share_top_vk',
					'type'     => 'switch',
					'title'    => esc_html__( 'Share on Vkontakte', 'glaza' ),
					'subtitle' => esc_html__( 'enable or disable share on Vkontakte.', 'glaza' ),
					'switch'   => true,
					'default'  => 0
				),
				array(
					'id'       => 'share_top_email',
					'type'     => 'switch',
					'title'    => esc_html__( 'Share on Email', 'glaza' ),
					'subtitle' => esc_html__( 'enable or disable share on Email.', 'glaza' ),
					'switch'   => true,
					'default'  => 1
				),
				array(
					'id'     => 'section_end_single_post_social_top',
					'type'   => 'section',
					'class'  => 'ruby-section-end',
					'indent' => false
				),
				array(
					'id'     => 'section_start_single_post_social_bottom',
					'type'   => 'section',
					'class'  => 'ruby-section-start',
					'title'  => esc_html__( 'Bottom Position Options', 'glaza' ),
					'indent' => true
				),
				array(
					'id'       => 'share_bottom_facebook',
					'type'     => 'switch',
					'title'    => esc_html__( 'Share on Facebook', 'glaza' ),
					'subtitle' => esc_html__( 'enable or disable share on Facebook.', 'glaza' ),
					'switch'   => true,
					'default'  => 1
				),
				array(
					'id'       => 'share_bottom_twitter',
					'type'     => 'switch',
					'title'    => esc_html__( 'Share on Twitter', 'glaza' ),
					'subtitle' => esc_html__( 'enable or disable share on Twitter.', 'glaza' ),
					'switch'   => true,
					'default'  => 1
				),
				array(
					'id'       => 'share_bottom_googleplus',
					'type'     => 'switch',
					'title'    => esc_html__( 'Share on Google Plus', 'glaza' ),
					'subtitle' => esc_html__( 'enable or disable share on Google Plus.', 'glaza' ),
					'switch'   => true,
					'default'  => 1
				),
				array(
					'id'       => 'share_bottom_pinterest',
					'type'     => 'switch',
					'title'    => esc_html__( 'Share on Pinterest', 'glaza' ),
					'subtitle' => esc_html__( 'enable or disable share on Pinterest.', 'glaza' ),
					'switch'   => true,
					'default'  => 1
				),
				array(
					'id'       => 'share_bottom_linkedin',
					'type'     => 'switch',
					'title'    => esc_html__( 'Share on LinkedIn', 'glaza' ),
					'subtitle' => esc_html__( 'enable or disable share on LinkedIn.', 'glaza' ),
					'switch'   => true,
					'default'  => 1
				),
				array(
					'id'       => 'share_bottom_tumblr',
					'type'     => 'switch',
					'title'    => esc_html__( 'Share on Tumblr', 'glaza' ),
					'subtitle' => esc_html__( 'enable or disable share on Tumblr.', 'glaza' ),
					'switch'   => true,
					'default'  => 1
				),
				array(
					'id'       => 'share_bottom_reddit',
					'type'     => 'switch',
					'title'    => esc_html__( 'Share on Reddit', 'glaza' ),
					'subtitle' => esc_html__( 'enable or disable share on Reddit.', 'glaza' ),
					'switch'   => true,
					'default'  => 1
				),
				array(
					'id'       => 'share_bottom_vk',
					'type'     => 'switch',
					'title'    => esc_html__( 'Share on Vkontakte', 'glaza' ),
					'subtitle' => esc_html__( 'enable or disable share on Vkontakte.', 'glaza' ),
					'switch'   => true,
					'default'  => 1
				),
				array(
					'id'       => 'share_bottom_email',
					'type'     => 'switch',
					'title'    => esc_html__( 'Share on Email', 'glaza' ),
					'subtitle' => esc_html__( 'enable or disable share on Email.', 'glaza' ),
					'switch'   => true,
					'default'  => 1
				),
				array(
					'id'     => 'section_end_single_post_social_bottom',
					'type'   => 'section',
					'class'  => 'ruby-section-end',
					'indent' => false
				),
				array(
					'id'     => 'section_start_single_post_social_left',
					'type'   => 'section',
					'class'  => 'ruby-section-start',
					'title'  => esc_html__( 'Fixed Left Position Options', 'glaza' ),
					'indent' => true
				),
				array(
					'id'       => 'share_left_facebook',
					'type'     => 'switch',
					'title'    => esc_html__( 'Share on Facebook', 'glaza' ),
					'subtitle' => esc_html__( 'enable or disable share on Facebook.', 'glaza' ),
					'switch'   => true,
					'default'  => 1
				),
				array(
					'id'       => 'share_left_twitter',
					'type'     => 'switch',
					'title'    => esc_html__( 'Share on Twitter', 'glaza' ),
					'subtitle' => esc_html__( 'enable or disable share on Twitter.', 'glaza' ),
					'switch'   => true,
					'default'  => 1
				),
				array(
					'id'       => 'share_left_googleplus',
					'type'     => 'switch',
					'title'    => esc_html__( 'Share on Google Plus', 'glaza' ),
					'subtitle' => esc_html__( 'enable or disable share on Google plus.', 'glaza' ),
					'switch'   => true,
					'default'  => 0
				),
				array(
					'id'       => 'share_left_pinterest',
					'type'     => 'switch',
					'title'    => esc_html__( 'Share on Pinterest', 'glaza' ),
					'subtitle' => esc_html__( 'enable or disable share on Pinterest.', 'glaza' ),
					'switch'   => true,
					'default'  => 1
				),
				array(
					'id'       => 'share_left_linkedin',
					'type'     => 'switch',
					'title'    => esc_html__( 'Share on LinkedIn', 'glaza' ),
					'subtitle' => esc_html__( 'enable or disable share on LinkedIn.', 'glaza' ),
					'switch'   => true,
					'default'  => 0
				),
				array(
					'id'       => 'share_left_tumblr',
					'type'     => 'switch',
					'title'    => esc_html__( 'Share on Tumblr', 'glaza' ),
					'subtitle' => esc_html__( 'enable or disable share on Tumblr.', 'glaza' ),
					'switch'   => true,
					'default'  => 0
				),
				array(
					'id'       => 'share_left_reddit',
					'type'     => 'switch',
					'title'    => esc_html__( 'Share on Reddit', 'glaza' ),
					'subtitle' => esc_html__( 'enable or disable share on Reddit.', 'glaza' ),
					'switch'   => true,
					'default'  => 0
				),
				array(
					'id'       => 'share_left_vk',
					'type'     => 'switch',
					'title'    => esc_html__( 'Share on Vkontakte', 'glaza' ),
					'subtitle' => esc_html__( 'enable or disable share on Vkontakte.', 'glaza' ),
					'switch'   => true,
					'default'  => 0
				),
				array(
					'id'       => 'share_left_email',
					'type'     => 'switch',
					'title'    => esc_html__( 'Share on Email', 'glaza' ),
					'subtitle' => esc_html__( 'enable or disable share on Email.', 'glaza' ),
					'switch'   => true,
					'default'  => 1
				),
				array(
					'id'     => 'section_end_single_post_social_left',
					'type'   => 'section',
					'class'  => 'ruby-section-end no-border',
					'indent' => false
				),
			)
		);
	}
}

/**
 * @return array
 * single related
 */
if ( ! function_exists( 'glaza_theme_options_single_post_related' ) ) {
	function glaza_theme_options_single_post_related() {
		return array(
			'title'      => esc_html__( 'Related Box Options', 'glaza' ),
			'id'         => 'glaza_config_section_single_post_related',
			'desc'       => esc_html__( 'select options for related boxes.', 'glaza' ),
			'icon'       => 'el el-paper-clip ',
			'subsection' => true,
			'fields'     => array(
				array(
					'id'     => 'section_start_single_post_box_related',
					'type'   => 'section',
					'class'  => 'ruby-section-start',
					'title'  => esc_html__( 'Single - Related Box Options', 'glaza' ),
					'indent' => true
				),
				array(
					'id'       => 'single_post_box_related',
					'type'     => 'switch',
					'title'    => esc_html__( 'Related Box', 'glaza' ),
					'subtitle' => esc_html__( 'enable or disable the related box in single post pages.', 'glaza' ),
					'switch'   => true,
					'default'  => 1
				),
				array(
					'id'       => 'single_post_box_related_title',
					'type'     => 'text',
					'required' => array( 'single_post_box_related', '=', '1' ),
					'title'    => esc_html__( 'Related Title', 'glaza' ),
					'subtitle' => esc_html__( 'input a title for the related box.', 'glaza' ),
					'default'  => esc_html__( 'You Might Also Like', 'glaza' ),
				),
				array(
					'id'       => 'single_post_box_related_layout',
					'type'     => 'select',
					'required' => array( 'single_post_box_related', '=', '1' ),
					'title'    => esc_html__( 'Related Box Layout', 'glaza' ),
					'subtitle' => esc_html__( 'select a layout for the related box.', 'glaza' ),
					'options'  => array(
						'grid-1' => esc_html__( 'Default - Grid', 'glaza' ),
						'grid-2' => esc_html__( 'Grid Overlay', 'glaza' ),
						'list'   => esc_html__( 'List', 'glaza' ),
					),
					'default'  => 'grid-1'
				),
				array(
					'id'       => 'single_post_box_related_where',
					'type'     => 'select',
					'required' => array( 'single_post_box_related', '=', '1' ),
					'title'    => esc_html__( 'Related Filter', 'glaza' ),
					'subtitle' => esc_html__( 'What posts should be displayed in the related box.', 'glaza' ),
					'options'  => array(
						'all' => esc_html__( 'Same Tags & Categories', 'glaza' ),
						'tag' => esc_html__( 'Same Tags', 'glaza' ),
						'cat' => esc_html__( 'Same Categories', 'glaza' ),
					),
					'default'  => 'all'
				),
				array(
					'id'       => 'single_post_box_related_num',
					'type'     => 'text',
					'class'    => 'small-text',
					'validate' => 'numeric',
					'required' => array( 'single_post_box_related', '=', '1' ),
					'title'    => esc_html__( 'Number of Posts', 'glaza' ),
					'subtitle' => esc_html__( 'select number of posts to show at once.', 'glaza' ),
					'default'  => 6
				),
				array(
					'id'       => 'single_post_related_pagination',
					'title'    => esc_html__( 'Related Ajax Pagination', 'glaza' ),
					'subtitle' => esc_html__( 'select a pagination type for the related block.', 'glaza' ),
					'type'     => 'select',
					'required' => array( 'single_post_box_related', '=', '1' ),
					'options'  => array(
						'loadmore' => esc_html__( 'Default - Load More Button', 'glaza' ),
						'none'     => esc_html__( ' None', 'glaza' ),
					),
					'default'  => 'loadmore'
				),
				array(
					'id'     => 'section_end_single_post_box_related',
					'type'   => 'section',
					'class'  => 'ruby-section-end no-border',
					'indent' => false
				)
			)
		);
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit