'el el-book', 'title' => esc_html__('Blog', 'bzoago'), ) ); // Archive Blogs settings Redux::set_section( $opt_name, array( 'subsection' => true, 'title' => esc_html__('Blog Article', 'bzoago'), 'fields' => array( array( 'id' => 'blog_archive_layout', 'type' => 'image_select', 'compiler' => true, 'title' => esc_html__('Blog Layout', 'bzoago'), 'options' => array( 'main' => array( 'title' => esc_html__('Articles', 'bzoago'), 'img' => BZOTech_IMG_URL . '/blog_archives/blog_no_sidebar.jpg' ), 'left-main' => array( 'title' => esc_html__('Articles - Left Sidebar', 'bzoago'), 'img' => BZOTech_IMG_URL . '/blog_archives/blog_left_sidebar.jpg' ), 'main-right' => array( 'title' => esc_html__('Articles - Right Sidebar', 'bzoago'), 'img' => BZOTech_IMG_URL . '/blog_archives/blog_right_sidebar.jpg' ), ), 'default' => 'main-right' ), array( 'id' => 'style_archive', 'type' => 'select', 'title' => esc_html__('Style Archive', 'bzoago'), 'options' => array( 'List' => esc_html__('List', 'bzoago'), 'Grid' => esc_html__('Grid', 'bzoago'), ), 'default' => 'List' ), // array( // 'id' => 'blog_archive_sidebar', // 'type' => 'select', // 'data' => 'sidebars', // 'title' => esc_html__('Blog Archive Sidebar', 'bzoago'), // 'default' => 'blog-archive-sidebar', // 'required' => array('blog_archive_layout','!=','main'), // ), array( 'id' => 'blog_columns', 'type' => 'select', 'title' => esc_html__('Post Column', 'bzoago'), 'options' => $columns, 'default' => '1' ), array( 'id' => 'opt-divide', 'class' => 'big-divide', 'type' => 'divide' ), array( 'id' => 'enable_short_descriptions', 'type' => 'switch', 'title' => esc_html__('Short descriptions', 'bzoago'), 'default' => true ), array( 'id' => 'enable_readmore', 'type' => 'switch', 'title' => esc_html__('Read More', 'bzoago'), 'default' => true ), array( 'id' => 'text_readmore', 'type' => 'text', 'title' => esc_html__('Button "Read more" Custom Text', 'bzoago'), 'required' => array('enable_readmore', '=', true), 'default' => 'View Detail', ), array( 'id' => 'opt-media', 'type' => 'media', 'url' => true, 'title' => esc_html__( 'Image siderbar', 'bzoago' ), 'compiler' => 'true', 'desc' => esc_html__( 'Uploader Image siderbar', 'bzoago' ), 'preview_size' => 'thumbnail', ), // array( // 'id' => 'blog_image_sizes', // 'type' => 'select', // 'title' => esc_html__('Post Image Size', 'bzoago'), // 'options' => $blog_image_size, // 'default' => 'full' // ), // array( // 'id' => 'enable_date', // 'type' => 'switch', // 'title' => esc_html__('Date', 'bzoago'), // 'default' => true // ), // array( // 'id' => 'enable_author', // 'type' => 'switch', // 'title' => esc_html__('Author', 'bzoago'), // 'default' => false // ), // array( // 'id' => 'enable_categories', // 'type' => 'switch', // 'title' => esc_html__('Categories', 'bzoago'), // 'default' => true // ), // array( // 'id' => 'enable_comment', // 'type' => 'switch', // 'title' => esc_html__('Comment', 'bzoago'), // 'default' => true // ), // array( // 'id' => 'enable_comment_text', // 'type' => 'switch', // 'title' => esc_html__('Comment Text', 'bzoago'), // 'required' => array('enable_comment', '=', true), // 'default' => false // ), ) ) ); // Single Blogs settings Redux::set_section( $opt_name, array( 'subsection' => true, 'title' => esc_html__('Single Blog', 'bzoago'), 'fields' => array( array( 'id' => 'blog_single_layout', 'type' => 'image_select', 'compiler' => true, 'title' => esc_html__('Blog Single Layout', 'bzoago'), 'options' => array( 'main' => array( 'title' => esc_html__('Main Only', 'bzoago'), 'img' => BZOTech_IMG_URL . '/single _post/main.jpg' ), 'left-main' => array( 'title' => esc_html__('Left - Main Sidebar', 'bzoago'), 'img' => BZOTech_IMG_URL . '/single _post/left_sidebar.jpg' ), 'main-right' => array( 'title' => esc_html__('Main - Right Sidebar', 'bzoago'), 'img' => BZOTech_IMG_URL . '/single _post/right_sidebar.jpg' ), ), 'default' => 'main-left' ), array( 'id' => 'style_blog', 'type' => 'select', 'title' => esc_html__('Style Blog', 'bzoago'), 'options' => array( 'default' => esc_html__('Default', 'bzoago'), 'grid' => esc_html__('Grid', 'bzoago'), ), 'default' => 'List' ), // array( // 'id' => 'blog_single_sidebar', // 'type' => 'select', // 'data' => 'sidebars', // 'title' => esc_html__('Single Blog Sidebar', 'bzoago'), // 'default' => 'blog-single-sidebar', // 'required' => array('blog_single_layout','!=','main'), // ), array( 'id' => 'post-media', 'type' => 'media', 'url' => true, 'title' => esc_html__( 'Image siderbar Post', 'bzoago' ), 'compiler' => 'true', 'desc' => esc_html__( 'Uploader Image siderbar', 'bzoago' ), 'preview_size' => 'thumbnail', ), array( 'id' => 'show_blog_social_share', 'type' => 'switch', 'title' => esc_html__('Show Social Share', 'bzoago'), 'default' => 1 ), array( 'id' => 'show_comment', 'type' => 'switch', 'title' => esc_html__('Show Comments Posts', 'bzoago'), 'default' => 1 ), array( 'id' => 'show_blog_related', 'type' => 'switch', 'title' => esc_html__('Show Related Posts', 'bzoago'), 'default' => 1 ), array( 'id' => 'number_blog_releated', 'type' => 'slider', 'title' => esc_html__('Number of Related Posts', 'bzoago'), 'required' => array('show_blog_related', '=', '1'), 'default' => 3, 'min' => 1, 'step' => 1, 'max' => 20, ), array( 'id' => 'number_text_excerpt', 'type' => 'slider', 'title' => esc_html__('Number text excerpt', 'bzoago'), 'required' => array('show_blog_related', '=', '1'), 'default' => 100, 'min' => 1, 'step' => 1, 'max' => 200, ), array( 'id' => 'releated_blog_columns', 'type' => 'select', 'title' => esc_html__('Columns of Related Posts', 'bzoago'), 'required' => array('show_blog_related', '=', '1'), 'options' => $columns, 'default' => 3 ), ) ) );