<?php

// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}






function shrk_get_meta_options() {
	$meta_options = array(); 

	// for Pages		
	$meta_options['page'] = array( 
		'general_page_settings' => array(
			"ms_label" => 'General Page Settings',
			"ms_context"  => 'side',
			'ms_priority' => 'low',
			"ms_fields" => array(
				'page_layout' => array(  
					"name"    => esc_html__('Page layout', 'ux-shop'),
					"class"   => '',
					"desc"    => esc_html__('Select sidebar position and visibility', 'ux-shop'),
					'options' => array( 
						'default'       => 'Default',
						'no_sidebar'    => 'No Sidebar',
						'left_sidebar'  => 'Left Sidebar / Right Content',
						'right_sidebar' => 'Right Sidebar / Left Content'
					),
					'std'  => 'default',
					'type' => 'radio'
				),
				'header_transparent' => array(
					"name"    => esc_html__('Header style', 'ux-shop'),
					"class"   => '',
					"desc"    => esc_html__('Select between a transparent and a solid color header. The transparency will be applied only if there is a section visible on this page.', 'ux-shop'),
					'type'    => 'select',
					'options' => array(
						'default'   => 'Default',
						'solid'     => 'Solid Color',
						'1'         => 'Transparent',
						'no-header' => 'No header'
					)
				),
				'sidebar' => array(
					"name"  => esc_html__('Select Sidebar', 'ux-shop'),
					"class" => '',
					"desc"  => esc_html__('Select the sidebar for this post / page. You can add/remove custom sidebars under theme options: General \\ Sidebars.', 'ux-shop'),
					'type'  => 'select_sidebar' 
				),
			)
		)
	);

	// filter for the rest
	return apply_filters( 'shrk_filter_meta_options_array', $meta_options );
}

?>