File: /home/cafsindia/public_html/wp-content/themes/excitor/framework/options/blog.php
<?php
// Blog
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'Archive Blog', 'excitor' ),
'id' => 'bt_blog',
'icon' => 'el el-file-edit',
'fields' => array(
array(
'id' => 'blog_fullwidth',
'type' => 'switch',
'title' => esc_html__( 'Full Width (100%)', 'excitor' ),
'subtitle' => esc_html__( 'Turn on to have the content area display at 100% width according to the window size. Turn off to follow site width.', 'excitor' ),
'default' => false
),
array(
'id' => 'blog_fullwidth_space',
'type' => 'spacing',
'units' => array( 'em', 'px', '%' ),
'mode' => 'padding',
'top' => false,
'bottom' => false,
'title' => esc_html__( 'Full Width Space', 'excitor' ),
'subtitle' => esc_html__( 'Control the left/right padding the content area display.', 'excitor' ),
'default' => array(
'padding-left' => '15px',
'padding-right' => '15px'
),
'required' => array('blog_fullwidth' , '=', '1'),
'output' => array('.category .bt-main-content, .tag .bt-main-content, .search .bt-main-content')
),
array(
'id' => 'blog_columns',
'type' => 'slider',
'title' => esc_html__( 'Columns', 'excitor' ),
'subtitle' => esc_html__( 'Controls the number columns of list items.', 'excitor' ),
'default' => 1,
'min' => 1,
'step' => 1,
'max' => 4,
'display_value' => 'text'
),
array(
'id' => 'blog_sidebar_width',
'type' => 'slider',
'title' => esc_html__( 'Sidebar Width', 'excitor' ),
'subtitle' => esc_html__( 'Controls the width of the left/right sidebar.', 'excitor' ),
'default' => 3,
'min' => 1,
'step' => 1,
'max' => 5,
'display_value' => 'text'
),
array(
'id' => 'blog_titlebar',
'type' => 'switch',
'title' => esc_html__( 'Title Bar', 'excitor' ),
'subtitle' => esc_html__( 'Turn on to display the title bar.', 'excitor' ),
'default' => true
),
array(
'id' => 'blog_titlebar_bg',
'type' => 'background',
'title' => esc_html__( 'Title Bar Background', 'excitor' ),
'subtitle' => esc_html__( 'Control the background of the title bar.', 'excitor' ),
'default' => array(
'background-color' => '#333333',
),
'required' => array('blog_titlebar' , '=', '1'),
'output' => array('.category .bt-titlebar .bt-titlebar-inner, .tag .bt-titlebar .bt-titlebar-inner, .search .bt-titlebar .bt-titlebar-inner'),
),
array(
'id' => 'blog_content_sapce',
'type' => 'spacing',
'units' => array( 'em', 'px', '%' ),
'mode' => 'padding',
'right' => false,
'left' => false,
'title' => esc_html__( 'Main Content Space', 'excitor' ),
'subtitle' => esc_html__( 'Control the top/bottom padding the content.', 'excitor' ),
'default' => array(
'padding-top' => '0px',
'padding-bottom' => '0px'
),
'output' => array('.category .bt-main-content, .tag .bt-main-content, .search .bt-main-content')
),
array(
'id' => 'blog_post_info',
'type' => 'info',
'style' => 'info',
'title' => esc_html__( 'Post Settings', 'excitor' ),
'desc' => esc_html__( 'This is the options you can change the post on the blog page or archive pages.', 'excitor' )
),
array(
'id' => 'post_title',
'type' => 'switch',
'title' => esc_html__( 'Post Title', 'excitor' ),
'subtitle' => esc_html__( 'Turn on to display the post title.', 'excitor' ),
'default' => true
),
array(
'id' => 'post_title_font',
'type' => 'typography',
'title' => esc_html__( 'Post Title Typography', 'excitor' ),
'subtitle' => esc_html__( 'These settings control the typography post title.', 'excitor' ),
'subsets' => false,
'letter-spacing' => true,
'text-align' => false,
'text-transform' => true,
'color' => false,
'default' => array(
'font-size' => '24px',
'font-family' => 'Poppins',
'font-weight' => '700',
'line-height' => '38px',
'letter-spacing' => '0'
),
'required' => array('post_title' , '=', '1'),
'output' => array('.category .bt-post-item .bt-title, .tag .bt-post-item .bt-title, .search .bt-post-item .bt-title')
),
array(
'id' => 'post_featured',
'type' => 'switch',
'title' => esc_html__( 'Featured Image / Video', 'excitor' ),
'subtitle' => esc_html__( 'Turn on to show the image / video.', 'excitor' ),
'default' => true
),
array(
'id' => 'post_image_size',
'type' => 'text',
'title' => esc_html__( 'Image Size', 'excitor' ),
'subtitle' => esc_html__( 'Enter image size. Example: thumbnail, medium, large, full or other sizes defined by current theme. Alternatively enter image size in pixels: 200x100 (Width x Height). Leave empty to use "full" size.', 'excitor' ),
'default' => 'full',
'required' => array('post_featured' , '=', '1')
),
array(
'id' => 'post_meta',
'type' => 'switch',
'title' => esc_html__( 'Post Meta Field', 'excitor' ),
'subtitle' => esc_html__( 'Turn on to show the meta field.', 'excitor' ),
'default' => true
),
array(
'id' => 'post_meta_font',
'type' => 'typography',
'title' => esc_html__( 'Post Meta Typography', 'excitor' ),
'subtitle' => esc_html__( 'These settings control the typography post meta.', 'excitor' ),
'subsets' => false,
'letter-spacing' => true,
'text-align' => false,
'text-transform' => true,
'color' => false,
'default' => array(
'font-size' => '14px',
'font-family' => 'Poppins',
'font-weight' => '400',
'line-height' => '24px',
'letter-spacing' => '0'
),
'required' => array('post_meta' , '=', '1'),
'output' => array('.category .bt-post-item .bt-meta > li, .tag .bt-post-item .bt-meta > li, .search .bt-post-item .bt-meta > li')
),
array(
'id' => 'post_meta_author',
'type' => 'switch',
'title' => esc_html__( 'Post Meta Field Author', 'excitor' ),
'subtitle' => esc_html__( 'Turn on to show the meta field author.', 'excitor' ),
'default' => true,
'required' => array('post_meta' , '=', '1'),
),
array(
'id' => 'post_meta_date',
'type' => 'switch',
'title' => esc_html__( 'Post Meta Field Date', 'excitor' ),
'subtitle' => esc_html__( 'Turn on to show the meta field author.', 'excitor' ),
'default' => true,
'required' => array('post_meta' , '=', '1'),
),
array(
'id' => 'post_meta_comment',
'type' => 'switch',
'title' => esc_html__( 'Post Meta Field Comment', 'excitor' ),
'subtitle' => esc_html__( 'Turn on to show the meta field comment.', 'excitor' ),
'default' => true,
'required' => array('post_meta' , '=', '1'),
),
array(
'id' => 'post_meta_category',
'type' => 'switch',
'title' => esc_html__( 'Post Meta Field Category', 'excitor' ),
'subtitle' => esc_html__( 'Turn on to show the meta field category.', 'excitor' ),
'default' => true,
'required' => array('post_meta' , '=', '1'),
),
array(
'id' => 'post_excerpt',
'type' => 'switch',
'title' => esc_html__( 'Post Excerpt', 'excitor' ),
'subtitle' => esc_html__( 'Turn on to show the excerpt.', 'excitor' ),
'default' => true
),
array(
'id' => 'post_excerpt_length',
'type' => 'text',
'title' => esc_html__( 'Post Excerpt Length', 'excitor' ),
'subtitle' => esc_html__( 'Please, Enter excerpt length number. Leave empty to use "55" for excerpt lenght.', 'excitor' ),
'default' => '55',
'required' => array('post_excerpt' , '=', '1'),
),
array(
'id' => 'post_excerpt_more',
'type' => 'text',
'title' => esc_html__( 'Post Excerpt More', 'excitor' ),
'subtitle' => esc_html__( 'Please, Enter excerpt more. Leave empty to use "[...]" for excerpt more.', 'excitor' ),
'default' => '[...]',
'required' => array('post_excerpt' , '=', '1'),
),
array(
'id' => 'post_readmore',
'type' => 'switch',
'title' => esc_html__( 'Read More button', 'excitor' ),
'subtitle' => esc_html__( 'Turn on to show the read more button.', 'excitor' ),
'default' => true
),
array(
'id' => 'post_readmore_font',
'type' => 'typography',
'title' => esc_html__( 'Post Read More Button Typography', 'excitor' ),
'subtitle' => esc_html__( 'These settings control the typography post read more button.', 'excitor' ),
'subsets' => false,
'letter-spacing' => true,
'text-align' => false,
'text-transform' => true,
'color' => false,
'default' => array(
'font-size' => '14px',
'font-family' => 'Poppins',
'font-weight' => '700',
'line-height' => '24px',
'letter-spacing' => '0'
),
'required' => array('post_readmore' , '=', '1'),
'output' => array('.category .bt-post-item .bt-readmore, .tag .bt-post-item .bt-readmore, .search .bt-post-item .bt-readmore')
),
array(
'id' => 'post_readmore_label',
'type' => 'text',
'title' => esc_html__( 'Post Meta Field Category Label', 'excitor' ),
'subtitle' => esc_html__( 'Please, Enter label of the label read more button. Leave empty to use "Read More" label.', 'excitor' ),
'default' => 'Read More',
'required' => array('post_readmore' , '=', '1'),
),
array(
'id' => 'blog_article_space',
'type' => 'spacing',
'units' => array( 'em', 'px', '%' ),
'mode' => 'margin',
'top' => false,
'right' => false,
'left' => false,
'title' => esc_html__( 'Post Space', 'excitor' ),
'subtitle' => esc_html__( 'Control the bottom margin the post.', 'excitor' ),
'default' => array(
'margin-bottom' => '40px'
),
'output' => array('.category .bt-post-item, .tag .bt-post-item, .search .bt-post-item')
),
)
) );
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'Single Post', 'excitor' ),
'id' => 'bt_post',
'subsection' => true,
'fields' => array(
array(
'id' => 'post_fullwidth',
'type' => 'switch',
'title' => esc_html__( 'Full Width (100%)', 'excitor' ),
'subtitle' => esc_html__( 'Turn on to have the content area display at 100% width according to the window size. Turn off to follow site width.', 'excitor' ),
'default' => false
),
array(
'id' => 'post_fullwidth_space',
'type' => 'spacing',
'units' => array( 'em', 'px', '%' ),
'mode' => 'padding',
'top' => false,
'bottom' => false,
'title' => esc_html__( 'Full Width Space', 'excitor' ),
'subtitle' => esc_html__( 'Control the left/right padding the content area display.', 'excitor' ),
'default' => array(
'padding-left' => '15px',
'padding-right' => '15px'
),
'required' => array('post_fullwidth' , '=', '1'),
'output' => array('.single-post .bt-main-content')
),
array(
'id' => 'post_sidebar_width',
'type' => 'slider',
'title' => esc_html__( 'Sidebar Width', 'excitor' ),
'subtitle' => esc_html__( 'Controls the width of the left/right sidebar.', 'excitor' ),
'default' => 3,
'min' => 1,
'step' => 1,
'max' => 5,
'display_value' => 'text'
),
array(
'id' => 'post_titlebar',
'type' => 'switch',
'title' => esc_html__( 'Title Bar', 'excitor' ),
'subtitle' => esc_html__( 'Turn on to display the title bar.', 'excitor' ),
'default' => true
),
array(
'id' => 'post_titlebar_bg',
'type' => 'background',
'title' => esc_html__( 'Title Bar Background', 'excitor' ),
'subtitle' => esc_html__( 'Control the background of the title bar.', 'excitor' ),
'default' => array(
'background-color' => '#333333',
),
'required' => array('post_titlebar' , '=', '1'),
'output' => array('.single-post .bt-titlebar .bt-titlebar-inner'),
),
array(
'id' => 'post_content_sapce',
'type' => 'spacing',
'units' => array( 'em', 'px', '%' ),
'mode' => 'padding',
'right' => false,
'left' => false,
'title' => esc_html__( 'Main Content Space', 'excitor' ),
'subtitle' => esc_html__( 'Control the top/bottom padding the content.', 'excitor' ),
'default' => array(
'padding-top' => '0px',
'padding-bottom' => '0px'
),
'output' => array('.single-post .bt-main-content')
),
array(
'id' => 'single_post_navigation',
'type' => 'switch',
'title' => esc_html__( 'Post Navigation', 'excitor' ),
'subtitle' => esc_html__( 'Turn on to show the post navigation.', 'excitor' ),
'default' => true
),
array(
'id' => 'single_author',
'type' => 'switch',
'title' => esc_html__( 'Author', 'excitor' ),
'subtitle' => esc_html__( 'Turn on to show the author.', 'excitor' ),
'default' => true
),
array(
'id' => 'single_comment',
'type' => 'switch',
'title' => esc_html__( 'Comment', 'excitor' ),
'subtitle' => esc_html__( 'Turn on to show the comment.', 'excitor' ),
'default' => true
),
array(
'id' => 'single_post_info',
'type' => 'info',
'style' => 'info',
'title' => esc_html__( 'Post Settings', 'excitor' ),
'desc' => esc_html__( 'This is the options you can change the post on the blog page or archive pages.', 'excitor' )
),
array(
'id' => 'single_post_title',
'type' => 'switch',
'title' => esc_html__( 'Post Title', 'excitor' ),
'subtitle' => esc_html__( 'Turn on to display the post title.', 'excitor' ),
'default' => false
),
array(
'id' => 'single_post_title_font',
'type' => 'typography',
'title' => esc_html__( 'Post Title Typography', 'excitor' ),
'subtitle' => esc_html__( 'These settings control the typography post title.', 'excitor' ),
'subsets' => false,
'letter-spacing' => true,
'text-align' => false,
'text-transform' => true,
'color' => false,
'default' => array(
'font-size' => '24px',
'font-family' => 'Poppins',
'font-weight' => '700',
'line-height' => '28px',
'letter-spacing' => '0'
),
'required' => array('single_post_title' , '=', '1'),
'output' => array('.single-post .bt-post-item .bt-title')
),
array(
'id' => 'single_post_featured',
'type' => 'switch',
'title' => esc_html__( 'Featured Image / Video', 'excitor' ),
'subtitle' => esc_html__( 'Turn on to show the image / video.', 'excitor' ),
'default' => true
),
array(
'id' => 'single_post_image_size',
'type' => 'text',
'title' => esc_html__( 'Image Size', 'excitor' ),
'subtitle' => esc_html__( 'Enter image size. Example: thumbnail, medium, large, full or other sizes defined by current theme. Alternatively enter image size in pixels: 200x100 (Width x Height). Leave empty to use "full" size.', 'excitor' ),
'default' => 'full',
'required' => array('single_post_featured' , '=', '1')
),
array(
'id' => 'single_post_meta',
'type' => 'switch',
'title' => esc_html__( 'Post Meta Field', 'excitor' ),
'subtitle' => esc_html__( 'Turn on to show the meta field.', 'excitor' ),
'default' => true
),
array(
'id' => 'single_post_meta_font',
'type' => 'typography',
'title' => esc_html__( 'Post Meta Typography', 'excitor' ),
'subtitle' => esc_html__( 'These settings control the typography post meta.', 'excitor' ),
'subsets' => false,
'letter-spacing' => true,
'text-align' => false,
'text-transform' => true,
'color' => false,
'default' => array(
'font-size' => '14px',
'font-family' => 'Poppins',
'font-weight' => '400',
'line-height' => '24px',
'letter-spacing' => '0'
),
'required' => array('single_post_meta' , '=', '1'),
'output' => array('.single-post .bt-post-item .bt-meta > li')
),
array(
'id' => 'single_post_meta_author',
'type' => 'switch',
'title' => esc_html__( 'Post Meta Field Author', 'excitor' ),
'subtitle' => esc_html__( 'Turn on to show the meta field author.', 'excitor' ),
'default' => true,
'required' => array('single_post_meta' , '=', '1'),
),
array(
'id' => 'single_post_meta_date',
'type' => 'switch',
'title' => esc_html__( 'Post Meta Field Date', 'excitor' ),
'subtitle' => esc_html__( 'Turn on to show the meta field author.', 'excitor' ),
'default' => true,
'required' => array('single_post_meta' , '=', '1'),
),
array(
'id' => 'single_post_meta_comment',
'type' => 'switch',
'title' => esc_html__( 'Post Meta Field Comment', 'excitor' ),
'subtitle' => esc_html__( 'Turn on to show the meta field comment.', 'excitor' ),
'default' => true,
'required' => array('single_post_meta' , '=', '1'),
),
array(
'id' => 'single_post_meta_category',
'type' => 'switch',
'title' => esc_html__( 'Post Meta Field Category', 'excitor' ),
'subtitle' => esc_html__( 'Turn on to show the meta field category.', 'excitor' ),
'default' => true,
'required' => array('single_post_meta' , '=', '1'),
),
array(
'id' => 'single_post_content',
'type' => 'switch',
'title' => esc_html__( 'Post Content', 'excitor' ),
'subtitle' => esc_html__( 'Turn on to show the content.', 'excitor' ),
'default' => true
),
array(
'id' => 'single_post_tag',
'type' => 'switch',
'title' => esc_html__( 'Post Tags', 'excitor' ),
'subtitle' => esc_html__( 'Turn on to show the tags.', 'excitor' ),
'default' => true
),
array(
'id' => 'single_post_tag_label',
'type' => 'text',
'title' => esc_html__( 'Post Tags Label', 'excitor' ),
'subtitle' => esc_html__( 'Please, Enter label of the tags. Leave empty to use "Tags:" label.', 'excitor' ),
'default' => 'Tags:',
'required' => array('single_post_tag' , '=', '1'),
),
array(
'id' => 'single_post_share',
'type' => 'switch',
'title' => esc_html__( 'Post Shares', 'excitor' ),
'subtitle' => esc_html__( 'Turn on to show the share.', 'excitor' ),
'default' => false
),
array(
'id' => 'single_post_share_label',
'type' => 'text',
'title' => esc_html__( 'Post Share Label', 'excitor' ),
'subtitle' => esc_html__( 'Please, Enter label of the share. Leave empty to use "Share:" label.', 'excitor' ),
'default' => 'Share:',
'required' => array('single_post_share' , '=', '1'),
),
array(
'id' => 'single_post_share_facebook',
'type' => 'switch',
'title' => esc_html__( 'Facebook', 'excitor' ),
'subtitle' => esc_html__( 'Turn on to show the facebook share.', 'excitor' ),
'default' => true,
'required' => array('single_post_share' , '=', '1'),
),
array(
'id' => 'single_post_share_twitter',
'type' => 'switch',
'title' => esc_html__( 'Twitter', 'excitor' ),
'subtitle' => esc_html__( 'Turn on to show the twitter share.', 'excitor' ),
'default' => true,
'required' => array('single_post_share' , '=', '1'),
),
array(
'id' => 'single_post_share_google_plus',
'type' => 'switch',
'title' => esc_html__( 'Google Plus', 'excitor' ),
'subtitle' => esc_html__( 'Turn on to show the google plus share.', 'excitor' ),
'default' => true,
'required' => array('single_post_share' , '=', '1'),
),
array(
'id' => 'single_post_share_linkedin',
'type' => 'switch',
'title' => esc_html__( 'Linkedin', 'excitor' ),
'subtitle' => esc_html__( 'Turn on to show the linkedin share.', 'excitor' ),
'default' => true,
'required' => array('single_post_share' , '=', '1'),
),
array(
'id' => 'single_post_share_pinterest',
'type' => 'switch',
'title' => esc_html__( 'Pinterest', 'excitor' ),
'subtitle' => esc_html__( 'Turn on to show the pinterest share.', 'excitor' ),
'default' => true,
'required' => array('single_post_share' , '=', '1'),
),
array(
'id' => 'single_article_space',
'type' => 'spacing',
'units' => array( 'em', 'px', '%' ),
'mode' => 'margin',
'top' => false,
'right' => false,
'left' => false,
'title' => esc_html__( 'Post Space', 'excitor' ),
'subtitle' => esc_html__( 'Control the bottom margin the post.', 'excitor' ),
'default' => array(
'margin-bottom' => '30px'
),
'output' => array('.single-post .bt-post-item')
),
)
) );