<?php

return array(
	'title'      => esc_html__( 'Single Post Settings', 'inventive' ),
	'id'         => 'single_post_setting',
	'desc'       => '',
	'subsection' => true,
	'fields'     => array(
		array(
			'id'      => 'single_source_type',
			'type'    => 'button_set',
			'title'   => esc_html__( 'Single Post Source Type', 'inventive' ),
			'options' => array(
				'd' => esc_html__( 'Default', 'inventive' ),
				'e' => esc_html__( 'Elementor', 'inventive' ),
			),
			'default' => 'd',
		),
		
		array(
			'id'       => 'single_default_st',
			'type'     => 'section',
			'title'    => esc_html__( 'Post Default', 'inventive' ),
			'indent'   => true,
			'required' => [ 'single_source_type', '=', 'd' ],
		),
		array(
			'id'      => 'single_post_date',
			'type'    => 'switch',
			'title'   => esc_html__( 'Show Date', 'inventive' ),
			'desc'    => esc_html__( 'Enable to show post publish date on posts detail page', 'inventive' ),
			'default' => true,
		),
		array(
			'id'      => 'single_post_author',
			'type'    => 'switch',
			'title'   => esc_html__( 'Show Author', 'inventive' ),
			'desc'    => esc_html__( 'Enable to show author on posts detail page', 'inventive' ),
			'default' => true,
		),
		array(
			'id'      => 'single_post_comments',
			'type'    => 'switch',
			'title'   => esc_html__( 'Show Comments', 'inventive' ),
			'desc'    => esc_html__( 'Enable to show number of comments on posts single page', 'inventive' ),
			'default' => true,
		),
		array(
			'id'      => 'facebook_sharing',
			'type'    => 'switch',
			'title'   => esc_html__( 'Show Facebook Post Share', 'inventive' ),
			'desc'    => esc_html__( 'Enable to show Post Share to Facebook', 'inventive' ),
			'default' => false,
		),
		array(
			'id'      => 'twitter_sharing',
			'type'    => 'switch',
			'title'   => esc_html__( 'Show Twitter Post Share', 'inventive' ),
			'desc'    => esc_html__( 'Enable to show Post Share to Twitter', 'inventive' ),
			'default' => false,
		),
		array(
			'id'      => 'linkedin_sharing',
			'type'    => 'switch',
			'title'   => esc_html__( 'Show Linkedin Post Share', 'inventive' ),
			'desc'    => esc_html__( 'Enable to show Post Share to Linkedin', 'inventive' ),
			'default' => false,
		),
		array(
			'id'      => 'pinterest_sharing',
			'type'    => 'switch',
			'title'   => esc_html__( 'Show Pinterest Post Share', 'inventive' ),
			'desc'    => esc_html__( 'Enable to show Post Share to Pinterest', 'inventive' ),
			'default' => false,
		),
		array(
			'id'      => 'single_post_author_box',
			'type'    => 'switch',
			'title'   => esc_html__( 'Show Author Box', 'inventive' ),
			'desc'    => esc_html__( 'Enable to show author box on post detail page.', 'inventive' ),
			'default' => false,
		),
				
		array(
			'id'       => 'single_section_default_ed',
			'type'     => 'section',
			'indent'   => false,
			'required' => [ 'single_source_type', '=', 'd' ],
		),
	),
);





