File: /home/slyfwmm/studiomilighetti/wp-content/themes/domik/includes/redux-sections/blog-single.php
<?php
/* banner-php */
Redux::setSection( $opt_name, array(
'title' => esc_html__('Blog Single', 'domik'),
'id' => 'blog-single-optons',
'subsection' => true,
'fields' => array(
// array(
// 'id' => 'blog-single-width',
// 'type' => 'select',
// 'title' => esc_html__('Blog Single Width', 'domik'),
// 'options' => array(
// 'blog-normal' => esc_html__('Boxed', 'domik'),
// 'blog-wide' => esc_html__('Wide', 'domik'),
// 'blog-fullwidth' => esc_html__('Fullwidth', 'domik'),
// ), //Must provide key => value pairs for select options
// 'default' => 'blog-normal'
// ),
// array(
// 'id' => 'blog-single-sidebar-width',
// 'type' => 'select',
// 'title' => esc_html__('Single Sidebar Width', 'domik'),
// 'subtitle' => esc_html__( 'Based on Bootstrap 12 columns.', 'domik' ),
// 'options' => array(
// '2' => esc_html__('2 Columns', 'domik'),
// '3' => esc_html__('3 Columns', 'domik'),
// '4' => esc_html__('4 Columns', 'domik'),
// '5' => esc_html__('5 Columns', 'domik'),
// '6' => esc_html__('6 Columns', 'domik'),
// ), //Must provide key => value pairs for select options
// 'default' => '4'
// ),
array(
'id' => 'blog_single_title',
'type' => 'switch',
'on' => esc_html__('Yes','domik'),
'off' => esc_html__('No','domik'),
'title' => esc_html__( 'Show Post Title block?', 'domik' ),
'default' => true,
),
array(
'id' => 'blog_featured_single',
'type' => 'switch',
'on' => esc_html__('Yes','domik'),
'off' => esc_html__('No','domik'),
'title' => esc_html__( 'Show Featured image', 'domik' ),
'default' => true,
),
array(
'id' => 'blog_date_single',
'type' => 'switch',
'on' => esc_html__('Yes','domik'),
'off' => esc_html__('No','domik'),
'title' => esc_html__( 'Show Date', 'domik' ),
'default' => true,
),
array(
'id' => 'blog_author_meta',
'type' => 'switch',
'on' => esc_html__('Yes','domik'),
'off' => esc_html__('No','domik'),
'title' => esc_html__( 'Show Author', 'domik' ),
'default' => true,
),
array(
'id' => 'blog_cats_single',
'type' => 'switch',
'on' => esc_html__('Yes','domik'),
'off' => esc_html__('No','domik'),
'title' => esc_html__( 'Show Categories', 'domik' ),
'default' => true,
),
array(
'id' => 'blog_comments_single',
'type' => 'switch',
'on' => esc_html__('Yes','domik'),
'off' => esc_html__('No','domik'),
'title' => esc_html__( 'Show Comments', 'domik' ),
'default' => true,
),
array(
'id' => 'blog_tags_single',
'type' => 'switch',
'on' => esc_html__('Yes','domik'),
'off' => esc_html__('No','domik'),
'title' => esc_html__( 'Show Tags', 'domik' ),
'default' => true,
),
array(
'id' => 'blog_author_single',
'type' => 'switch',
'on' => esc_html__('Yes','domik'),
'off' => esc_html__('No','domik'),
'title' => esc_html__( 'Show Author Block', 'domik' ),
'default' => true,
),
array(
'id' => 'blog_single_navigation',
'type' => 'switch',
'on' => esc_html__('Yes','domik'),
'off' => esc_html__('No','domik'),
'title' => esc_html__( 'Show posts navigation', 'domik' ),
'default' => true,
),
array(
'id' => 'blog_single_nav_same_term',
'type' => 'switch',
'on' => esc_html__('Yes','domik'),
'off' => esc_html__('No','domik'),
'title' => esc_html__( 'Next/Prev posts should be in same category', 'domik' ),
'default' => false,
),
array(
'id' => 'blog_list_link',
'type' => 'text',
'title' => esc_html__('Blog List Link', 'domik'),
'desc' => esc_html__('Link for blog list icon on single blog post page.', 'domik'),
'default' => ''
),
),
));