• File: opts-page.php
  • Full Path: /home/chassiw/www/wp-content/themes/indutri/includes/options/opts-page.php
  • File size: 1.7 KB
  • MIME-type: text/x-php
  • Charset: utf-8
<?php
Redux::setSection($opt_name, array(
   'icon' => 'el-icon-th-list',
   'title' => esc_html__('Page Options', 'indutri'),
   'fields' => array(
      array(
         'id' => 'default_show_page_heading',
         'type' => 'button_set',
         'title' => esc_html__('Default Show Page Heading', 'indutri'),
         'subtitle' => esc_html__('Choose the default state for the page heading, shown/hidden.', 'indutri'),
         'desc' => '',
         'options' => array('1' => 'On','0' => 'Off'),
         'default' => '1'
      ),
      array(
         'id' => 'default_sidebar_config',
         'type' => 'select',
         'title' => esc_html__('Default Page Sidebar Config', 'indutri'),
         'subtitle' => "Choose the default sidebar config for pages",
         'options' => array(
            'no-sidebars'     => 'No Sidebars',
            'left-sidebar'    => 'Left Sidebar',
            'right-sidebar'      => 'Right Sidebar',
            'both-sidebars'      => 'Both Sidebars'
         ),
         'desc' => '',
         'default' => 'no-sidebars'
      ),
      array(
         'id' => 'default_left_sidebar',
         'type' => 'select',
         'title' => esc_html__('Default Page Left Sidebar', 'indutri'),
         'subtitle' => "Choose the default left sidebar for pages",
         'data'      => 'sidebars',
         'desc' => '',
         'default' => 'sidebar-1'
      ),
      array(
         'id' => 'default_right_sidebar',
         'type' => 'select',
         'title' => esc_html__('Default Page Right Sidebar', 'indutri'),
         'subtitle' => "Choose the default right sidebar for pages",
         'data'      => 'sidebars',
         'desc' => '',
         'default' => 'sidebar-1'
      ),
   )
));