HEX
Server: Apache/2.4.34 (Red Hat) OpenSSL/1.0.2k-fips
System: Linux WORDPRESS 3.10.0-1160.118.1.el7.x86_64 #1 SMP Thu Apr 4 03:33:23 EDT 2024 x86_64
User: digital (1020)
PHP: 7.2.24
Disabled: NONE
Upload Files
File: /datos/www/expodubai.colombia.co/wp-content/themes/osapaOld/inc/advanceoptions/product_options.php
<?php 
$options = array();
global $osapa_default_sidebars;
$sidebar_options = array(
	'0'	=> esc_html__('Default', 'osapa')
);
foreach( $osapa_default_sidebars as $key => $_sidebar ){
	$sidebar_options[$_sidebar['id']] = $_sidebar['name'];
}

$options[] = array(
	'id'		=> 'prod_layout_heading'
	,'label'	=> esc_html__('Product Layout', 'osapa')
	,'desc'		=> ''
	,'type'		=> 'heading'
);

$options[] = array(
	'id'		=> 'prod_layout'
	,'label'	=> esc_html__('Product Layout', 'osapa')
	,'desc'		=> ''
	,'type'		=> 'select'
	,'options'	=> array(
		'0'			=> esc_html__('Default', 'osapa')
		,'0-1-0'  	=> esc_html__('Fullwidth', 'osapa')
		,'1-1-0' 	=> esc_html__('Left Sidebar', 'osapa')
		,'0-1-1' 	=> esc_html__('Right Sidebar', 'osapa')
		,'1-1-1' 	=> esc_html__('Left & Right Sidebar', 'osapa')
	)
);

$options[] = array(
	'id'		=> 'prod_left_sidebar'
	,'label'	=> esc_html__('Left Sidebar', 'osapa')
	,'desc'		=> ''
	,'type'		=> 'select'
	,'options'	=> $sidebar_options
);

$options[] = array(
	'id'		=> 'prod_right_sidebar'
	,'label'	=> esc_html__('Right Sidebar', 'osapa')
	,'desc'		=> ''
	,'type'		=> 'select'
	,'options'	=> $sidebar_options
);

$options[] = array(
	'id'		=> 'prod_custom_tab_heading'
	,'label'	=> esc_html__('Custom Tab', 'osapa')
	,'desc'		=> ''
	,'type'		=> 'heading'
);

$options[] = array(
	'id'		=> 'prod_custom_tab'
	,'label'	=> esc_html__('Custom Tab', 'osapa')
	,'desc'		=> ''
	,'type'		=> 'select'
	,'options'	=> array(
		'0'		=> esc_html__('Default', 'osapa')
		,'1'	=> esc_html__('Override', 'osapa')
	)
);

$options[] = array(
	'id'		=> 'prod_custom_tab_title'
	,'label'	=> esc_html__('Custom Tab Title', 'osapa')
	,'desc'		=> ''
	,'type'		=> 'text'
);

$options[] = array(
	'id'		=> 'prod_custom_tab_content'
	,'label'	=> esc_html__('Custom Tab Content', 'osapa')
	,'desc'		=> ''
	,'type'		=> 'textarea'
);

$options[] = array(
	'id'		=> 'prod_size_chart_heading'
	,'label'	=> esc_html__('Product Size Chart', 'osapa')
	,'desc'		=> ''
	,'type'		=> 'heading'
);

$options[] = array(
	'id'		=> 'show_size_chart'
	,'label'	=> esc_html__('Show Size Chart', 'osapa')
	,'desc'		=> esc_html__('You can show or hide Size Chart for all product on Theme Option > Product Detail', 'osapa')
	,'type'		=> 'select'
	,'options'	=> array(
		'1'		=> esc_html__('Show', 'osapa')
		,'0'	=> esc_html__('Hide', 'osapa')
	)
);

$options[] = array(
	'id'		=> 'prod_size_chart'
	,'label'	=> esc_html__('Size Chart Image', 'osapa')
	,'desc'		=> esc_html__('You can upload size chart image for product', 'osapa')
	,'type'		=> 'upload'
);	

$options[] = array(
	'id'		=> 'prod_breadcrumb_heading'
	,'label'	=> esc_html__('Breadcrumbs', 'osapa')
	,'desc'		=> ''
	,'type'		=> 'heading'
);

$options[] = array(
	'id'		=> 'bg_breadcrumbs'
	,'label'	=> esc_html__('Breadcrumb Background Image', 'osapa')
	,'desc'		=> ''
	,'type'		=> 'upload'
);

$options[] = array(
	'id'		=> 'prod_video_heading'
	,'label'	=> esc_html__('Video', 'osapa')
	,'desc'		=> ''
	,'type'		=> 'heading'
);

$options[] = array(
	'id'		=> 'prod_video_url'
	,'label'	=> esc_html__('Video URL', 'osapa')
	,'desc'		=> esc_html__('Enter Youtube or Vimeo video URL', 'osapa')
	,'type'		=> 'text'
);		
?>