<?php
Redux::set_section( $opt_name, array(
'title' => esc_html__( 'Sidebar', 'atlas-core' ),
'heading' => '',
'id' => 'sidebar',
'icon' => 'el el-arrow-right',
'fields' => array(
array(
'id' => 'post_sidebar_template',
'type' => 'select',
'title' => esc_html__('Post sidebar template', 'atlas-core'),
'subtitle' => esc_html__('Select the post sidebar template.', 'atlas-core'),
'desc' => sprintf( esc_html__( 'You can create the post sidebar template from %1$ssidebar builder%2$s.', 'atlas-core' ), '<a target="_blank" href="' . admin_url('edit.php?post_type=th90_sidebar') . '"><strong>', '</strong></a>' ),
'options' => th90_get_query_post_list( 'th90_sidebar' ),
'placeholder' => esc_html__('Select sidebar', 'atlas-core'),
),
array(
'id' => 'page_sidebar_template',
'type' => 'select',
'title' => esc_html__('Page sidebar template', 'atlas-core'),
'subtitle' => esc_html__('Select the page sidebar template.', 'atlas-core'),
'desc' => sprintf( esc_html__( 'You can create the page sidebar template from %1$ssidebar builder%2$s.', 'atlas-core' ), '<a target="_blank" href="' . admin_url('edit.php?post_type=th90_sidebar') . '"><strong>', '</strong></a>' ),
'options' => th90_get_query_post_list( 'th90_sidebar' ),
'placeholder' => esc_html__('Select sidebar', 'atlas-core'),
),
array(
'id' => 'archive_sidebar_template',
'type' => 'select',
'title' => esc_html__('Archive sidebar template', 'atlas-core'),
'subtitle' => esc_html__('Select the archive sidebar template.', 'atlas-core'),
'desc' => sprintf( esc_html__( 'You can create the archive sidebar template from %1$ssidebar builder%2$s.', 'atlas-core' ), '<a target="_blank" href="' . admin_url('edit.php?post_type=th90_sidebar') . '"><strong>', '</strong></a>' ),
'options' => th90_get_query_post_list( 'th90_sidebar' ),
'placeholder' => esc_html__('Select sidebar', 'atlas-core'),
),
array(
'id' => 'search_sidebar_template',
'type' => 'select',
'title' => esc_html__('Search sidebar template', 'atlas-core'),
'subtitle' => esc_html__('Select the search sidebar template.', 'atlas-core'),
'desc' => sprintf( esc_html__( 'You can create the search sidebar template from %1$ssidebar builder%2$s.', 'atlas-core' ), '<a target="_blank" href="' . admin_url('edit.php?post_type=th90_sidebar') . '"><strong>', '</strong></a>' ),
'options' => th90_get_query_post_list( 'th90_sidebar' ),
'placeholder' => esc_html__('Select sidebar', 'atlas-core'),
),
array(
'id' => 'shop_sidebar_template',
'type' => 'select',
'title' => esc_html__('Shop sidebar template', 'atlas-core'),
'subtitle' => esc_html__('Select the shop sidebar template.', 'atlas-core'),
'desc' => sprintf( esc_html__( 'You can create the shop sidebar template from %1$ssidebar builder%2$s.', 'atlas-core' ), '<a target="_blank" href="' . admin_url('edit.php?post_type=th90_sidebar') . '"><strong>', '</strong></a>' ),
'options' => th90_get_query_post_list( 'th90_sidebar' ),
'placeholder' => esc_html__('Select sidebar', 'atlas-core'),
),
array(
'id' => 'product_sidebar_template',
'type' => 'select',
'title' => esc_html__('Product sidebar template', 'atlas-core'),
'subtitle' => esc_html__('Select the product sidebar template.', 'atlas-core'),
'desc' => sprintf( esc_html__( 'You can create the product sidebar template from %1$ssidebar builder%2$s.', 'atlas-core' ), '<a target="_blank" href="' . admin_url('edit.php?post_type=th90_sidebar') . '"><strong>', '</strong></a>' ),
'options' => th90_get_query_post_list( 'th90_sidebar' ),
'placeholder' => esc_html__('Select sidebar', 'atlas-core'),
),
),
) );