File: /home/slyfwmm/studiomilighetti/wp-content/themes/domik/includes/redux-sections/blog.php
<?php
/* banner-php */
Redux::setSection( $opt_name, array(
'title' => __('Blog Settings', 'domik'),
'id' => 'blog-settings',
'subsection' => false,
//'desc' => __( 'For full documentation on this field, visit: ', 'redux-framework-demo' ) . '<a href="http://docs.reduxframework.com/core/fields/checkbox/" target="_blank">http://docs.reduxframework.com/core/fields/checkbox/</a>',
'icon' => 'el-icon-website',
'fields' => array(
array(
'id' => 'blog_home_text',
'type' => 'text',
'title' => __('Blog Heading Text', 'domik'),
// 'subtitle' => __('', 'domik'),
// 'desc' => __('', 'domik'),
'default' => 'Our Blog'
),
array(
'id' => 'blog_home_text_intro',
'type' => 'textarea',
'title' => __('Blog Intro Text', 'domik'),
// 'subtitle' => __('', 'domik'),
// 'desc' => __('', 'domik'),
'default' => '<h3><span>All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true</span></h3>'
),
array(
'id' => 'blog_layout',
'type' => 'image_select',
//'compiler' => true,
'title' => __( 'Blog Layout', 'domik' ),
'subtitle' => __( 'Select main content and sidebar layout. The option 4 is default layout with right parallax image for Domik theme.', 'domik' ),
'options' => array(
'fullwidth' => array(
'alt' => 'Fullwidth',
'img' => ReduxFramework::$_url . 'assets/img/1col.png'
),
'left_sidebar' => array(
'alt' => 'Left Sidebar',
'img' => ReduxFramework::$_url . 'assets/img/2cl.png'
),
'right_sidebar' => array(
'alt' => 'Right Sidebar',
'img' => ReduxFramework::$_url . 'assets/img/2cr.png'
),
// 'domik' => array(
// 'alt' => 'Right Sidebar',
// 'img' => get_template_directory_uri() . '/functions/assets/domik.png'
// ),
),
'default' => 'right_sidebar'
),
array(
'id' => 'blog-sidebar-width',
'type' => 'select',
'title' => esc_html__('Blog Sidebar Width', 'domik'),
'subtitle' => esc_html__( 'Based on Bootstrap 12 columns. For blog Normal style only', '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' => '3'
),
array(
'id' => 'blog_column',
'type' => 'select',
'title' => __('Blog Columns', 'domik'),
// 'subtitle' => __('', 'domik'),
'desc' => '',
'options' => array('one' => 'One Column', 'two' => 'Two Columns','three' => 'Three Columns', 'four' => 'Four Columns'), //Must provide key => value pairs for select options
'default' => 'one'
),
// array(
// 'id' => 'blog_layout',
// 'type' => 'select',
// 'title' => __('Blog Layout', 'domik'),
// 'subtitle' => __('Select Your Blog layout', 'domik'),
// 'desc' => '',
// 'options' => array('1' => '1 Column', '2' => '2 Columns', '3' => '3 Columns', '4' => 'Time Line'), //Must provide key => value pairs for select options
// 'default' => '1'
// ),
// array(
// 'id' => 'blog_sidebar',
// 'type' => 'select',
// 'title' => __('Blog Sidebar', 'domik'),
// 'subtitle' => __('Select Your Blog Sidebar position', 'domik'),
// 'desc' => '',
// 'options' => array('right' => 'Right', 'left' => 'Left'), //Must provide key => value pairs for select options
// 'default' => 'right'
// ),
// array(
// 'id' => 'blog_full',
// 'type' => 'checkbox',
// 'title' => __('Blog Full Width', 'domik'),
// 'subtitle' => '',
// 'desc' => '',
// 'default' => '0'// 1 = on | 0 = off
// ),
// array(
// 'id' => 'blog_excerpt',
// 'type' => 'text',
// 'title' => __('Blog custom excerpt leng', 'domik'),
// 'subtitle' => __('Input Blog custom excerpt leng', 'domik'),
// 'desc' => __('', 'domik'),
// 'default' => '40'
// ),
array(
'id' => 'author_checkbox',
'type' => 'switch',
'on' => esc_html__('Yes','domik'),
'off' => esc_html__('No','domik'),
'title' => esc_html__( 'Show author', 'domik' ),
'default' => true,
),
array(
'id' => 'date_checkbox',
'type' => 'switch',
'on' => esc_html__('Yes','domik'),
'off' => esc_html__('No','domik'),
'title' => esc_html__( 'Show date', 'domik' ),
'default' => true,
),
array(
'id' => 'cats_checkbox',
'type' => 'switch',
'on' => esc_html__('Yes','domik'),
'off' => esc_html__('No','domik'),
'title' => esc_html__( 'Show categories', 'domik' ),
'default' => true,
),
array(
'id' => 'tag_checkbox',
'type' => 'switch',
'on' => esc_html__('Yes','domik'),
'off' => esc_html__('No','domik'),
'title' => esc_html__( 'Show tag', 'domik' ),
'default' => true,
),
array(
'id' => 'comment_checkbox',
'type' => 'switch',
'on' => esc_html__('Yes','domik'),
'off' => esc_html__('No','domik'),
'title' => esc_html__( 'Show comment', 'domik' ),
'default' => true,
),
// array(
// 'id' => 'author_infor',
// 'type' => 'checkbox',
// 'title' => __('Show author information', 'domik'),
// 'subtitle' => __('Show information author for list post', 'domik'),
// 'desc' => '',
// 'default' => '1'// 1 = on | 0 = off
// ),
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' => esc_url( home_url('/' ) ) .'blog/'
),
),
) );