<?php
/*
 * Front page displays settings: Posts page
 */
$display->addSubSection( array(
	'name'     => esc_html__( 'Frontpage', 'cakeart' ),
	'id'       => 'display_frontpage',
	'position' => 1,
) );

$display->createOption( array(
	'name'    => esc_html__( 'Front Page Layout', 'cakeart' ),
	'id'      => 'front_page_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' => 'sidebar-left'
) );

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

$display->createOption( array(
	'name'        => esc_html__( 'Top Image', 'cakeart' ),
	'id'          => 'front_page_top_image',
	'type'        => 'upload',
	'desc'        => esc_html__( 'Enter URL or Upload an top image file for header', 'cakeart' ),
	'livepreview' => ''
) );

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

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

$display->createOption( array(
	'name'    => esc_html__( 'Custom Title', 'cakeart' ),
	'id'      => 'front_page_custom_title',
	'type'    => 'text',
	'default' => '',
) );
$display->createOption( array(
	'name'    => esc_html__( 'sub Title', 'cakeart' ),
	'id'      => 'front_page_sub_title',
	'type'    => 'text',
	'default' => '',
) );
