<?php
/*
 * Sidebar Section
*/

$sections[] = array(
  'title' => esc_html__('Sidebar', 'luxe'),
  'desc' => esc_html__('Change the sidebar and configure it.', 'luxe'),
  'icon' => 'fa fa-trello',
  'fields' => array(
    array(
      'id'        => 'main-layout-local',
      'type'      => 'select',
      'compiler'  => true,
      'title'     => esc_html__('Main Layout', 'luxe'),
      'subtitle'  => esc_html__('Select main content and 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'   => '',
    ),
    array(
      'id'        => 'sidebar-local',
      'type'      => 'select',
      'title'     => esc_html__('Sidebar', 'luxe'),
      'subtitle'  => esc_html__('Select custom sidebar', 'luxe'),
      'options'   => luxe_get_custom_sidebars_list(),
      'default'   => '',
      'required'  => array('main-layout-local', 'equals', array('left_sidebar', 'right_sidebar')),
    ),

  ),
);
