| Server IP : 213.186.33.4 / Your IP : 216.73.216.222 Web Server : Apache System : Linux webm005.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64 User : karinebmkh ( 644538) PHP Version : 8.4.22 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/karinebmkh/www2/wp-content/themes/novablog/admin-panel/ |
Upload File : |
<?php
if ( ! class_exists( 'Redux' ) ) {
return;
}
function novablog_OptionsPanel() {
$GLOBALS['redux_notice_check'] = false;
$GLOBALS['redux_update_check'] = false;
$opt_name = "novablog_options";
$novablog_os_faces = array(
"Arial, Helvetica, sans-serif" => "Arial, Helvetica, sans-serif",
"'Arial Black', Gadget, sans-serif" => "'Arial Black', Gadget, sans-serif",
"'Bookman Old Style', serif" => "'Bookman Old Style', serif",
"'Comic Sans MS', cursive" => "'Comic Sans MS', cursive",
"Courier, monospace" => "Courier, monospace",
"Garamond, serif" => "Garamond, serif",
"Georgia, serif" => "Georgia, serif",
"Impact, Charcoal, sans-serif" => "Impact, Charcoal, sans-serif",
"'Lucida Console', Monaco, monospace" => "'Lucida Console', Monaco, monospace",
"'Lucida Sans Unicode', 'Lucida Grande', sans-serif" => "'Lucida Sans Unicode', 'Lucida Grande', sans-serif",
"'MS Sans Serif', Geneva, sans-serif" => "'MS Sans Serif', Geneva, sans-serif",
"'MS Serif', 'New York', sans-serif" => "'MS Serif', 'New York', sans-serif",
"'Palatino Linotype', 'Book Antiqua', Palatino, serif" => "'Palatino Linotype', 'Book Antiqua', Palatino, serif",
"Tahoma,Geneva, sans-serif" => "Tahoma, Geneva, sans-serif",
"'Times New Roman', Times,serif" => "'Times New Roman', Times, serif",
"'Trebuchet MS', Helvetica, sans-serif" => "'Trebuchet MS', Helvetica, sans-serif",
"Verdana, Geneva, sans-serif" => "Verdana, Geneva, sans-serif",
);
$customfonths = 'Palatino';
$novablog_os_faces[$customfonths] = $customfonths;
$theme = wp_get_theme();
$args = array(
'opt_name' => 'novablog_options',
'use_cdn' => true,
'display_name' => 'NovaBlog',
'display_version' => 'version '.$theme->get('Version'),
'page_title' => 'NovaBlog',
'update_notice' => false,
'dev_mode' => false,
'footer_credit' => '<span id="footer-thankyou">' . esc_html__( 'HerculesDesign Options Panel', 'novablog' ) . '</span>',
'menu_type' => 'submenu',
'menu_title' => esc_html__( 'Theme Options', 'novablog' ),
'allow_sub_menu' => TRUE,
'page_parent' => 'themes.php',
'page_parent_post_type' => 'your_post_type',
'customizer' => TRUE,
'default_mark' => '',
'google_update_weekly' => TRUE,
'disable_tracking' => TRUE,
'disable_save_warn' => TRUE,
'google_api_key' => 'AIzaSyC_f_n9BpSQiBbwaJt_0lN1Ynk8tObUiUU',
'class' => 'hercules',
'hints' => array(
'icon_position' => 'right',
'icon_size' => 'normal',
'tip_style' => array(
'color' => 'light',
),
'tip_position' => array(
'my' => 'top left',
'at' => 'bottom right',
),
'tip_effect' => array(
'show' => array(
'duration' => '500',
'event' => 'mouseover',
),
'hide' => array(
'duration' => '500',
'event' => 'mouseleave unfocus',
),
),
),
'output' => TRUE,
'output_tag' => TRUE,
'settings_api' => TRUE,
'cdn_check_time' => '1440',
'compiler' => TRUE,
'page_permissions' => 'manage_options',
'save_defaults' => TRUE,
'show_import_export' => TRUE,
'database' => 'options',
'transient_time' => '3600',
'network_sites' => false,
);
Redux::setArgs( $opt_name, $args );
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'General settings', 'novablog' ),
'id' => 'basic',
'icon' => 'el el-home',
'fields' => array(
array(
'id' => 'hs_container_size',
'type' => 'slider',
'title' => esc_html__( 'Main container width', 'novablog' ),
'subtitle' => esc_html__( 'Choose the width of the website', 'novablog' ),
'desc' => esc_html__( 'Min: 900, max: 2000, step: 1, default value: 1170', 'novablog' ),
'default' => 1200,
'min' => 900,
'step' => 1,
'max' => 2000,
'display_value' => 'text'
),
array(
'id' => 'main_layout',
'type' => 'button_set',
'title' => esc_html__( 'Layout', 'novablog' ),
'subtitle' => esc_html__( 'Change the layout', 'novablog' ),
'options' => array(
'wide' => esc_html__( 'Wide', 'novablog' ),
'boxed' => esc_html__( 'Boxed', 'novablog' )
),
'default' => 'wide'
),
array(
'id' => 'body_background',
'type' => 'background',
'title' => esc_html__( 'Body styling', 'novablog' ),
'subtitle' => esc_html__( 'Change the background style.', 'novablog' ),
'default' => array(
'background-color' => '#ffffff',
'background-image' => '',
'background-repeat' => 'repeat'
)
),
array(
'id' => 'hs_bodytext',
'type' => 'typography',
'title' => esc_html__( 'Body Text', 'novablog' ),
'subtitle' => esc_html__( 'Choose your prefered font for body text.', 'novablog' ),
'output' => array( '.main-holder, .novablog-cookie-banner-wrap, .mfp-wrap, .social_label, .sidepanel' ),
'google' => true,
'fonts' => $novablog_os_faces,
'letter-spacing'=> true,
'default' => array(
'color' => '#525252',
'font-size' => '13px',
'line-height' => '28px',
'letter-spacing' => '0px',
'font-family' => 'Poppins',
'font-weight' => '400',
'letter-spacing'=> '0px'
),
),
array(
'id' => 'h1_heading',
'type' => 'typography',
'title' => esc_html__( 'H1 Heading', 'novablog' ),
'font-backup' => false,
'letter-spacing'=> true,
'text-transform'=> true,
'all_styles' => true,
'output' => array( 'h1' ),
'fonts' => $novablog_os_faces,
'units' => 'px',
'subtitle' => esc_html__( 'Choose your preferred font for H1 heading and titles.', 'novablog' ),
'default' => array(
'color' => '#222222',
'font-weight' => '400',
'font-family' => 'Playfair Display',
'text-align' => 'left',
'google' => true,
'font-size' => '56px',
'line-height' => '64px',
'letter-spacing'=> '-3px',
'text-transform'=> 'none'
),
),
array(
'id' => 'h2_heading',
'type' => 'typography',
'title' => esc_html__( 'H2 Heading', 'novablog' ),
'font-backup' => false,
'letter-spacing'=> true,
'text-transform'=> true,
'all_styles' => true,
'output' => array( 'h2' ),
'fonts' => $novablog_os_faces,
'units' => 'px',
'subtitle' => esc_html__( 'Choose your preferred font for H2 heading and titles.', 'novablog' ),
'default' => array(
'color' => '#222222',
'font-weight' => '400',
'font-family' => 'Playfair Display',
'text-align' => 'inherit',
'google' => true,
'font-size' => '46px',
'line-height' => '48px',
'letter-spacing'=> '-1px',
'text-transform'=> 'none'
),
),
array(
'id' => 'h3_heading',
'type' => 'typography',
'title' => esc_html__( 'H3 Heading', 'novablog' ),
'font-backup' => false,
'letter-spacing'=> true,
'text-transform'=> true,
'all_styles' => true,
'output' => array( 'h3' ),
'fonts' => $novablog_os_faces,
'units' => 'px',
'subtitle' => esc_html__( 'Choose your preferred font for H3 heading and titles.', 'novablog' ),
'default' => array(
'color' => '#222222',
'font-weight' => '400',
'font-family' => 'Playfair Display',
'text-align' => 'inherit',
'google' => true,
'font-size' => '36px',
'line-height' => '38px',
'letter-spacing'=> '0px',
'text-transform'=> 'none'
),
),
array(
'id' => 'h4_heading',
'type' => 'typography',
'title' => esc_html__( 'H4 Heading', 'novablog' ),
'font-backup' => false,
'letter-spacing'=> true,
'text-transform'=> true,
'all_styles' => true,
'output' => array( 'h4' ),
'fonts' => $novablog_os_faces,
'units' => 'px',
'subtitle' => esc_html__( 'Choose your preferred font for H4 heading and titles.', 'novablog' ),
'default' => array(
'color' => '#222222',
'font-weight' => '400',
'font-family' => 'Playfair Display',
'text-align' => 'inherit',
'google' => true,
'font-size' => '18px',
'line-height' => '24px',
'letter-spacing'=> '0px',
'text-transform'=> 'none'
),
),
array(
'id' => 'h5_heading',
'type' => 'typography',
'title' => esc_html__( 'H5 Heading', 'novablog' ),
'font-backup' => false,
'letter-spacing'=> true,
'text-transform'=> true,
'all_styles' => true,
'output' => array( 'h5' ),
'fonts' => $novablog_os_faces,
'units' => 'px',
'subtitle' => esc_html__( 'Choose your preferred font for H5 heading and titles.', 'novablog' ),
'default' => array(
'color' => '#222222',
'font-weight' => '400',
'font-family' => 'Playfair Display',
'text-align' => 'inherit',
'google' => true,
'font-size' => '16px',
'line-height' => '20px',
'letter-spacing'=> '0px',
'text-transform'=> 'none'
),
),
array(
'id' => 'h6_heading',
'type' => 'typography',
'title' => esc_html__( 'H6 Heading', 'novablog' ),
'font-backup' => false,
'letter-spacing'=> true,
'text-transform'=> true,
'all_styles' => true,
'output' => array( 'h6' ),
'fonts' => $novablog_os_faces,
'units' => 'px',
'subtitle' => esc_html__( 'Choose your preferred font for H6 heading and titles.', 'novablog' ),
'default' => array(
'color' => '#222222',
'font-weight' => '400',
'font-family' => 'Playfair Display',
'text-align' => 'inherit',
'google' => true,
'font-size' => '17px',
'line-height' => '22px',
'letter-spacing'=> '0px',
'text-transform'=> 'none'
),
),
array(
'id' => 'h1_pagetitle',
'type' => 'typography',
'title' => esc_html__( 'Page title', 'novablog' ),
'font-backup' => false,
'letter-spacing'=> true,
'text-transform'=> true,
'all_styles' => true,
'output' => array( '.title-section h1' ),
'fonts' => $novablog_os_faces,
'units' => 'px',
'subtitle' => esc_html__( 'Choose your preferred font for page titles.', 'novablog' ),
'default' => array(
'color' => '#222222',
'font-weight' => '400',
'font-family' => 'Playfair Display',
'text-align' => 'center',
'google' => true,
'font-size' => '68px',
'line-height' => '75px',
'letter-spacing'=> '-3px'
),
),
array(
'id' => 'h2_pagetitle',
'type' => 'typography',
'title' => esc_html__( 'Page subtitle', 'novablog' ),
'font-backup' => false,
'letter-spacing'=> true,
'text-transform'=> true,
'all_styles' => true,
'output' => array( '.title-section h2' ),
'fonts' => $novablog_os_faces,
'units' => 'px',
'subtitle' => esc_html__( 'Choose your preferred font for page subtitle.', 'novablog' ),
'default' => array(
'color' => '#222222',
'font-weight' => '400',
'font-family' => 'Playfair Display',
'text-align' => 'center',
'text-transform'=> 'inherit',
'google' => true,
'font-size' => '30px',
'line-height' => '36px',
'letter-spacing'=> '0px'
),
),
array(
'id' => 'page_sidebar_pos',
'type' => 'image_select',
'title' => esc_html__( 'Default page layout', 'novablog' ),
'subtitle' => esc_html__( 'Choose your default page layout.', 'novablog' ),
'options' => array(
'left' => array( 'title' => 'left sidebar', 'img' => get_template_directory_uri() . '/includes/images/2cl.png' ),
'right' => array( 'title' => 'right sidebar', 'img' => get_template_directory_uri() . '/includes/images/2cr.png' ),
'full' => array( 'title' => 'no sidebar', 'img' => get_template_directory_uri() . '/includes/images/1col.png' )
),
'default' => 'right'
),
)
) );
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'Header styling', 'novablog' ),
'id' => 'hs-header-styling',
'icon' => 'el el-brush',
'fields' => array(
array(
'id' => 'header_layout',
'type' => 'image_select',
'title' => esc_html__( 'Header layout', 'novablog' ),
'subtitle' => esc_html__( 'Choose a layout for heaader area.', 'novablog' ),
'options' => array(
'center' => array( 'title' => 'center', 'img' => get_template_directory_uri() . '/includes/images/headercenter.png' ),
'topcenter' => array( 'title' => 'topcenter', 'img' => get_template_directory_uri() . '/includes/images/headertopcenter.png' ),
'topleftmenu' => array( 'title' => 'topleftmenu', 'img' => get_template_directory_uri() . '/includes/images/headertopmenuleft.png' ),
'left' => array( 'title' => 'left', 'img' => get_template_directory_uri() . '/includes/images/headerleft.png' ),
'leftad' => array( 'title' => 'leftad', 'img' => get_template_directory_uri() . '/includes/images/headerad.png' )
),
'default' => 'center'
),
array(
'id' => 'header_image',
'type' => 'background',
'title' => esc_html__( 'Header background image', 'novablog' ),
'subtitle' => esc_html__( 'Change the header background image.', 'novablog' ),
'output' => array( '.headerstyler' ),
'default' => array(
'background-color' => '#ffffff',
)
),
array(
'id' => 'overlay_color',
'type' => 'color_rgba',
'title' => esc_html__( 'Header overlay', 'novablog' ),
'subtitle' => esc_html__( 'Change the header overlay color.', 'novablog' ),
'default' => array(
'color' => '#ffffff',
'alpha' => '0.6'
),
'mode' => 'background',
),
array(
'id' => 'enable_header_parallax',
'type' => 'button_set',
'title' => esc_html__( 'Enable parallax for the header', 'novablog' ),
'subtitle' => esc_html__( 'Enable or disable parallax effect for the main header.', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'top_menu_typography',
'type' => 'typography',
'title' => esc_html__( 'Top Menu Typography', 'novablog' ),
'subtitle' => esc_html__( 'Choose your preferred font for top menu.', 'novablog' ),
'google' => true,
'fonts' => $novablog_os_faces,
'color' => false,
'line-height' => false,
'letter-spacing'=> true,
'text-transform'=> true,
'output' => array( '#top-menu a' ),
'default' => array(
'font-size' => '11px',
'letter-spacing' => '0px',
'font-family' => 'Poppins',
'font-weight' => '400',
'text-transform'=> 'uppercase'
),
),
array(
'id' => 'top-container-menu-link-color',
'type' => 'link_color',
'title' => esc_html__( 'Top menu link color', 'novablog' ),
'subtitle' => esc_html__( 'Change the top menu link color.', 'novablog' ),
'output' => array( '#top-menu a' ),
'default' => array(
'regular' => '#000000',
'hover' => '#989898',
'active' => '#989898',
)
),
array(
'id' => 'top-container-submenu-link-color',
'type' => 'link_color',
'title' => esc_html__( 'Top menu sub menu link color', 'novablog' ),
'subtitle' => esc_html__( 'Change the top menu, sub menu links color.', 'novablog' ),
'output' => array( '#top-menu ul a, #top-menu .current_page_item ul a, #top-menu ul .current_page_item a, #top-menu .current-menu-item ul a, #top-menu ul .current-menu-item a, #top-menu li:hover > ul a, .before_the_blog_content .hs_recent_popular_tab_widget_content .tab_title.selected a' ),
'default' => array(
'regular' => '#989898',
'hover' => '#c6c6c6',
'active' => '#c6c6c6',
)
),
array(
'id' => 'topmenu_submenu_bg_color',
'type' => 'color_rgba',
'title' => esc_html__( 'Top menu dropdown background color', 'novablog' ),
'subtitle' => esc_html__( 'Change the top menu dropdown background color.', 'novablog' ),
'default' => array(
'color' => '#f9f9f9',
'alpha' => 1
),
'mode' => 'background',
),
array(
'id' => 'topmenu_submenu_button_border_bottom_color',
'type' => 'color',
'title' => esc_html__( 'Top menu dropdown button border-bottom color', 'novablog' ),
'subtitle' => esc_html__( 'Change the top menu dropdown button border-bottom color.', 'novablog' ),
'default' => '#ffffff',
'validate' => 'color',
),
array(
'id' => 'top-container-links_color',
'type' => 'link_color',
'output' => array( '.top-widget-left a, .top-widget-right a' ),
'title' => esc_html__( 'Top container links color', 'novablog' ),
'subtitle' => esc_html__( 'Change the top container links color.', 'novablog' ),
'active' => false,
'default' => array(
'regular' => '#ffffff',
'hover' => '#989898',
)
),
array(
'id' => 'top_container_bg_color',
'type' => 'color',
'title' => esc_html__( 'Top container background color', 'novablog' ),
'subtitle' => esc_html__( 'Change the top container dropdown background color.', 'novablog' ),
'default' => '#000000',
'validate' => 'color',
),
array(
'id' => 'top_container_border_color',
'type' => 'border',
'title' => esc_html__( 'Top container border color', 'novablog' ),
'subtitle' => esc_html__( 'Change the top container bottom border color.', 'novablog' ),
'top' => false,
'right' => false,
'left' => false,
'bottom' => true,
'all' => false,
'output' => array('.top-border'),
'default' => array(
'border-color' => '#eeeeee',
'border-style' => 'solid',
'border-bottom' => '0px'
)
),
array(
'id' => 'top_container_typography',
'type' => 'typography',
'title' => esc_html__( 'Top Container Typography', 'novablog' ),
'subtitle' => esc_html__( 'Choose your preferred font for top container.', 'novablog' ),
'google' => true,
'fonts' => $novablog_os_faces,
'line-height' => false,
'letter-spacing'=> true,
'text-transform'=> true,
'output' => array( '.top-right, .widget_search input[type="text"]' ),
'default' => array(
'color' => '#dddddd',
'font-size' => '11px',
'letter-spacing' => '0px',
'font-family' => 'Poppins',
'font-weight' => '400',
'text-transform'=> 'uppercase'
),
),
)
) );
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'Theme styles', 'novablog' ),
'id' => 'hs-theme-styles',
'icon' => 'el el-adjust-alt',
'fields' => array(
array(
'id' => 'global_color',
'type' => 'color',
'title' => esc_html__( 'Accent color', 'novablog' ),
'subtitle' => esc_html__( 'Change the accent color.', 'novablog' ),
'default' => '#bbbbbb',
),
array(
'id' => 'links_color',
'type' => 'link_color',
'output' => array( 'a' ),
'title' => esc_html__( 'Links color', 'novablog' ),
'subtitle' => esc_html__( 'Change the links color.', 'novablog' ),
'active' => false,
'default' => array(
'regular' => '#bbbbbb',
'hover' => '#dddddd',
)
),
array(
'id' => 'buttons_color',
'type' => 'link_color',
'title' => esc_html__( 'Buttons color', 'novablog' ),
'subtitle' => esc_html__( 'Change the buttons color.', 'novablog' ),
'output' => array( '#cart-wrap .but-cart, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .footer .instagram-footer .readmore-button a, a.btn, a.comment-reply-link, input[type="submit"], .tagcloud a, .category-filter ul li a, .woocommerce #review_form #respond .form-submit input, .woocommerce .widget_price_filter .price_slider_amount .button, .woocommerce div.product form.cart .button, .woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button' ),
'active' => false,
'default' => array(
'regular' => '#bbbbbb',
'hover' => '#ffffff',
)
),
array(
'id' => 'buttons_border_color',
'type' => 'link_color',
'title' => esc_html__( 'Buttons border color', 'novablog' ),
'subtitle' => esc_html__( 'Change the buttons border color.', 'novablog' ),
'active' => false,
'default' => array(
'regular' => '#bbbbbb',
'hover' => '#000000',
)
),
array(
'id' => 'buttons_background_color',
'type' => 'link_color',
'title' => esc_html__( 'Buttons background color', 'novablog' ),
'subtitle' => esc_html__( 'Change the background color.', 'novablog' ),
'active' => false,
'default' => array(
'regular' => '#ffffff',
'hover' => '#000000',
)
),
array(
'id' => 'custom_css',
'type' => 'ace_editor',
'title' => esc_html__( 'Custom CSS code', 'novablog' ),
'subtitle' => esc_html__( 'Want to add any custom CSS code? Put in here, and the rest is taken care of.', 'novablog' ),
'mode' => 'css',
'theme' => 'chrome',
'default' => ".someclass{\n margin: 0 auto;\n}"
),
)
) );
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'Logo', 'novablog' ),
'id' => 'hs-logo-favicon',
'icon' => 'el el-tag',
'fields' => array(
array(
'id' => 'logo_margin',
'type' => 'spacing',
'mode' => 'margin',
'all' => false,
'output' => array( '.logo' ),
'right' => false,
'left' => false,
'units' => array( 'em', 'px', '%' ),
'units_extended' => 'true',
'title' => esc_html__( 'Logo margin', 'novablog' ),
'subtitle' => esc_html__( 'Enter the top and bottom margin value.', 'novablog' ),
'default' => array(
'margin-top' => '60px',
'margin-bottom' => '60px',
)
),
array(
'id' => 'logo_type',
'type' => 'switch',
'title' => esc_html__( 'What kind of logo?', 'novablog' ),
'subtitle' => esc_html__( 'Select whether you want your main logo to be an image or text. If you select "image" you can put in the image url in the next option, and if you select "text" your Site Title will be shown instead.', 'novablog' ),
'default' => 0,
'on' => 'Image Logo',
'off' => 'Text Logo',
),
array(
'id' => 'logo_typography',
'type' => 'typography',
'required' => array( 'logo_type', '=', '0' ),
'title' => esc_html__( 'Logo Typography', 'novablog' ),
'subtitle' => esc_html__( 'Choose your preferred font for logo.', 'novablog' ),
'google' => true,
'fonts' => $novablog_os_faces,
'letter-spacing'=> true,
'output' => array( '.logo_h__txt, .logo_link' ),
'default' => array(
'color' => '#000000',
'font-size' => '73px',
'line-height' => '76px',
'letter-spacing' => '-3px',
'font-family' => 'Vidaloka',
'font-weight' => '400',
),
),
array(
'id' => 'logo_hover_color',
'type' => 'link_color',
'required' => array( 'logo_type', '=', '0' ),
'title' => esc_html__( 'Logo hover color', 'novablog' ),
'subtitle' => esc_html__( 'Change the logo hover color.', 'novablog' ),
'output' => array( '.logo_h a:hover, .logo_h a' ),
'regular' => false,
'default' => array(
'hover' => '#000000',
'active' => '#000000',
)
),
array(
'id' => 'logo_url',
'type' => 'media',
'required' => array( 'logo_type', '=', '1' ),
'url' => true,
'title' => esc_html__( 'Header Logo Image Path', 'novablog' ),
'compiler' => 'true',
'subtitle' => esc_html__( 'Click Upload or Enter the direct path to your logo image.', 'novablog' ),
'default' => array( 'url' => '' ),
),
array(
'id' => 'header_logo_width',
'type' => 'text',
'required' => array( 'logo_type', '=', '1' ),
'title' => esc_html__( 'Header logo width.', 'novablog' ),
'subtitle' => esc_html__( 'Set the width of the header logo. If you want a logo that is 100px wide to look sharp on a Retina display, upload image twice as big to begin with, which means 200px and enter 100 in this field.', 'novablog' ),
'default' => '500',
),
array(
'id' => 'footer_logo_url',
'type' => 'media',
'required' => array( 'logo_type', '=', '1' ),
'url' => true,
'title' => esc_html__( 'Footer Logo Image Path', 'novablog' ),
'compiler' => 'true',
'subtitle' => esc_html__( 'Click Upload or Enter the direct path to your logo image.', 'novablog' ),
'default' => array( 'url' => '' ),
),
array(
'id' => 'footer_logo_width',
'type' => 'text',
'required' => array( 'logo_type', '=', '1' ),
'title' => esc_html__( 'Footer logo width.', 'novablog' ),
'subtitle' => esc_html__( 'Set the width of the footer logo. If you want a logo that is 100px wide to look sharp on a Retina display, upload image twice as big to begin with, which means 200px and enter 100 in this field.', 'novablog' ),
'default' => '605',
),
array(
'id' => 'sidepanel_logo_url',
'type' => 'media',
'required' => array( 'logo_type', '=', '1' ),
'url' => true,
'title' => esc_html__( 'Side Panel Logo Image Path', 'novablog' ),
'compiler' => 'true',
'subtitle' => esc_html__( 'Click Upload or Enter the direct path to your logo image.', 'novablog' ),
'default' => array( 'url' => '' ),
),
array(
'id' => 'logo_sidepanel',
'type' => 'button_set',
'title' => esc_html__( 'Display logo in sidepanel?', 'novablog' ),
'subtitle' => esc_html__( 'Do you want to display logo in sidepanel?', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'logo_tagline',
'type' => 'button_set',
'title' => esc_html__( 'Display logo tagline?', 'novablog' ),
'subtitle' => esc_html__( 'Do you want to display tagline under the logo?', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'tagline_color',
'type' => 'typography',
'title' => esc_html__( 'Tagline typography', 'novablog' ),
'subtitle' => esc_html__( 'Choose your preferred font for tagline.', 'novablog' ),
'google' => true,
'fonts' => $novablog_os_faces,
'letter-spacing'=> true,
'text-transform'=> true,
'output' => array( '.logo_tagline' ),
'default' => array(
'color' => '#000000',
'font-size' => '12px',
'line-height' => '12px',
'letter-spacing' => '1px',
'font-family' => 'Poppins',
'font-weight' => '400',
'text-transform'=> 'uppercase'
),
),
)
) );
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'Navigation', 'novablog' ),
'id' => 'hs-navigation',
'icon' => 'el el-align-justify',
'fields' => array(
array(
'id' => 'header_position',
'type' => 'button_set',
'title' => esc_html__( 'Menu type', 'novablog' ),
'subtitle' => esc_html__( 'Change the main menu type (normal or sticky)', 'novablog' ),
'options' => array(
'stickyheader' => esc_html__( 'Sticky', 'novablog' ),
'normalheader' => esc_html__( 'Normal', 'novablog' )
),
'default' => 'stickyheader'
),
array(
'id' => 'hamburger_menu',
'type' => 'button_set',
'title' => esc_html__( 'Side panel', 'novablog' ),
'subtitle' => esc_html__( 'Do you want to the show side panel only on mobile ?', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'side_panel_typography',
'type' => 'typography',
'title' => esc_html__( 'Side Panel Typography', 'novablog' ),
'subtitle' => esc_html__( 'Choose your preferred font for Side Panel.', 'novablog' ),
'google' => true,
'fonts' => $novablog_os_faces,
'color' => false,
'letter-spacing'=> true,
'text-transform'=> true,
'output' => array( '.menu-mobile ul li a' ),
'default' => array(
'font-size' => '13px',
'line-height' => '20px',
'letter-spacing' => '0px',
'font-family' => 'Playfair Display',
'font-weight' => '400',
'text-transform'=> 'none'
),
),
array(
'id' => 'side-panel-link-color',
'type' => 'link_color',
'title' => esc_html__( 'Side Panel links color', 'novablog' ),
'subtitle' => esc_html__( 'Change the Side Panel links color.', 'novablog' ),
'output' => array( '.menu-mobile ul li a' ),
'default' => array(
'regular' => '#000000',
'hover' => '#bbbbbb',
'active' => '#bbbbbb'
)
),
array(
'id' => 'menu_typography',
'type' => 'typography',
'title' => esc_html__( 'Menu Typography', 'novablog' ),
'subtitle' => esc_html__( 'Choose your preferred font for menu.', 'novablog' ),
'google' => true,
'fonts' => $novablog_os_faces,
'letter-spacing'=> true,
'text-transform'=> true,
'output' => array( '#primary-menu > li > a' ),
'default' => array(
'color' => '#000000',
'font-size' => '12px',
'line-height' => '20px',
'letter-spacing' => '0px',
'font-family' => 'Playfair Display',
'font-weight' => '400',
'text-transform'=> 'uppercase'
),
),
array(
'id' => 'menu_items_padding',
'type' => 'spacing',
'mode' => 'padding',
'all' => false,
'left' => true,
'output' => array( '#primary-menu a, .icon-menu a' ),
'units' => array( 'em', 'px', '%' ),
'title' => esc_html__( 'Menu items padding', 'novablog' ),
'subtitle' => esc_html__( 'Change the padding of the main menu items.', 'novablog' ),
'default' => array(
'padding-top' => '26px',
'padding-bottom' => '26px',
'padding-left' => '15px',
'padding-right' => '15px',
'units' => 'px',
)
),
array(
'id' => 'dropdown_menu_typography',
'type' => 'typography',
'title' => esc_html__( 'Drop down menu typography', 'novablog' ),
'subtitle' => esc_html__( 'Choose your preferred font for drop down menu.', 'novablog' ),
'google' => true,
'fonts' => $novablog_os_faces,
'letter-spacing'=> true,
'text-transform'=> true,
'output' => array( '#primary-menu li ul li a, #primary-menu .has-mega-column > .sub-menu a, #primary-menu .mega-menu-posts .post a' ),
'default' => array(
'color' => '#525252',
'font-size' => '13px',
'line-height' => '20px',
'letter-spacing' => '0px',
'text-align' => 'left',
'font-family' => 'Playfair Display',
'font-weight' => '400',
'text-transform'=> 'none'
),
),
array(
'id' => 'dropdown_menu_column_heading',
'type' => 'typography',
'title' => esc_html__( 'Mega menu headings font', 'novablog' ),
'subtitle' => esc_html__( 'Choose your preferred font parameters for mega menu column headings.', 'novablog' ),
'google' => false,
'font-family' => false,
'letter-spacing'=> true,
'text-transform'=> true,
'output' => array( '#primary-menu .has-mega-column > .sub-menu > .columns-sub-item > a' ),
'default' => array(
'color' => '#222222',
'font-size' => '17px',
'line-height' => '20px',
'letter-spacing' => '0px',
'font-weight' => '400',
),
),
array(
'id' => 'g_search_box_id',
'type' => 'button_set',
'title' => esc_html__( 'Display search icon?', 'novablog' ),
'subtitle' => esc_html__( 'Display search icon in the main menu?', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'mainmenu_current_button_color',
'type' => 'link_color',
'title' => esc_html__( 'Hover / active main menu link color', 'novablog' ),
'subtitle' => esc_html__( 'Change the color of the hover/active main menu link.', 'novablog' ),
'regular' => false,
'default' => array(
'hover' => '#bbbbbb',
'active' => '#aaaaaa',
)
),
array(
'id' => 'mainmenu_button_bg_color',
'type' => 'link_color',
'title' => esc_html__( 'Main menu link background color', 'novablog' ),
'subtitle' => esc_html__( 'Change the color of the link background color', 'novablog' ),
'default' => array(
'regular' => '#ffffff',
'hover' => '#ffffff',
'active' => '#ffffff',
)
),
array(
'id' => 'mainmenu_button_bg_color_transparent',
'type' => 'button_set',
'title' => esc_html__( 'Main menu link background color transparency', 'novablog' ),
'subtitle' => esc_html__( 'Do you want Main menu link background color to be transparent? ', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'no'
),
array(
'id' => 'mainmenu_button_active_border_color',
'type' => 'color',
'title' => esc_html__( 'Main menu active/hover link top border color', 'novablog' ),
'subtitle' => esc_html__( 'Change the main menu active/hover link top border color.', 'novablog' ),
'default' => 'transparent',
'validate' => 'color',
),
array(
'id' => 'mainmenu_between_color',
'type' => 'color_rgba',
'title' => esc_html__( 'Line between the main menu items', 'novablog' ),
'subtitle' => esc_html__( 'Change the color of the line between menu items.', 'novablog' ),
'output' => array('background-color' => '#primary-menu > li > a::after'),
'default' => array(
'color' => '#dddddd',
'alpha' => '0.6'
),
'mode' => 'background',
),
array(
'id' => 'mainmenu_submenu_bg_color',
'type' => 'color',
'title' => esc_html__( 'Dropdown background color', 'novablog' ),
'subtitle' => esc_html__( 'Change the dropdown background color.', 'novablog' ),
'default' => '#ffffff',
'validate' => 'color',
),
array(
'id' => 'mainmenu_submenu_border_color',
'type' => 'border',
'title' => esc_html__( 'Dropdown border color and width', 'novablog' ),
'subtitle' => esc_html__( 'Change the dropdown border color and width.', 'novablog' ),
'all' => false,
'output' => array('#primary-menu .has-mega-column > .sub-menu, #primary-menu .has-mega-sub-menu .mega-sub-menu, #primary-menu > li > ul, #primary-menu ul li:not(.novablog-widget-menu) > ul, #cart-wrap'),
'default' => array(
'border-color' => '#ededed',
'border-style' => 'solid',
'border-top' => '4px',
'border-right' => '0px',
'border-bottom' => '0px',
'border-left' => '0px'
)
),
array(
'id' => 'mainmenu_submenu_link_color',
'type' => 'link_color',
'title' => esc_html__( 'Dropdown link color', 'novablog' ),
'subtitle' => esc_html__( 'Change the dropdown link color.', 'novablog' ),
'regular' => false,
'default' => array(
'hover' => '#aaaaaa',
'active' => '#aaaaaa',
)
),
array(
'id' => 'mainmenu_submenu_button_color',
'type' => 'link_color',
'title' => esc_html__( 'Dropdown button background color', 'novablog' ),
'subtitle' => esc_html__( 'Change the dropdown background color.', 'novablog' ),
'default' => array(
'regular' => '#ffffff',
'hover' => '#ffffff',
'active' => '#ffffff',
)
),
array(
'id' => 'mainmenu_submenu_button_border_bottom_color',
'type' => 'color',
'title' => esc_html__( 'Dropdown button border-bottom color', 'novablog' ),
'subtitle' => esc_html__( 'Change the dropdown button border-bottom color.', 'novablog' ),
'default' => '#ededed',
'validate' => 'color',
),
array(
'id' => 'bgmenu_color',
'type' => 'color_rgba',
'title' => esc_html__( 'The main menu background Color', 'novablog' ),
'subtitle' => esc_html__( 'Change the background color of the main menu.', 'novablog' ),
'default' => array(
'color' => '#ffffff',
'alpha' => 1
),
'mode' => 'background',
),
array(
'id' => 'lineabove_color',
'type' => 'color',
'title' => esc_html__( 'Color of the line above the main menu', 'novablog' ),
'subtitle' => esc_html__( 'Change the color of the line above the main menu.', 'novablog' ),
'default' => '#eeeeee',
'validate' => 'color',
),
array(
'id' => 'lineabove_border_thick',
'type' => 'slider',
'title' => esc_html__( 'The thickness of the line above the main menu', 'novablog' ),
'subtitle' => esc_html__( 'Change the thickness of the line above the main menu.', 'novablog' ),
'desc' => esc_html__( 'Min: 0, max: 15, step: 1, default value: 1', 'novablog' ),
'default' => 1,
'min' => 0,
'step' => 1,
'max' => 15,
'display_value' => 'text'
),
array(
'id' => 'linebelow_color',
'type' => 'color',
'title' => esc_html__( 'Color of the line below the main menu', 'novablog' ),
'subtitle' => esc_html__( 'Change the color of the line below the main menu.', 'novablog' ),
'default' => '#ededed',
'validate' => 'color',
),
array(
'id' => 'linebelow_border_thick',
'type' => 'slider',
'title' => esc_html__( 'The thickness of the line below the main menu', 'novablog' ),
'subtitle' => esc_html__( 'Change the thickness of the line below the main menu.', 'novablog' ),
'desc' => esc_html__( 'Min: 0, max: 15, step: 1, default value: 0', 'novablog' ),
'default' => 4,
'min' => 0,
'step' => 1,
'max' => 15,
'display_value' => 'text'
),
)
) );
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'Blog', 'novablog' ),
'id' => 'hs-blog',
'icon' => 'el el-list',
'fields' => array(
array(
'id' => 'blog_sidebar_pos',
'type' => 'image_select',
'title' => esc_html__( 'Blog layout', 'novablog' ),
'subtitle' => esc_html__( 'Choose a blog layout.', 'novablog' ),
'options' => array(
'left' => array( 'title' => 'left sidebar', 'img' => get_template_directory_uri() . '/includes/images/2cl.png' ),
'right' => array( 'title' => 'right sidebar', 'img' => get_template_directory_uri() . '/includes/images/2cr.png' ),
'full' => array( 'title' => 'no sidebar', 'img' => get_template_directory_uri() . '/includes/images/1col.png' ),
'masonry2' => array( 'title' => 'masonry 2 columns', 'img' => get_template_directory_uri() . '/includes/images/masonry2.png' ),
'masonry3' => array( 'title' => 'masonry 3 columns', 'img' => get_template_directory_uri() . '/includes/images/masonry3.png' ),
'masonry4' => array( 'title' => 'masonry 4 columns', 'img' => get_template_directory_uri() . '/includes/images/masonry4.png' ),
'masonry2sideleft' => array( 'title' => 'masonry 2 columns sidebar left', 'img' => get_template_directory_uri() . '/includes/images/masonry2-leftsidebar.png' ),
'masonry2sideright' => array( 'title' => 'masonry 2 columns sidebar right', 'img' => get_template_directory_uri() . '/includes/images/masonry2-rightsidebar.png' ),
'listpostsideright' => array( 'title' => 'list view sidebar right', 'img' => get_template_directory_uri() . '/includes/images/listpost-rightsidebar.png' ),
'listpostsideleft' => array( 'title' => 'list view sidebar left', 'img' => get_template_directory_uri() . '/includes/images/listpost-leftsidebar.png' ),
'listpostfullwidth' => array( 'title' => 'list view no sidebar', 'img' => get_template_directory_uri() . '/includes/images/listpost-fullwidth.png' ),
'zigzagfullwidth' => array( 'title' => 'zigzag view no sidebar', 'img' => get_template_directory_uri() . '/includes/images/zigzag-fullwidth.png' ),
'metro' => array( 'title' => 'metro', 'img' => get_template_directory_uri() . '/includes/images/metro.png' ),
),
'default' => 'right'
),
array(
'id' => 'trending_slideshow',
'type' => 'button_set',
'title' => esc_html__( 'Trending posts', 'novablog' ),
'subtitle' => esc_html__( 'Do you want to display trending posts carousel?', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'no'
),
array(
'id' => 'blog_text',
'type' => 'text',
'title' => esc_html__( 'Blog page title', 'novablog' ),
'subtitle' => esc_html__( 'Enter Your Blog Title used on Blog page.', 'novablog' ),
'default' => '',
),
array(
'id' => 'blog_sub',
'type' => 'text',
'title' => esc_html__( 'Blog page subtitle', 'novablog' ),
'subtitle' => esc_html__( 'Enter Your Blog Subtitle used on Blog page.', 'novablog' ),
'default' => '',
),
array(
'id' => 'post_heading',
'type' => 'typography',
'title' => esc_html__( 'H2 Post heading', 'novablog' ),
'font-backup' => false,
'letter-spacing'=> true,
'text-transform'=> true,
'fonts' => $novablog_os_faces,
'all_styles' => true,
'output' => array( '.post-header h2 a, h2.post-title' ),
'units' => 'px',
'subtitle' => esc_html__( 'Choose your preferred font for H2 heading and titles.', 'novablog' ),
'default' => array(
'color' => '#222222',
'font-weight' => '400',
'font-family' => 'Playfair Display',
'text-align' => 'center',
'google' => true,
'font-size' => '40px',
'line-height' => '44px',
'letter-spacing'=> '-1px',
'text-transform'=> 'none'
),
),
array(
'id' => 'post_excerpt_font',
'type' => 'typography',
'title' => esc_html__( 'Post excerpt font', 'novablog' ),
'font-backup' => false,
'letter-spacing'=> true,
'text-transform'=> true,
'fonts' => $novablog_os_faces,
'all_styles' => true,
'output' => array( '.excerpt p' ),
'units' => 'px',
'subtitle' => esc_html__( 'Choose your preferred font for posts excerpt.', 'novablog' ),
'default' => array(
'color' => '#525252',
'font-weight' => '400',
'font-family' => 'Poppins',
'text-align' => 'left',
'google' => true,
'font-size' => '13px',
'line-height' => '28px',
'letter-spacing'=> '0px',
'text-transform'=> 'none'
),
),
array(
'id' => 'blockquote_font',
'type' => 'typography',
'title' => esc_html__( 'Blockquote font', 'novablog' ),
'font-backup' => false,
'letter-spacing'=> true,
'text-transform'=> true,
'fonts' => $novablog_os_faces,
'all_styles' => true,
'output' => array( 'blockquote' ),
'units' => 'px',
'subtitle' => esc_html__( 'Choose your preferred font for blockquotes.', 'novablog' ),
'default' => array(
'color' => '#888888',
'font-weight' => '400',
'font-style' => 'italic',
'font-family' => 'Playfair Display',
'text-align' => 'center',
'google' => true,
'font-size' => '23px',
'line-height' => '36px',
'letter-spacing'=> '0px',
'text-transform'=> 'none'
),
),
array(
'id' => 'post_header_color',
'type' => 'link_color',
'output' => array( '.post-header h2 a' ),
'active' => false,
'regular' => false,
'title' => esc_html__( 'Post heading hover color', 'novablog' ),
'subtitle' => esc_html__( 'Change the posts heading hover color', 'novablog' ),
'default' => array(
'hover' => '#dddddd'
)
),
array(
'id' => 'post_author',
'type' => 'button_set',
'title' => esc_html__( 'Author of the post', 'novablog' ),
'subtitle' => esc_html__( 'Display the author of the post?', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'post_author_box',
'type' => 'button_set',
'title' => esc_html__( 'Post author box', 'novablog' ),
'subtitle' => esc_html__( 'Should the author box be displayed?', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'full_content',
'type' => 'button_set',
'title' => esc_html__( 'Enable the full text content posts?', 'novablog' ),
'subtitle' => esc_html__( 'Enable or Disable the full text content posts.', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'featured_images',
'type' => 'select',
'title' => esc_html__( 'Featured image', 'novablog' ),
'subtitle' => esc_html__( 'Enable or Disable Featured images', 'novablog' ),
'options' => array(
'featured1' => 'Show Featured image on the main blog page and single blog page',
'featured2' => 'Show Featured image on the main blog page only',
'featured3' => 'Disable Featured images',
),
'default' => 'featured1'
),
array(
'id' => 'post_excerpt',
'type' => 'button_set',
'title' => esc_html__( 'Enable excerpt for blog posts?', 'novablog' ),
'subtitle' => esc_html__( 'Enable or Disable excerpt for blog posts.', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'blog_excerpt_count',
'type' => 'slider',
'title' => esc_html__( 'Excerpt words', 'novablog' ),
'subtitle' => esc_html__( 'Excerpt length (words).', 'novablog' ),
'desc' => esc_html__( 'Min: 0, max: 150, step: 1, default value: 55', 'novablog' ),
'default' => 55,
'min' => 0,
'step' => 1,
'max' => 150,
'display_value' => 'text'
),
array(
'id' => 'blog_excerpt_allowed_tags',
'type' => 'text',
'title' => esc_html__( 'Excerpt allowed tags', 'novablog' ),
'subtitle' => esc_html__( 'Enter allowed tags in posts excerpt separated by comma.', 'novablog' ),
'default' => '<br>,<em>,<i>,<ul>,<ol>,<li>,<a>,<p>,<video>,<img>,<audio>,<div>,<blockquote>,<strong>'
),
array(
'id' => 'post_date',
'type' => 'button_set',
'title' => esc_html__( 'Post publication date.', 'novablog' ),
'subtitle' => esc_html__( 'Should the post publication date be displayed?', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'date_format',
'type' => 'text',
'title' => esc_html__( 'Posts date format.', 'novablog' ),
'subtitle' => esc_html__( 'Enter posts date format. For more information go to http://codex.wordpress.org/Formatting_Date_and_Time - Formatting Date and Time website. For example, the format string: l, F j, Y creates a date that look like this: Friday, September 24, 2004', 'novablog' ),
'default' => 'F j, Y'
),
array(
'id' => 'pagination_type',
'type' => 'button_set',
'title' => esc_html__( 'Page numbering', 'novablog' ),
'subtitle' => esc_html__( 'Choose pagination type', 'novablog' ),
'options' => array(
'pagnum' => esc_html__( 'Links with page numbers', 'novablog' ),
'paglink' => esc_html__( 'Links only', 'novablog' ),
'loadmore' => esc_html__( 'Load more button', 'novablog' ),
'infinite' => esc_html__( 'Infinite scroll', 'novablog' ),
'pagnone' => esc_html__( 'None', 'novablog' ),
),
'default' => 'pagnum'
),
array(
'id' => 'pagnum_button_color',
'type' => 'link_color',
'title' => esc_html__( 'Page numbers button color', 'novablog' ),
'required' => array( 'pagination_type', '=', 'pagnum' ),
'subtitle' => esc_html__( 'Change the Page numbers button color.', 'novablog' ),
'output' => array( '.page-numbers li a' ),
'default' => array(
'regular' => '#bbbbbb',
'hover' => '#dddddd',
'active' => '#dddddd'
)
),
array(
'id' => 'pagnum_button_border_color',
'type' => 'link_color',
'required' => array( 'pagination_type', '=', 'pagnum' ),
'title' => esc_html__( 'Page numbers button border color', 'novablog' ),
'subtitle' => esc_html__( 'Change the Page numbers button border color.', 'novablog' ),
'default' => array(
'regular' => '#ffffff',
'hover' => '#ffffff',
'active' => '#ffffff'
)
),
array(
'id' => 'pagnum_button_background_color',
'type' => 'link_color',
'required' => array( 'pagination_type', '=', 'pagnum' ),
'title' => esc_html__( 'Page numbers button background color', 'novablog' ),
'subtitle' => esc_html__( 'Change the Page numbers button background color.', 'novablog' ),
'default' => array(
'regular' => '#ffffff',
'hover' => '#ffffff',
'active' => '#ffffff'
)
),
array(
'id' => 'loadmore_offset',
'type' => 'text',
'required' => array( 'pagination_type', '=', 'loadmore' ),
'title' => esc_html__( 'Offset', 'novablog' ),
'subtitle' => esc_html__( 'The number of pages which should load automatically. After that the trigger is shown for every subsequent page. For example: if you set the offset to 2, the pages 2 and 3 (page 1 is always shown) would load automatically and for every subsequent page the user has to press the trigger to load it.', 'novablog' ),
'default' => '0'
),
array(
'id' => 'single_pagination_type',
'type' => 'button_set',
'title' => esc_html__( 'Single post pagination', 'novablog' ),
'subtitle' => esc_html__( 'Choose a single post pagination type', 'novablog' ),
'options' => array(
'paglink' => esc_html__( 'Links only', 'novablog' ),
'fixednav' => esc_html__( 'Fixed navigation', 'novablog' ),
'bothnav' => esc_html__( 'Both navigations', 'novablog' ),
'navnone' => esc_html__( 'None', 'novablog' ),
),
'default' => 'paglink'
),
array(
'id' => 'pagination_color',
'type' => 'link_color',
'title' => esc_html__( 'Page links color', 'novablog' ),
'subtitle' => esc_html__( 'Change the color of pagination links', 'novablog' ),
'active' => false,
'output' => array( '.paglink a, .paging a h5' ),
'default' => array(
'regular' => '#bbbbbb',
'hover' => '#000000'
)
),
array(
'id' => 'post_category',
'type' => 'button_set',
'title' => esc_html__( 'Post categories', 'novablog' ),
'subtitle' => esc_html__( 'Should the post categories be displayed?', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'post_tag',
'type' => 'button_set',
'title' => esc_html__( 'Tags', 'novablog' ),
'subtitle' => esc_html__( 'Should the tags be displayed?', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'post_comment',
'type' => 'button_set',
'title' => esc_html__( 'Number of comments', 'novablog' ),
'subtitle' => esc_html__( 'Should the number of comments be displayed?', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'post_likes',
'type' => 'button_set',
'title' => esc_html__( 'Likes', 'novablog' ),
'subtitle' => esc_html__( 'Do you want automatically add likes to your posts?', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'reading_time',
'type' => 'button_set',
'title' => esc_html__( 'Reading time', 'novablog' ),
'subtitle' => esc_html__( 'Do you want to display reading time?', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'post_views',
'type' => 'button_set',
'title' => esc_html__( 'Post views', 'novablog' ),
'subtitle' => esc_html__( 'Do you want to display post views number?', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'related_post',
'type' => 'button_set',
'title' => esc_html__( 'Enable related posts?', 'novablog' ),
'subtitle' => esc_html__( 'Enable or Disable related posts.', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'no'
),
array(
'id' => 'related_post_single',
'type' => 'button_set',
'title' => esc_html__( 'Related posts on single post page', 'novablog' ),
'subtitle' => esc_html__( 'Do you want to display related posts section, only on single post page?', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'no'
),
array(
'id' => 'most-popular_post',
'type' => 'button_set',
'title' => esc_html__( 'Enable Most Popular posts?', 'novablog' ),
'subtitle' => esc_html__( 'Enable or Disable Most Popular posts.', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'no'
),
array(
'id' => 'most_commented_image',
'type' => 'background',
'title' => esc_html__( 'Most popular image', 'novablog' ),
'subtitle' => esc_html__( 'Change the most popular background image.', 'novablog' ),
'output' => array( '.most-commented' ),
'default' => array(
'background-color' => '#f9f9f9',
)
),
array(
'id' => 'related_post_header_color',
'type' => 'link_color',
'title' => esc_html__( 'Related posts headings color', 'novablog' ),
'subtitle' => esc_html__( 'Change the color of related posts headings', 'novablog' ),
'active' => false,
'output' => array( '.related-posts h6 a' ),
'default' => array(
'regular' => '#222222',
'hover' => '#999999'
)
),
array(
'id' => 'readmore_button',
'type' => 'button_set',
'title' => esc_html__( 'Enable VIEW POST button?', 'novablog' ),
'subtitle' => esc_html__( 'Enable or Disable VIEW POST button', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'view_post_button_color',
'type' => 'link_color',
'title' => esc_html__( 'View post button color', 'novablog' ),
'subtitle' => esc_html__( 'Change the view post button color.', 'novablog' ),
'output' => array( '.viewpost-button a.button' ),
'active' => false,
'default' => array(
'regular' => '#bbbbbb',
'hover' => '#dddddd',
)
),
array(
'id' => 'view_post_button_border_color',
'type' => 'link_color',
'title' => esc_html__( 'View post button border color', 'novablog' ),
'subtitle' => esc_html__( 'Change the view post button border color.', 'novablog' ),
'active' => false,
'default' => array(
'regular' => '#ffffff',
'hover' => '#ffffff',
)
),
array(
'id' => 'view_post_button_background_color',
'type' => 'link_color',
'title' => esc_html__( 'View post button background color', 'novablog' ),
'subtitle' => esc_html__( 'Change the view post button background color.', 'novablog' ),
'active' => false,
'default' => array(
'regular' => '#ffffff',
'hover' => '#ffffff',
)
),
array(
'id' => 'viewpost_button_padding',
'type' => 'spacing',
'mode' => 'padding',
//'all' => true,
'top' => true,
'right' => true,
'bottom' => true,
'left' => true,
'output' => array( '.viewpost-button a.button' ),
'units' => array( 'em', 'px', '%' ),
'units_extended' => 'true',
'title' => esc_html__( 'View post button padding', 'novablog' ),
'subtitle' => esc_html__( 'Enter the View post button padding value.', 'novablog' ),
'default' => array(
'padding-top' => '12px',
'padding-right' => '26px',
'padding-bottom' => '12px',
'padding-left' => '26px',
)
),
array(
'id' => 'featured_badge_text_color',
'type' => 'color',
'title' => esc_html__( 'FEATURED BADGE text color', 'novablog' ),
'subtitle' => esc_html__( 'Change the FEATURED BADGE text color', 'novablog' ),
'default' => '#bbbbbb'
),
array(
'id' => 'featured_badge_bg_color',
'type' => 'color',
'title' => esc_html__( 'FEATURED BADGE background color', 'novablog' ),
'subtitle' => esc_html__( 'Change the FEATURED BADGE background color', 'novablog' ),
'default' => '#ffffff'
),
array(
'id' => 'featured_badge_border_colo',
'type' => 'border',
'title' => __('Featured badge border color', 'novablog'),
'subtitle' => __('Change the Featured badge border color', 'novablog'),
'output' => array('.ribbon-featured'),
'default' => array(
'border-color' => '#eeeeee',
'border-style' => 'solid',
'border-top' => '1px',
'border-right' => '1px',
'border-bottom' => '1px',
'border-left' => '1px'
)
),
array(
'id' => 'post_overlay_color',
'type' => 'color_rgba',
'title' => esc_html__( 'Modern Post Header overlay', 'novablog' ),
'subtitle' => esc_html__( 'Change the modern post header overlay color.', 'novablog' ),
'default' => array(
'color' => '#000000',
'alpha' => '.36'
),
'mode' => 'background',
),
array(
'id' => 'modern_post_meta_text_color',
'type' => 'color',
'title' => esc_html__( 'Modern post meta text color', 'novablog' ),
'subtitle' => esc_html__( 'Change the modern post meta text color', 'novablog' ),
'default' => '#ffffff'
),
array(
'id' => 'modern_post_title_text_color',
'type' => 'color',
'title' => esc_html__( 'Modern post title color', 'novablog' ),
'subtitle' => esc_html__( 'Change the modern post title color', 'novablog' ),
'default' => '#ffffff'
),
)
) );
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'Blog categories', 'novablog' ),
'id' => 'hs-blog-categories',
'icon' => 'el el-th-list',
'fields' => array(
array(
'id' => 'blog_cat_sidebar_pos',
'type' => 'image_select',
'title' => esc_html__( 'Blog categories layout', 'novablog' ),
'subtitle' => esc_html__( 'Choose blog categories layout.', 'novablog' ),
'options' => array(
'left' => array( 'title' => 'left sidebar', 'img' => get_template_directory_uri() . '/includes/images/2cl.png' ),
'right' => array( 'title' => 'right sidebar', 'img' => get_template_directory_uri() . '/includes/images/2cr.png' ),
'full' => array( 'title' => 'no sidebar', 'img' => get_template_directory_uri() . '/includes/images/1col.png' ),
'masonry2' => array( 'title' => 'masonry 2 columns', 'img' => get_template_directory_uri() . '/includes/images/masonry2.png' ),
'masonry3' => array( 'title' => 'masonry 3 columns', 'img' => get_template_directory_uri() . '/includes/images/masonry3.png' ),
'masonry4' => array( 'title' => 'masonry 4 columns', 'img' => get_template_directory_uri() . '/includes/images/masonry4.png' ),
'masonry2sideleft' => array( 'title' => 'masonry 2 columns sidebar left', 'img' => get_template_directory_uri() . '/includes/images/masonry2-leftsidebar.png' ),
'masonry2sideright' => array( 'title' => 'masonry 2 columns sidebar right', 'img' => get_template_directory_uri() . '/includes/images/masonry2-rightsidebar.png' ),
'listpostsideright' => array( 'title' => 'list view sidebar right', 'img' => get_template_directory_uri() . '/includes/images/listpost-rightsidebar.png' ),
'listpostsideleft' => array( 'title' => 'list view sidebar left', 'img' => get_template_directory_uri() . '/includes/images/listpost-leftsidebar.png' ),
'listpostfullwidth' => array( 'title' => 'list view no sidebar', 'img' => get_template_directory_uri() . '/includes/images/listpost-fullwidth.png' ),
'zigzagfullwidth' => array( 'title' => 'zigzag view no sidebar', 'img' => get_template_directory_uri() . '/includes/images/zigzag-fullwidth.png' ),
),
'default' => 'masonry2'
),
array(
'id' => 'folio_filter',
'type' => 'button_set',
'title' => esc_html__( 'Category menu', 'novablog' ),
'subtitle' => esc_html__( 'Show additional category menu.', 'novablog' ),
'options' => array(
'cat' => 'Show',
'none' => 'Hide'
),
'default' => 'cat'
),
array(
'id' => 'category_name',
'type' => 'button_set',
'title' => esc_html__( 'Category name', 'novablog' ),
'subtitle' => esc_html__( 'Do you want to display the name of the category?', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'category_word',
'type' => 'button_set',
'title' => esc_html__( '"You are viewing" phrase', 'novablog' ),
'subtitle' => esc_html__( 'Do you want to show "You are viewing" phrase?', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'items_cat_count',
'type' => 'text',
'title' => esc_html__( 'Posts per archive page', 'novablog' ),
'subtitle' => esc_html__( 'Number of posts per page in the category.', 'novablog' ),
'default' => '6'
),
)
) );
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'Custom signature', 'novablog' ),
'id' => 'hs-custom-signature',
'icon' => 'el el-user',
'fields' => array(
array(
'id' => 'custom-signature-display',
'type' => 'button_set',
'title' => esc_html__( 'Custom signature', 'novablog' ),
'subtitle' => esc_html__( 'Do you want to display custom signature right under every post content?', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'no'
),
array(
'id' => 'custom-signature-image',
'type' => 'media',
'url' => true,
'title' => esc_html__( 'Custom signature image', 'novablog' ),
'subtitle' => esc_html__( 'Upload the custom signature image', 'novablog' ),
'default' => array( 'url' => '' ),
),
array(
'id' => 'signature_text',
'type' => 'textarea',
'title' => esc_html__( 'Message', 'novablog' ),
'subtitle' => esc_html__( 'Enter the custom signature message.', 'novablog' ),
'default' => 'XOXO',
),
)
) );
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'Slideshow', 'novablog' ),
'id' => 'hs-slideshow',
'icon' => 'el el-play',
'fields' => array(
array(
'id' => 'slideshow_enable',
'type' => 'button_set',
'title' => esc_html__( 'Enable slideshow', 'novablog' ),
'subtitle' => esc_html__( 'Enable or disable slideshow on main blog page.', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'no'
),
array(
'id' => 'woocommerce_slideshow_enable',
'type' => 'button_set',
'title' => esc_html__( 'Enable woocommerce slideshow', 'novablog' ),
'subtitle' => esc_html__( 'Enable or disable woocommerce slideshow. Shop products will be displayed instead of the blog posts.', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'no'
),
array(
'id' => 'blog_slideshow',
'type' => 'button_set',
'title' => esc_html__( 'Slideshow type', 'novablog' ),
'subtitle' => esc_html__( 'Select the type of slideshow', 'novablog' ),
'options' => array(
'fullwidth' => esc_html__( 'Full width slideshow', 'novablog' ),
'boxed' => esc_html__( 'Boxed slideshow', 'novablog' ),
'inside' => esc_html__( 'Inside the blog content slideshow', 'novablog' )
),
'default' => 'fullwidth'
),
array(
'id' => 'slideshow_container_width',
'type' => 'text',
'required' => array( 'blog_slideshow', '=', 'boxed' ),
'title' => esc_html__( 'Slideshow container width', 'novablog' ),
'subtitle' => esc_html__( 'Enter the slideshow container width. Default is 1170. Enter a grater value, in order to have slideshow wider than the main container', 'novablog' ),
'default' => '1170'
),
array(
'id' => 'slideshow_layout',
'type' => 'button_set',
'title' => esc_html__( 'Slideshow layout', 'novablog' ),
'subtitle' => esc_html__( 'Select the slideshow layout', 'novablog' ),
'options' => array(
'normal' => esc_html__( 'Normal', 'novablog' ),
'grid' => esc_html__( 'Grid', 'novablog' )
),
'default' => 'normal'
),
array(
'id' => 'slideshow_caption_type',
'type' => 'button_set',
'title' => esc_html__( 'Slideshow captions type', 'novablog' ),
'subtitle' => esc_html__( 'Select the type of captions', 'novablog' ),
'options' => array(
'middle' => esc_html__( 'In the middle', 'novablog' ),
'bottom' => esc_html__( 'Bottom left', 'novablog' ),
'middle-boxed' => esc_html__( 'Middle boxed', 'novablog' )
),
'default' => 'middle'
),
array(
'id' => 'enable_parallax',
'type' => 'button_set',
'title' => esc_html__( 'Enable parallax', 'novablog' ),
'subtitle' => esc_html__( 'Enable or disable parallax effect.', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'top_slideshow_margin',
'type' => 'spacing',
'mode' => 'margin',
'all' => false,
'output' => array( '.top-slideshow' ),
'top' => true,
'right' => false,
'bottom' => true,
'left' => false,
'units' => array( 'em', 'px', '%' ),
'units_extended' => 'true',
'title' => esc_html__( 'Slideshow margin', 'novablog' ),
'subtitle' => esc_html__( 'Enter the top and bottom margin value.', 'novablog' ),
'default' => array(
'margin-top' => '30px',
'margin-bottom' => '0px',
)
),
array(
'id' => 'posts_by_id',
'type' => 'select',
'data' => 'posts',
'required' => array( 'woocommerce_slideshow_enable', '=', 'no' ),
'args' => array('post_type'=>'post', 'posts_per_page' => 30, 'orderby' => 'menu_order'),
'multi' => true,
'sortable' => true,
'title' => esc_html__( 'Show Posts by ID', 'novablog' ),
'subtitle' => esc_html__( 'Choose posts you want to appear on slideshow. Leave it blank if you would like to pull all posts', 'novablog' ),
),
array(
'id' => 'products_by_id',
'type' => 'select',
'data' => 'posts',
'required' => array( 'woocommerce_slideshow_enable', '=', 'yes' ),
'args' => array('post_type'=>'product', 'posts_per_page' => 30, 'orderby' => 'menu_order'),
'multi' => true,
'sortable' => true,
'title' => esc_html__( 'Show Products by ID', 'novablog' ),
'subtitle' => esc_html__( 'Choose products you want to appear on slideshow. Leave it blank if you would like to pull all products', 'novablog' ),
),
array(
'id' => 'posts_by_cat',
'type' => 'select',
'data' => 'categories',
'multi' => true,
'sortable' => true,
'title' => esc_html__( 'Which category to pull from?', 'novablog' ),
'subtitle' => esc_html__( 'Select a categories you would like to pull slides from. Leave it blank if you would like to pull from all categories', 'novablog' ),
),
array(
'id' => 'howmany_slides',
'type' => 'text',
'title' => esc_html__( 'How many posts to show?', 'novablog' ),
'subtitle' => esc_html__( 'This is how many recent posts will be displayed.', 'novablog' ),
'default' => '3',
),
array(
'id' => 'howmany_desktop',
'type' => 'text',
'title' => esc_html__( 'The number of visible posts on desktop.', 'novablog' ),
'subtitle' => esc_html__( 'How many posts will be visible on desktop in carousel.', 'novablog' ),
'default' => '1',
),
array(
'id' => 'howmany_tablet',
'type' => 'text',
'title' => esc_html__( 'The number of visible posts on tablet device.', 'novablog' ),
'subtitle' => esc_html__( 'How many posts will be visible on tablet device in carousel.', 'novablog' ),
'default' => '1',
),
array(
'id' => 'howmany_mobile',
'type' => 'text',
'title' => esc_html__( 'The number of visible posts on phone.', 'novablog' ),
'subtitle' => esc_html__( 'How many posts will be visible on phone in carousel.', 'novablog' ),
'default' => '1',
),
array(
'id' => 'slideshow_thumbheight',
'type' => 'text',
'title' => esc_html__( 'Slideshow height.', 'novablog' ),
'subtitle' => esc_html__( 'Set the height of the slideshow.', 'novablog' ),
'default' => '600',
),
array(
'id' => 'slideshow_margin',
'type' => 'text',
'title' => esc_html__( 'Item margin(px)', 'novablog' ),
'subtitle' => esc_html__( 'Set the margin value of the featured image.', 'novablog' ),
'default' => '30',
),
array(
'id' => 'slideshow_date',
'type' => 'button_set',
'title' => esc_html__( 'Enable or disable post date.', 'novablog' ),
'subtitle' => esc_html__( 'Display post date?', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'slideshow_cat_name',
'type' => 'button_set',
'title' => esc_html__( 'Display the category name.', 'novablog' ),
'subtitle' => esc_html__( 'Do you want to display the category name?', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'slideshow_viewpost',
'type' => 'button_set',
'title' => esc_html__( 'Display the VIEW POST button.', 'novablog' ),
'subtitle' => esc_html__( 'Do you want to display the VIEW POST button ?', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'no'
),
array(
'id' => 'view_post_slideshow_color',
'type' => 'link_color',
'title' => esc_html__( 'View post button color', 'novablog' ),
'subtitle' => esc_html__( 'Change the view post button color.', 'novablog' ),
'output' => array( 'a.slideshow-btn' ),
'active' => false,
'default' => array(
'regular' => '#222222',
'hover' => '#222222',
)
),
array(
'id' => 'view_post_slideshow_border_color',
'type' => 'link_color',
'title' => esc_html__( 'View post button border color', 'novablog' ),
'subtitle' => esc_html__( 'Change the view post button border color.', 'novablog' ),
'active' => false,
'default' => array(
'regular' => '#222222',
'hover' => '#222222',
)
),
array(
'id' => 'view_post_slideshow_background_color',
'type' => 'link_color',
'title' => esc_html__( 'View post button background color', 'novablog' ),
'subtitle' => esc_html__( 'Change the view post button background color.', 'novablog' ),
'active' => false,
'default' => array(
'regular' => '#ffffff',
'hover' => '#ffffff',
)
),
array(
'id' => 'view_post_slideshow_button_padding',
'type' => 'spacing',
'mode' => 'padding',
//'all' => true,
'top' => true,
'right' => true,
'bottom' => true,
'left' => true,
'output' => array( 'a.slideshow-btn' ),
'units' => array( 'em', 'px', '%' ),
'units_extended' => 'true',
'title' => esc_html__( 'View post button padding', 'novablog' ),
'subtitle' => esc_html__( 'Enter the View post button padding value.', 'novablog' ),
'default' => array(
'padding-top' => '12px',
'padding-right' => '26px',
'padding-bottom' => '12px',
'padding-left' => '26px',
)
),
array(
'id' => 'slideshow_excerpt_words',
'type' => 'slider',
'title' => esc_html__( 'The number of words in the excerpt', 'novablog' ),
'subtitle' => esc_html__( 'How many words will be disapled in the post excerpt', 'novablog' ),
'desc' => esc_html__( 'Min: 0, max: 150, step: 1, default value: 10', 'novablog' ),
'default' => 10,
'min' => 0,
'step' => 1,
'max' => 150,
'display_value' => 'text'
),
array(
'id' => 'slideshow_autoplay',
'type' => 'button_set',
'title' => esc_html__( 'Enable autoplay funtion', 'novablog' ),
'subtitle' => esc_html__( 'If you want to disable autoplay function choose No', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'slideshow_pause',
'type' => 'text',
'title' => esc_html__( 'Pause between slides', 'novablog' ),
'subtitle' => esc_html__( 'Pause between slides in milliseconds. Example: 5000 is a 5 seconds.', 'novablog' ),
'default' => '5000',
),
array(
'id' => 'slideshow_displaynavs',
'type' => 'button_set',
'title' => esc_html__( 'Next and prev navigation', 'novablog' ),
'subtitle' => esc_html__( 'Display next and prev navigation.', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'slideshow_displaypagination',
'type' => 'button_set',
'title' => esc_html__( 'Pagination', 'novablog' ),
'subtitle' => esc_html__( 'Display pagination buttons.', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'no'
),
array(
'id' => 'slideshow_overlay_link',
'type' => 'button_set',
'title' => esc_html__( 'Slideshow overlay link', 'novablog' ),
'subtitle' => esc_html__( 'Do you want to enable slideshow overlay link?', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'slideshow_overlay_color',
'type' => 'color_rgba',
'title' => esc_html__( 'Slideshow overlay', 'novablog' ),
'subtitle' => esc_html__( 'Change the slideshow overlay color.', 'novablog' ),
'default' => array(
'color' => '#000000',
'alpha' => '.18'
),
'mode' => 'background',
),
array(
'id' => 'slideshow_heading_text_color',
'type' => 'color',
'title' => esc_html__( 'Slideshow heading text color', 'novablog' ),
'subtitle' => esc_html__( 'Change the slideshow heading text color', 'novablog' ),
'output' => array( '.carousel-wrap h2' ),
'default' => '#ffffff'
),
array(
'id' => 'slideshow_text_color',
'type' => 'color',
'title' => esc_html__( 'Slideshow texts color', 'novablog' ),
'subtitle' => esc_html__( 'Change the slideshow texts color', 'novablog' ),
'output' => array( '.slideshow .meta-space-top, .slideshow .meta-space-top a, .slideshow .excerpt p' ),
'default' => '#ffffff'
),
)
) );
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'Promo area', 'novablog' ),
'id' => 'promo-slides',
'icon' => 'el el-share',
'fields' => array(
array(
'id' => 'promotion_enable',
'type' => 'button_set',
'title' => esc_html__( 'Enable promotion area', 'novablog' ),
'subtitle' => esc_html__( 'Enable or disable promotion area on main blog page.', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'no'
),
array(
'id' => 'promotion_border_color',
'type' => 'border',
'title' => esc_html__( 'Promo inner border color and width', 'novablog' ),
'subtitle' => esc_html__( 'Change the inner border color and width.', 'novablog' ),
'all' => false,
'output' => array('.promo .cover-wrapper::before'),
'default' => array(
'border-color' => '#ffffff',
'border-style' => 'solid',
'border-top' => '6px',
'border-right' => '6px',
'border-bottom' => '6px',
'border-left' => '6px'
)
),
array(
'id' => 'promo_image_width',
'type' => 'text',
'title' => esc_html__( 'Image width', 'novablog' ),
'subtitle' => esc_html__( 'Set the image width value.', 'novablog' ),
'default' => '270',
),
array(
'id' => 'promo_image_height',
'type' => 'text',
'title' => esc_html__( 'Image height', 'novablog' ),
'subtitle' => esc_html__( 'Set the image height value.', 'novablog' ),
'default' => '350',
),
array(
'id' => 'promo-areaslides',
'type' => 'slides',
'title' => esc_html__( 'Promo items', 'novablog' ),
'subtitle' => esc_html__( 'Add promo items.', 'novablog' ),
'show' => array(
'title' => true,
'description' => false,
'url' => true,
),
'content_title' => esc_html__( 'Promo Item', 'novablog' ),
'placeholder' => array(
'title' => esc_html__( 'Title', 'novablog' ),
'url' => esc_html__( 'Link', 'novablog' ),
),
),
)
) );
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'Posts Social Networks', 'novablog' ),
'id' => 'hs-social',
'icon' => 'el el-share',
'fields' => array(
array(
'id' => 'social_share',
'type' => 'button_set',
'title' => esc_html__( 'Enable Social sharing for blog posts?', 'novablog' ),
'subtitle' => esc_html__( 'Enable or Disable Social sharing for blog posts.', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'shareon',
'type' => 'button_set',
'title' => esc_html__( 'Display Share on text', 'novablog' ),
'subtitle' => esc_html__( 'Should Share on text be displayed?', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'facebook_share',
'type' => 'button_set',
'title' => esc_html__( 'Enable Facebook sharing for blog posts?', 'novablog' ),
'subtitle' => esc_html__( 'Enable or Disable Facebook sharing for blog posts.', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'twitter_share',
'type' => 'button_set',
'title' => esc_html__( 'Enable Twitter sharing for blog posts?', 'novablog' ),
'subtitle' => esc_html__( 'Enable or Disable Twitter sharing for blog posts.', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'hs_twitter_username',
'type' => 'text',
'title' => esc_html__( 'Twitter username', 'novablog' ),
'subtitle' => esc_html__( 'Enter your Twitter username.', 'novablog' ),
'default' => 'novablog',
),
array(
'id' => 'gplus_share',
'type' => 'button_set',
'title' => esc_html__( 'Enable Google Plus sharing for blog posts?', 'novablog' ),
'subtitle' => esc_html__( 'Enable or Disable Google Plus sharing for blog posts.', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'pinterest_share',
'type' => 'button_set',
'title' => esc_html__( 'Enable Pinterest sharing for blog posts?', 'novablog' ),
'subtitle' => esc_html__( 'Enable or Disable Pinterest sharing for blog posts.', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'tumblr_share',
'type' => 'button_set',
'title' => esc_html__( 'Enable Tumblr sharing for blog posts?', 'novablog' ),
'subtitle' => esc_html__( 'Enable or Disable Tumblr sharing for blog posts.', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'vkontakte_share',
'type' => 'button_set',
'title' => esc_html__( 'Enable vkontakte sharing for blog posts?', 'novablog' ),
'subtitle' => esc_html__( 'Enable or Disable vkontakte sharing for blog posts.', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'whatsapp_share',
'type' => 'button_set',
'title' => esc_html__( 'Enable whatsapp sharing for blog posts?', 'novablog' ),
'subtitle' => esc_html__( 'Enable or Disable whatsapp sharing for blog posts.', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'email_share',
'type' => 'button_set',
'title' => esc_html__( 'Enable Email sharing for blog posts?', 'novablog' ),
'subtitle' => esc_html__( 'Enable or Disable Email sharing for blog posts.', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
)
) );
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'Fixed Social Networks Bar', 'novablog' ),
'id' => 'hs-fixed-social',
'icon' => 'el el-share',
'fields' => array(
array(
'id' => 'fixed_social_share',
'type' => 'button_set',
'title' => esc_html__( 'Enable Fixed Social Networks', 'novablog' ),
'subtitle' => esc_html__( 'Enable or Disable Fixed Social Networks', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'no'
),
array(
'id' => 'fixed_facebook_url',
'type' => 'text',
'title' => esc_html__( 'Facebook URL', 'novablog' ),
'default' => '',
),
array(
'id' => 'fixed_twitter_url',
'type' => 'text',
'title' => esc_html__( 'Twitter URL', 'novablog' ),
'default' => '',
),
array(
'id' => 'fixed_pinterest_url',
'type' => 'text',
'title' => esc_html__( 'Pinterest URL', 'novablog' ),
'default' => '',
),
array(
'id' => 'fixed_instagram_url',
'type' => 'text',
'title' => esc_html__( 'Instagram URL', 'novablog' ),
'default' => '',
),
array(
'id' => 'fixed_bloglovin_url',
'type' => 'text',
'title' => esc_html__( 'Bloglovin URL', 'novablog' ),
'default' => '',
),
array(
'id' => 'fixed_rss_url',
'type' => 'text',
'title' => esc_html__( 'Rss Feed URL', 'novablog' ),
'default' => '',
),
)
) );
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'Blog grid', 'novablog' ),
'id' => 'hs-bloggrid',
'icon' => 'el el-th',
'fields' => array(
array(
'id' => 'grid_post_heading',
'type' => 'typography',
'title' => esc_html__( 'H2 Grid Post heading', 'novablog' ),
'font-backup' => false,
'letter-spacing'=> true,
'text-transform'=> true,
'fonts' => $novablog_os_faces,
'all_styles' => true,
'output' => array( '.grid .post-header h2 a, .grid h2.post-title, .post-grid-block h2.grid-post-title a, .post-grid-block h2.grid-post-title' ),
'units' => 'px',
'subtitle' => esc_html__( 'Choose your preferred font for H2 grid post titles.', 'novablog' ),
'default' => array(
'color' => '#222222',
'font-weight' => '400',
'font-family' => 'Playfair Display',
'text-align' => 'center',
'google' => true,
'font-size' => '30px',
'line-height' => '32px',
'letter-spacing'=> '-1px',
'text-transform'=> 'none'
),
),
array(
'id' => 'grid_post_header_color',
'type' => 'link_color',
'title' => esc_html__( 'Grid posts heading hover color', 'novablog' ),
'subtitle' => esc_html__( 'Change the hover color of the the grid posts heading', 'novablog' ),
'output' => array( '.grid .post-header h2 a' ),
'active' => false,
'regular' => false,
'default' => array(
'hover' => '#dddddd',
)
),
array(
'id' => 'blog_grid_special_post',
'type' => 'button_set',
'title' => esc_html__( 'Special post full width', 'novablog' ),
'subtitle' => esc_html__( 'Do you want to have every third, fourth or fifth post full width depending on the selected grid blog layout ?', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'no'
),
array(
'id' => 'blog_grid_image_width',
'type' => 'text',
'title' => esc_html__( 'Image width', 'novablog' ),
'subtitle' => esc_html__( 'Set the image width value.', 'novablog' ),
'default' => '405',
),
array(
'id' => 'blog_grid_image_height',
'type' => 'text',
'title' => esc_html__( 'Image height', 'novablog' ),
'subtitle' => esc_html__( 'Set the image height value.', 'novablog' ),
'default' => '420',
),
)
) );
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'List Blog', 'novablog' ),
'id' => 'hs-bloglist',
'icon' => 'el el-th-list',
'fields' => array(
array(
'id' => 'list_post_heading',
'type' => 'typography',
'title' => esc_html__( 'H2 List Post heading', 'novablog' ),
'font-backup' => false,
'letter-spacing'=> true,
'text-transform'=> true,
'fonts' => $novablog_os_faces,
'all_styles' => true,
'output' => array( '.list-post h2.list-post-title a, .list-post h2.list-post-title' ),
'units' => 'px',
'subtitle' => esc_html__( 'Choose your preferred font for H2 list post titles.', 'novablog' ),
'default' => array(
'color' => '#222222',
'font-weight' => '400',
'font-family' => 'Playfair Display',
'text-align' => 'left',
'google' => true,
'font-size' => '30px',
'line-height' => '36px',
'letter-spacing'=> '-1px',
'text-transform'=> 'none'
),
),
array(
'id' => 'list_post_header_color',
'type' => 'link_color',
'title' => esc_html__( 'List posts heading hover color', 'novablog' ),
'subtitle' => esc_html__( 'Change the hover color of the the list posts heading', 'novablog' ),
'output' => array( '.list-post h2.list-post-title a' ),
'active' => false,
'regular' => false,
'default' => array(
'hover' => '#dddddd',
)
),
array(
'id' => 'blog_list_special_post',
'type' => 'button_set',
'title' => esc_html__( 'Special post full width', 'novablog' ),
'subtitle' => esc_html__( 'Do you want to have every third post full width ?', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'no'
),
array(
'id' => 'blog_list_image_width',
'type' => 'text',
'title' => esc_html__( 'Image width', 'novablog' ),
'subtitle' => esc_html__( 'Set the image width value.', 'novablog' ),
'default' => '560',
),
array(
'id' => 'blog_list_image_height',
'type' => 'text',
'title' => esc_html__( 'Image height', 'novablog' ),
'subtitle' => esc_html__( 'Set the image height value.', 'novablog' ),
'default' => '300',
),
array(
'id' => 'list_container_padding',
'type' => 'spacing',
'mode' => 'padding',
'all' => false,
'left' => true,
'output' => array( '.list-post .block .post_content' ),
'units' => array( 'px' ),
'title' => esc_html__( 'List post container padding', 'novablog' ),
'subtitle' => esc_html__( 'Change the padding of the post container.', 'novablog' ),
'default' => array(
'padding-top' => '30px',
'padding-bottom' => '30px',
'padding-left' => '30px',
'padding-right' => '30px',
'units' => 'px',
)
),
)
) );
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'ZigZag Blog', 'novablog' ),
'id' => 'hs-blogzigzag',
'icon' => 'el el-tasks',
'fields' => array(
array(
'id' => 'zigzag_post_heading',
'type' => 'typography',
'title' => esc_html__( 'H2 Zigzag Post heading', 'novablog' ),
'font-backup' => false,
'letter-spacing'=> true,
'text-transform'=> true,
'fonts' => $novablog_os_faces,
'all_styles' => true,
'output' => array( '.zigazg h2.list-post-title a, .zigazg h2.list-post-title' ),
'units' => 'px',
'subtitle' => esc_html__( 'Choose your preferred font for H2 list post titles.', 'novablog' ),
'default' => array(
'color' => '#222222',
'font-weight' => '400',
'font-family' => 'Playfair Display',
'text-align' => 'center',
'google' => true,
'font-size' => '30px',
'line-height' => '36px',
'letter-spacing'=> '-1px',
'text-transform'=> 'none'
),
),
array(
'id' => 'zigzag_post_header_color',
'type' => 'link_color',
'title' => esc_html__( 'Zigzag posts heading hover color', 'novablog' ),
'subtitle' => esc_html__( 'Change the hover color of the the list posts heading', 'novablog' ),
'output' => array( '.zigazg h2.list-post-title a' ),
'active' => false,
'regular' => false,
'default' => array(
'hover' => '#dddddd',
)
),
array(
'id' => 'blog_zigzag_image_width',
'type' => 'text',
'title' => esc_html__( 'Image width', 'novablog' ),
'subtitle' => esc_html__( 'Set the image width value.', 'novablog' ),
'default' => '470',
),
array(
'id' => 'blog_zigzag_image_height',
'type' => 'text',
'title' => esc_html__( 'Image height', 'novablog' ),
'subtitle' => esc_html__( 'Set the image height value.', 'novablog' ),
'default' => '490',
),
)
) );
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'Gallery', 'novablog' ),
'id' => 'hs-gallery',
'icon' => 'el el-picture',
'fields' => array(
array(
'id' => 'gallery_columns',
'type' => 'select',
'title' => esc_html__( 'Number of columns', 'novablog' ),
'subtitle' => esc_html__( 'Choose the number of columns (2, 3, or 4)', 'novablog' ),
'options' => array(
'2' => '2 columns',
'3' => '3 columns',
'4' => '4 columns',
),
'default' => '3'
),
array(
'id' => 'images_per_page',
'type' => 'text',
'title' => esc_html__( 'Images per page', 'novablog' ),
'subtitle' => esc_html__( 'Set number of thumbnail images per gallery page.', 'novablog' ),
'default' => '3',
),
array(
'id' => 'hs_gallery_heading',
'type' => 'typography',
'title' => esc_html__( 'Image titles font', 'novablog' ),
'font-backup' => false,
'letter-spacing'=> true,
'text-transform'=> true,
'fonts' => $novablog_os_faces,
'all_styles' => true,
'output' => array( 'h3.gall-title' ),
'units' => 'px',
'subtitle' => esc_html__( 'Choose your preferred font for gallery image titles.', 'novablog' ),
'default' => array(
'color' => '#222222',
'font-style' => '400',
'font-family' => 'Playfair Display',
'text-align' => 'center',
'google' => true,
'text-transform'=> 'none',
'font-size' => '21px',
'line-height' => '26px',
'letter-spacing'=> '-1px'
),
),
array(
'id' => 'gallery_cat_filter',
'type' => 'button_set',
'title' => esc_html__( 'Category filter', 'novablog' ),
'subtitle' => esc_html__( 'Display category filter', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'gallery_title',
'type' => 'button_set',
'title' => esc_html__( 'Image titles', 'novablog' ),
'subtitle' => esc_html__( 'Display image titles', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'gallery_image_width',
'type' => 'text',
'title' => esc_html__( 'Image width', 'novablog' ),
'subtitle' => esc_html__( 'Set the image width value.', 'novablog' ),
'default' => '374',
),
array(
'id' => 'gallery_image_height',
'type' => 'text',
'title' => esc_html__( 'Image height', 'novablog' ),
'subtitle' => esc_html__( 'Set the image height value.', 'novablog' ),
'default' => '320',
),
array(
'id' => 'gallery_category',
'type' => 'button_set',
'title' => esc_html__( 'Image category', 'novablog' ),
'subtitle' => esc_html__( 'Display image category', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'gallery_description',
'type' => 'button_set',
'title' => esc_html__( 'Image description', 'novablog' ),
'subtitle' => esc_html__( 'Display image description', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'gallery_excerpt_count',
'type' => 'slider',
'title' => esc_html__( 'Excerpt words', 'novablog' ),
'subtitle' => esc_html__( 'Excerpt length (words).', 'novablog' ),
'desc' => esc_html__( 'Min: 0, max: 150, step: 1, default value: 0', 'novablog' ),
'default' => 15,
'min' => 0,
'step' => 1,
'max' => 150,
'display_value' => 'text'
),
array(
'id' => 'hs_gallery_meta_heading',
'type' => 'typography',
'title' => esc_html__( 'Meta headings font', 'novablog' ),
'font-backup' => false,
'letter-spacing'=> true,
'text-transform'=> true,
'fonts' => $novablog_os_faces,
'all_styles' => true,
'output' => array( '.gallery-meta-line, .gallery-meta-line h4' ),
'units' => 'px',
'subtitle' => esc_html__( 'Choose your preferred font for gallery meta headings.', 'novablog' ),
'default' => array(
'color' => '#222222',
'font-style' => '400',
'font-family' => 'Playfair Display',
'text-align' => 'left',
'google' => true,
'font-size' => '16px',
'line-height' => '20px',
'letter-spacing'=> '0px',
'text-transform'=> 'uppercase'
),
),
)
) );
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'Sidebar', 'novablog' ),
'id' => 'hs-sidebar',
'icon' => 'el el-indent-right',
'fields' => array(
array(
'id' => 'sidebar_width',
'type' => 'button_set',
'title' => esc_html__( 'Sidebar width', 'novablog' ),
'subtitle' => esc_html__( 'Change the sidebar width', 'novablog' ),
'options' => array(
'smaller' => esc_html__( 'Smaller', 'novablog' ),
'bigger' => esc_html__( 'Bigger', 'novablog' )
),
'default' => 'smaller'
),
array(
'id' => 'sidebar_widget_padding',
'type' => 'spacing',
'mode' => 'padding',
'all' => false,
'left' => true,
'output' => array( '.sidebar .widget' ),
'units' => array( 'em', 'px', '%' ),
'title' => esc_html__( 'Sidebar widgets padding', 'novablog' ),
'subtitle' => esc_html__( 'Change the padding of the sidebar widgets.', 'novablog' ),
'default' => array(
'padding-top' => '20px',
'padding-bottom' => '20px',
'padding-left' => '20px',
'padding-right' => '20px',
'units' => 'px',
)
),
array(
'id' => 'sidebar_widgets_border_color',
'type' => 'border',
'title' => esc_html__( 'Sidebar widgets border color and width', 'novablog' ),
'subtitle' => esc_html__( 'Change the sidebar widgets border color and width.', 'novablog' ),
'all' => false,
'output' => array('.sidebar .widget'),
'default' => array(
'border-color' => '#eeeeee',
'border-style' => 'solid',
'border-top' => '1px',
'border-right' => '1px',
'border-bottom' => '1px',
'border-left' => '1px'
)
),
array(
'id' => 'sidebar_sticky',
'type' => 'button_set',
'title' => esc_html__( 'Sidebar type', 'novablog' ),
'subtitle' => esc_html__( 'Change the sidebar type (normal or sticky)', 'novablog' ),
'options' => array(
'stickysidebar' => esc_html__( 'Sticky', 'novablog' ),
'normalsidebar' => esc_html__( 'Normal', 'novablog' )
),
'default' => 'normalsidebar'
),
array(
'id' => 'h4_sidebar_heading',
'type' => 'typography',
'title' => esc_html__( 'Sidebar heading font', 'novablog' ),
'font-backup' => false,
'letter-spacing'=> true,
'text-transform'=> true,
'all_styles' => true,
'fonts' => $novablog_os_faces,
'output' => array( '.widget-content h4.subtitle' ),
'units' => 'px',
'subtitle' => esc_html__( 'Choose your preferred font for sidebar H4 headings.', 'novablog' ),
'default' => array(
'color' => '#222222',
'font-weight' => '400',
'font-family' => 'Playfair Display',
'text-align' => 'center',
'google' => true,
'font-size' => '16px',
'line-height' => '20px',
'letter-spacing'=> '0px',
'text-transform'=> 'uppercase'
),
),
array(
'id' => 'sidebar_heading_margin',
'type' => 'spacing',
'mode' => 'margin',
'all' => false,
'output' => array( '.widget-content h4.subtitle' ),
'top' => true,
'right' => false,
'bottom' => true,
'left' => false,
'units' => array( 'em', 'px', '%' ),
'units_extended' => 'true',
'title' => esc_html__( 'Sidebar heading margin', 'novablog' ),
'subtitle' => esc_html__( 'Enter the top and bottom sidebar heading margin.', 'novablog' ),
'default' => array(
'margin-top' => '0px',
'margin-bottom' => '14px',
)
),
array(
'id' => 'sidebar_heading_padding',
'type' => 'spacing',
'mode' => 'padding',
'all' => false,
'left' => true,
'output' => array( '.widget-content h4.subtitle' ),
'units' => array( 'em', 'px', '%' ),
'title' => esc_html__( 'Sidebar heading padding', 'novablog' ),
'subtitle' => esc_html__( 'Change the padding of the sidebar heading.', 'novablog' ),
'default' => array(
'padding-top' => '0px',
'padding-bottom' => '14px',
'padding-left' => '0px',
'padding-right' => '0px',
'units' => 'px',
)
),
array(
'id' => 'sidebar_heading_border_color',
'type' => 'border',
'title' => esc_html__( 'Sidebar heading border color and width', 'novablog' ),
'subtitle' => esc_html__( 'Change the sidebar heading border color and width.', 'novablog' ),
'all' => false,
'output' => array('.widget-content h4.subtitle'),
'default' => array(
'border-color' => '#eeeeee',
'border-style' => 'solid',
'border-top' => '0px',
'border-right' => '0px',
'border-bottom' => '1px',
'border-left' => '0px'
)
),
array(
'id' => 'sidebar_heading_bgcolor',
'type' => 'color_rgba',
'title' => esc_html__( 'Sidebar heading bg color', 'novablog' ),
'subtitle' => esc_html__( 'Change the background color of the sidebar heading.', 'novablog' ),
'output' => array('background-color' => '.widget-content h4.subtitle'),
'default' => array(
'color' => '#ffffff',
'alpha' => '1'
),
'mode' => 'background',
),
array(
'id' => 'sidebar_heading_arrow_enable',
'type' => 'button_set',
'title' => esc_html__( 'Enable the arrow below the sidebar heading', 'novablog' ),
'subtitle' => esc_html__( 'Do you want to display the arrow below the sidebar heading ?', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'no'
),
array(
'id' => 'sidebar_post_header_color',
'type' => 'link_color',
'title' => esc_html__( 'Recent News widget posts heading colour', 'novablog' ),
'subtitle' => esc_html__( 'Change the colour of the the Recent News posts heading', 'novablog' ),
'output' => array( '.my_posts_type_widget h4 a' ),
'active' => false,
'default' => array(
'regular' => '#000000',
'hover' => '#dddddd',
)
),
array(
'id' => 'h4_sidebar_post_post_list_heading',
'type' => 'typography',
'title' => esc_html__( 'Sidebar recent news font', 'novablog' ),
'font-backup' => false,
'letter-spacing'=> true,
'text-transform'=> true,
'all_styles' => true,
'fonts' => $novablog_os_faces,
'output' => array( '.post-list_h h4 a, .post-list_h h4' ),
'units' => 'px',
'subtitle' => esc_html__( 'Choose your preferred font for recent news headings.', 'novablog' ),
'default' => array(
'color' => '#222222',
'font-weight' => '400',
'font-family' => 'Playfair Display',
'text-align' => 'center',
'text-transform'=> 'none',
'google' => true,
'font-size' => '20px',
'line-height' => '23px',
'letter-spacing'=> '-1px'
),
),
)
) );
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'Footer', 'novablog' ),
'id' => 'hs-footer',
'icon' => 'el el-chevron-down',
'fields' => array(
array(
'id' => 'footer_text',
'type' => 'textarea',
'title' => esc_html__( 'Footer copyright text', 'novablog' ),
'subtitle' => esc_html__( 'Enter text used in the right side of the footer. HTML tags are allowed.', 'novablog' ),
'default' => 'Copyrights © 2017 NOVABLOG. All Rights Reserved.',
'allowed_html' => array(
'a' => array(
'href' => array(),
'title' => array()
),
'br' => array(),
'em' => array(),
'strong' => array(),
'div' => array(),
'p' => array(),
'span' => array()
)
),
array(
'id' => 'feed_url',
'type' => 'text',
'title' => esc_html__( 'Feedburner URL', 'novablog' ),
'subtitle' => esc_html__( 'Feedburner is a Google service that takes care of your RSS feed. Paste your Feedburner URL here to let readers see it in your website.', 'novablog' ),
'default' => '',
),
array(
'id' => 'bottom_layout',
'type' => 'button_set',
'title' => esc_html__( 'Bottom widgets layout', 'novablog' ),
'subtitle' => esc_html__( 'Choose Bottom widgets area layout', 'novablog' ),
'options' => array(
'onecolumn' => 'One column',
'threecols' => 'Three columns'
),
'default' => 'threecols'
),
array(
'id' => 'footer_layout_order',
'type' => 'sorter',
'title' => esc_html__( 'Footer sections order', 'novablog' ),
'desc' => esc_html__( 'Organize how you want the footer to appear', 'novablog' ),
'compiler' => 'true',
'options' => array(
'enabled' => array(
'instagram' => esc_html__( 'Instagram area', 'novablog' ),
'bottom' => esc_html__( 'Bottom 1, 2, 3 area', 'novablog' )
),
),
),
array(
'id' => 'footer_menu',
'type' => 'button_set',
'title' => esc_html__( 'Display Footer Menu?', 'novablog' ),
'subtitle' => esc_html__( 'Do you want to display footer menu?', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'footer_logo',
'type' => 'button_set',
'title' => esc_html__( 'Display Footer Logo?', 'novablog' ),
'subtitle' => esc_html__( 'Do you want to display logo in the footer?', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'footer_lowest',
'type' => 'button_set',
'title' => esc_html__( 'Display the lowest Footer Section?', 'novablog' ),
'subtitle' => esc_html__( 'Do you want to display the lowest footer section?', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'yes'
),
array(
'id' => 'footer_menu_typography',
'type' => 'typography',
'title' => esc_html__( 'Footer Menu Typography', 'novablog' ),
'subtitle' => esc_html__( 'Choose your prefered font for menu.', 'novablog' ),
'google' => true,
'fonts' => $novablog_os_faces,
'letter-spacing'=> true,
'output' => array( '.nav.footer-nav a' ),
'default' => array(
'color' => '#aaaaaa',
'font-size' => '12px',
'line-height' => '22px',
'letter-spacing' => '0px',
'font-family' => '',
'font-weight' => 'Normal',
),
),
array(
'id' => 'footer_menu_hover_color',
'type' => 'link_color',
'title' => esc_html__( 'Hover / active footer menu link color', 'novablog' ),
'subtitle' => esc_html__( 'Change the footer menu hover/active link color.', 'novablog' ),
'regular' => false,
'active' => false,
'output' => array( '.nav.footer-nav ul li a' ),
'default' => array(
'hover' => '#bbbbbb',
)
),
array(
'id' => 'footer_text_color',
'type' => 'color',
'title' => esc_html__( 'Footer text color', 'novablog' ),
'subtitle' => esc_html__( 'Change the footer text color.', 'novablog' ),
'output' => array( '.footer-text, .footer .social__list_both .social_label' ),
'default' => '#aaaaaa',
'validate' => 'color',
),
array(
'id' => 'footer_logo_color',
'type' => 'link_color',
'title' => esc_html__( 'Footer logo color', 'novablog' ),
'subtitle' => esc_html__( 'Change the footer logo color.', 'novablog' ),
'output' => array( '.footer .logo a' ),
'active' => false,
'default' => array(
'regular' => '#ffffff',
'hover' => '#ffffff',
)
),
array(
'id' => 'footer_logo_tagline_color',
'type' => 'color',
'title' => esc_html__( 'Footer tagline color', 'novablog' ),
'subtitle' => esc_html__( 'Change the footer tagline color.', 'novablog' ),
'output' => array( '.footer .logo_tagline' ),
'default' => '#eeeeee',
'validate' => 'color',
),
array(
'id' => 'footer_bg_color',
'type' => 'background',
'title' => esc_html__( 'Footer background', 'novablog' ),
'subtitle' => esc_html__( 'Change the footer background.', 'novablog' ),
'output' => array( '.footer-logo' ),
'default' => array(
'background-color' => '#bbbbbb',
)
),
array(
'id' => 'footer_border_color',
'type' => 'border',
'title' => esc_html__( 'Footer border color and width', 'novablog' ),
'subtitle' => esc_html__( 'Change the footer border color and width.', 'novablog' ),
'all' => false,
'right' => false,
'left' => false,
'output' => array('.footer'),
'default' => array(
'border-color' => '#eeeeee',
'border-style' => 'solid',
'border-top' => '1px',
'border-bottom' => '0px'
)
),
array(
'id' => 'footer_links_color',
'type' => 'link_color',
'title' => esc_html__( 'Footer links color', 'novablog' ),
'subtitle' => esc_html__( 'Change the footer links color.', 'novablog' ),
'output' => array( '.footer a' ),
'active' => false,
'default' => array(
'regular' => '#bbbbbb',
'hover' => '#e8e8e8',
)
),
array(
'id' => 'footerline_color',
'type' => 'color',
'title' => esc_html__( 'Color of the line above the Copyrights section', 'novablog' ),
'subtitle' => esc_html__( 'Change the color of the line above the Copyrights section.', 'novablog' ),
'default' => '#ffffff',
'validate' => 'color',
'transparent' => true,
),
array(
'id' => 'copyright_bg_color',
'type' => 'background',
'title' => esc_html__( 'Copyright background', 'novablog' ),
'subtitle' => esc_html__( 'Change the copyright section background.', 'novablog' ),
'output' => array( '.lowestfooter' ),
'default' => array(
'background-color' => '#f9f9f9',
)
),
)
) );
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'Cookie banner', 'novablog' ),
'id' => 'hs-cookie-banner',
'icon' => 'el el-chevron-down',
'fields' => array(
array(
'id' => 'cookie_banner',
'type' => 'button_set',
'title' => esc_html__( 'Cookie banner', 'novablog' ),
'subtitle' => esc_html__( 'Display Cookie Banner?', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'no'
),
array(
'id' => 'cookie_text',
'type' => 'textarea',
'title' => esc_html__( 'Message', 'novablog' ),
'subtitle' => esc_html__( 'Enter the cookie banner message.', 'novablog' ),
'default' => 'We use cookies to ensure you get the best experience on our website.',
),
)
) );
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'Newsletter', 'novablog' ),
'id' => 'hs-newsletter',
'icon' => 'el el-envelope',
'fields' => array(
array(
'id' => 'newsletter_image',
'type' => 'background',
'title' => esc_html__( 'Newsletter background image', 'novablog' ),
'subtitle' => esc_html__( 'Change the newsletter background image.', 'novablog' ),
'output' => array( '#hs_signup' ),
'default' => array(
'background-color' => '#ffffff',
)
),
array(
'id' => 'hs_newsletter_display',
'type' => 'button_set',
'title' => esc_html__( 'Display SUBSCRIBE link?', 'novablog' ),
'subtitle' => esc_html__( 'Display SUBSCRIBE link in the main menu?', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'no'
),
array(
'id' => 'newsletter-text',
'type' => 'editor',
'title' => esc_html__('Newsletter text', 'novablog'),
'subtitle' => esc_html__('Newsletter text go here.', 'novablog'),
'default' => 'Sign up with your email address to be the first to know about new products, VIP offers, blog features & more.',
'args' => array(
'teeny' => false,
'textarea_rows' => 20
)),
array(
'id' => 'newsletter-cookie-onload',
'type' => 'button_set',
'title' => esc_html__( 'Newsletter onload', 'novablog' ),
'subtitle' => esc_html__( 'Do you want to display Newsletter popup window on page load ? Pop up will show up only once. It will appear again after 15 days, unless you delete the cookies files.', 'novablog' ),
'options' => array(
'yes' => esc_html__( 'Yes', 'novablog' ),
'no' => esc_html__( 'No', 'novablog' )
),
'default' => 'no'
),
)
) );
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'Login Form', 'novablog' ),
'id' => 'hs-login-form',
'icon' => 'el el-user',
'fields' => array(
array(
'id' => 'login_form_logo',
'type' => 'media',
'url' => true,
'title' => esc_html__( 'Login Form logo', 'novablog' ),
'subtitle' => esc_html__( 'Upload the login form logo image. Logo dimensions should be: 320px x 67px', 'novablog' ),
'default' => array( 'url' => '' ),
),
array(
'id' => 'login_form_image_bg',
'type' => 'media',
'url' => true,
'title' => esc_html__( 'Login Form background', 'novablog' ),
'subtitle' => esc_html__( 'Change the Login Form background image', 'novablog' ),
'default' => array( 'url' => '' ),
),
)
) );
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'Woocommerce', 'novablog' ),
'id' => 'hs-woocommerce',
'icon' => 'el el-shopping-cart',
'fields' => array(
array(
'id' => 'woocommerce_title',
'type' => 'text',
'title' => esc_html__( 'Shop page title', 'novablog' ),
'subtitle' => esc_html__( 'Enter Your Shop Title.', 'novablog' ),
'default' => 'Welcome to NovaBlog store',
),
array(
'id' => 'woocommerce_subtitle',
'type' => 'text',
'title' => esc_html__( 'Blog page subtitle', 'novablog' ),
'subtitle' => esc_html__( 'Enter Your Shop Subtitle.', 'novablog' ),
'default' => 'Shirts & Shorts to Complete any outfit',
),
array(
'id' => 'woocommerce_sidebar_pos',
'type' => 'image_select',
'title' => esc_html__( 'Default woocommerce page layout', 'novablog' ),
'subtitle' => esc_html__( 'Choose your default woocommerce page layout.', 'novablog' ),
'options' => array(
'left' => array( 'title' => 'left sidebar', 'img' => get_template_directory_uri() . '/includes/images/2cl.png' ),
'right' => array( 'title' => 'right sidebar', 'img' => get_template_directory_uri() . '/includes/images/2cr.png' ),
'full' => array( 'title' => 'no sidebar', 'img' => get_template_directory_uri() . '/includes/images/1col.png' )
),
'default' => 'right'
),
array(
'id' => 'woocommerce_items_per_page',
'type' => 'text',
'title' => esc_html__( 'Products per page', 'novablog' ),
'subtitle' => esc_html__( 'Number of products per page.', 'novablog' ),
'default' => '6'
),
)
) );
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'Twitter settings', 'novablog' ),
'id' => 'hs-twitter-settings',
'icon' => 'el el-twitter',
'fields' => array(
array(
'id' => 'info_normal',
'type' => 'info',
'desc' => esc_html__('Twitter access is required for Twitter widget. Open the documentation and read Twitter API chapter.', 'novablog')
),
array(
'id' => 'twitter_consumer_key',
'type' => 'text',
'title' => esc_html__( 'Consumer Key', 'novablog' ),
'default' => '',
),
array(
'id' => 'twitter_consumer_secret',
'type' => 'text',
'title' => esc_html__( 'Consumer Secret', 'novablog' ),
'default' => '',
),
)
) );
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'Google Analytics', 'novablog' ),
'id' => 'hs-google-analytics',
'icon' => 'el el-googleplus',
'fields' => array(
array(
'id' => 'google_analytics',
'type' => 'ace_editor',
'title' => esc_html__( 'Google Analytics', 'novablog' ),
'subtitle' => esc_html__( 'Want to add Google Analytics code or any custom js code? Put in here, and the rest is taken care of.', 'novablog' ),
'mode' => 'javascript',
'theme' => 'chrome',
'default' => ""
),
)
) );
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'Ads', 'novablog' ),
'id' => 'hs-ads',
'icon' => 'el el-googleplus',
'fields' => array(
array(
'id' => 'custom_ads',
'type' => 'ace_editor',
'title' => esc_html__( 'Ads', 'novablog' ),
'subtitle' => esc_html__( 'Put here you ads code. Ads will be displayed above the post content.', 'novablog' ),
'mode' => 'javascript',
'theme' => 'chrome',
'default' => ""
),
)
) );
}
novablog_OptionsPanel();