<?php
$recipe->addSubSection( array(
	'name'     => esc_html__( 'Recipe Page', 'cakeart' ),
	'id'       => 'recipe_single',
	'position' => 2,
) );


$recipe->createOption( array(
	'name'    => esc_html__( 'Select Layout Default', 'cakeart' ),
	'id'      => 'recipe_single_layout',
	'type'    => 'radio-image',
	'options' => array(
		'full-content'  => $url . 'body-full.png',
		'sidebar-left'  => $url . 'sidebar-left.png',
		'sidebar-right' => $url . 'sidebar-right.png'
	),
	'default' => 'sidebar-right'
) );


$recipe->createOption( array(
	'name'    => esc_html__( 'Hide Title', 'cakeart' ),
	'id'      => 'recipe_single_hide_title',
	'type'    => 'checkbox',
	'desc'    => esc_html__( 'Check this box to hide/show title', 'cakeart' ),
	'default' => false,
) );

$recipe->createOption( array(
	'name'        => esc_html__( 'Top Image', 'cakeart' ),
	'id'          => 'recipe_single_top_image',
	'type'        => 'upload',
	'desc'        => esc_html__( 'Upload a top image file for header', 'cakeart' ),
	'livepreview' => ''
) );

$recipe->createOption( array(
	'name'        => esc_html__( 'Background Heading Color', 'cakeart' ),
	'id'          => 'recipe_single_heading_bg_color',
	'type'        => 'color-opacity',
	'livepreview' => ''
) );

$recipe->createOption( array(
	'name'    => esc_html__( 'Text Color Heading', 'cakeart' ),
	'id'      => 'recipe_single_heading_text_color',
	'type'    => 'color-opacity',
	'default' => '#e47277',
) );

$recipe->createOption( array(
	'name'    => esc_html__( 'Title', 'cakeart' ),
	'id'      => 'recipe_single_title',
	'type'    => 'text',
	'default' => '',
) );

$recipe->createOption( array(
	'name'    => esc_html__( 'sub Title', 'cakeart' ),
	'id'      => 'recipe_single_sub_title',
	'type'    => 'text',
	'default' => '',
) );

