<?php
/*
 * Advanced
*/
$this->sections[] = array(
  'title' => esc_html__('Blog Single Posts', 'luxe'),
  'desc' => esc_html__('Blog single posts confugration.', 'luxe'),
  'icon'  => 'fa fa-newspaper-o',
  'fields' => array(
    array(
      'id'        => 'blog-single-layout',
      'type'      => 'select',
      'compiler'  => true,
      'title'     => esc_html__('Layout', 'luxe'),
      'subtitle'  => esc_html__('Select sidebar alignment. Choose between 1 or 2 column layout.', 'luxe'),
      'options'   => array(
        'default'       => esc_html__('1 Column', 'luxe'),
        'left_sidebar'  => esc_html__('2 - Columns Left', 'luxe'),
        'right_sidebar' => esc_html__('2 - Columns Right', 'luxe'),
      ),
      'default'   => 'default',
    ),
    array(
      'id'        => 'blog-sidebar',
      'type'      => 'select',
      'title'     => esc_html__('Sidebar', 'luxe'),
      'subtitle'  => esc_html__('Select custom sidebar', 'luxe'),
      'options'   => luxe_get_custom_sidebars_list(),
      'default'   => '',
      'required'  => array('blog-single-layout', 'equals', array('left_sidebar', 'right_sidebar')),
    ),
    array(
      'id' => 'single-post-author-avatar',
      'type'   => 'switch',
      'title' => esc_html__('Author Avatar', 'luxe'),
      'subtitle'=> esc_html__('If on, this layout part will be displayed.', 'luxe'),
      'options' => array(
        '1' => 'On',
        '0' => 'Off',
      ),
      'default' => '1',
    ),
    array(
      'id' => 'single-post-author-name',
      'type'   => 'switch',
      'title' => esc_html__('Author Name', 'luxe'),
      'subtitle'=> esc_html__('If on, this layout part will be displayed.', 'luxe'),
      'options' => array(
        '1' => 'On',
        '0' => 'Off',
      ),
      'default' => '1',
    ),
    array(
      'id' => 'single-post-post-date',
      'type'   => 'switch',
      'title' => esc_html__('Date', 'luxe'),
      'subtitle'=> esc_html__('If on, this layout part will be displayed.', 'luxe'),
      'options' => array(
        '1' => 'On',
        '0' => 'Off',
      ),
      'default' => '1',
    ),
    array(
      'id' => 'single-post-tags',
      'type'   => 'switch',
      'title' => esc_html__('Tags', 'luxe'),
      'subtitle'=> esc_html__('If on, this layout part will be displayed.', 'luxe'),
      'options' => array(
        '1' => 'On',
        '0' => 'Off',
      ),
      'default' => '1',
    ),

  ), // #fields
);
