<?php
$recipe->addSubSection( array(
	'name'     => esc_html__( 'Category Recipes', 'cakeart' ),
	'id'       => 'recipe_archive',
	'position' => 1,
) );

$recipe->createOption( array(
	'name'    => esc_html__( 'Archive Layout', 'cakeart' ),
	'id'      => 'recipe_cate_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' => 'full-content'
) );

$recipe->createOption( array(
	'name'    => esc_html__( 'Number recipe per page', 'cakeart' ),
	'id'      => 'recipe_cate_number_recipe_per_page',
	'type'    => 'number',
	'max'     => 100,
	'default' => '12'
) );

$recipe->createOption( array(
	'name'    => esc_html__( 'Number column', 'cakeart' ),
	'id'      => 'recipe_cate_number_column',
	'type'    => 'select',
	'options' => array(
		'2' => '2',
		'3' => '3',
		'4' => '4'
	),
	'default' => '4'
) );

$recipe->createOption( array(
	'name'    => esc_html__( 'Hide Title', 'cakeart' ),
	'id'      => 'recipe_cate_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_cate_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_cate_heading_bg_color',
	'type'        => 'color-opacity',
	'livepreview' => ''
) );

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

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

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