dvadf
File manager - Edit - /home/theblueo/www/wp-content/themes/thebos/framework/theme/theme_options.php
Back
<?php /** * ReduxFramework Config File */ if ( ! class_exists( 'Redux' ) ) { return; } $theme = wp_get_theme(); $theme_name = $theme->get( 'Name' ); $opt_name = 'nimbus_option'; /** * ---> SET ARGUMENTS * All the possible arguments for Redux. * For full documentation on arguments, please refer to: https: * */ $args = array( 'opt_name' => $opt_name, 'display_name' => $theme->get( 'Name' ), 'display_version' => $theme->get( 'Version' ), 'menu_type' => 'menu', 'allow_sub_menu' => false, 'menu_title' => $theme_name, 'page_title' => $theme_name, 'google_api_key' => 'AIzaSyDBR2UrLON35jO7mAaQMeqTGNWZciIq_2A', 'google_update_weekly' => true, 'async_typography' => true, 'admin_bar' => true, 'admin_bar_icon' => 'dashicons-portfolio', 'admin_bar_priority' => 50, 'global_variable' => '', 'dev_mode' => false, 'update_notice' => false, 'customizer' => true, 'page_priority' => null, 'page_parent' => 'themes.php', 'page_permissions' => 'manage_options', 'menu_icon' => '', 'last_tab' => '', 'page_icon' => 'icon-themes', 'page_slug' => nimbus_clean_str($theme_name), 'save_defaults' => true, 'default_show' => false, 'default_mark' => '', 'show_import_export' => true, 'transient_time' => 60 * MINUTE_IN_SECONDS, 'output' => true, 'output_tag' => true, 'database' => '', 'use_cdn' => true, ); $args['footer_text'] = ''; Redux::setArgs( $opt_name, $args ); /* * ---> END ARGUMENTS */ /* * * ---> START SECTIONS * */ $templates = array(); $templates['default'] = 'Default'; $templates_arr = get_posts( array( 'post_type' => 'nb_templates' ) ); foreach ($templates_arr as $templates_name) { $templates[$templates_name->ID] = $templates_name->post_title; } $ctf7 = array(); $ctf7_arr = get_posts( array( 'post_type' => 'wpcf7_contact_form' ) ); foreach ($ctf7_arr as $ctf7_name) { $ctf7[$ctf7_name->ID] = $ctf7_name->post_title; } Redux::setSection( $opt_name, array( 'title' => esc_html__('General', 'nimbus' ), 'id' => 'nimbus-theme-general', 'icon' => 'el el-glasses', 'fields' => array( array( 'id' => 'switch-fixed-preloader', 'type' => 'switch', 'title' => esc_html__('Preloader', 'nimbus'), 'on' => 'Enabled', 'off' => 'Disabled', 'default' => true, ), array( 'id' => 'switch-responsive', 'type' => 'switch', 'title' => esc_html__('Responsive Design', 'nimbus'), 'on' => 'Enabled', 'off' => 'Disabled', 'default' => true, ), ) ) ); Redux::setSection( $opt_name, array( 'title' => esc_html__('Header', 'nimbus' ), 'id' => 'nimbus-theme-header', 'subsection' => true, 'fields' => array( array( 'id' => 'notice_layout_1', 'type' => 'info', 'desc' => esc_html__('Header Design Settings', 'nimbus' ) ), array( 'id' => 'select_header_style', 'type' => 'button_set', 'title' => esc_html__('Header Layout', 'nimbus' ), 'subtitle' => esc_html__('Choose header style and layout.', 'nimbus' ), 'options' => array( 'top' => 'Center Logo', 'top1' => 'Left Logo & Right Menu', 'top2' => 'Left Logo & Menu', 'top3' => 'Half Menu', 'side' => 'Slide Menu', ), 'default' => 'top' ), array( 'required' => array(array('select_header_style', '!=', 'side')), 'id' => 'select_header_container', 'type' => 'button_set', 'title' => esc_html__('Header Container', 'nimbus' ), 'options' => array( 'nb-container' => 'Normal', 'nb-container-fluid' => 'Full', ), 'default' => 'nb-container' ), array( 'id' => 'select_header_menu_action', 'type' => 'editor', 'validate' => 'html', 'title' => esc_html__('Header Menu Action', 'nimbus' ), 'args' => array( 'wpautop' => false, 'media_buttons' => false, 'textarea_rows' => 5, 'editor_css' => '', 'teeny' => true, 'quicktags' => false, ) ), ) ) ); Redux::setSection( $opt_name, array( 'title' => esc_html__('Branding', 'nimbus' ), 'id' => 'nimbus-theme-logo', 'subsection' => true, 'fields' => array( array( 'id' => 'notice_1', 'type' => 'info', 'desc' => esc_html__('Upload and managed your site logo and branding.', 'nimbus' ) ), array( 'id' => 'media_main_logo', 'type' => 'media', 'url' => true, 'title' => esc_html__('Black Logo', 'nimbus' ), 'compiler' => 'true', 'subtitle' => esc_html__('Logo with color design.', 'nimbus' ), 'default' => array( 'url' => get_template_directory_uri()."/assets/images/logo.png" ), ), array( 'id' => 'media_white_logo', 'type' => 'media', 'url' => true, 'title' => esc_html__('White Logo', 'nimbus' ), 'compiler' => 'true', 'subtitle' => esc_html__('Logo with white color.', 'nimbus' ), 'default' => array( 'url' => get_template_directory_uri()."/assets/images/logo-white.png" ), ), array( 'id' => 'notice_2', 'type' => 'info', 'desc' => esc_html__('Ajust logo size', 'nimbus' ) ), array( 'id' => 'dimensions_logo', 'type' => 'dimensions', 'units' => array( 'px' ), 'units_extended' => 'true', 'title' => esc_html__('Dimensions for all logo images', 'nimbus' ), 'subtitle' => esc_html__('Enter Dimensions for all your logo you uploaded.', 'nimbus' ), 'default' => array( 'width' => 158, 'height' => 30, ), 'output' => '.site-header-logo .logo' ), ) ) ); Redux::setSection( $opt_name, array( 'title' => esc_html__('Theme Color', 'nimbus' ), 'id' => 'nimbus-theme-color', 'icon' => 'el el-brush', 'fields' => array( array( 'title' => esc_html__('Primary Theme Color', 'nimbus' ), 'id' => 'color-theme-color', 'type' => 'color', 'default' => '#005cff', 'validate' => 'color', 'output' => array( 'color' => 'h1 a:hover,h2 a:hover,h3 a:hover,h4 a:hover,h5 a:hover,h6 a:hover,a:hover,#nb-header .nb-main-menu ul > li > span a:hover ,#nb-header .nb-main-menu ul > li.sfHover > span > a, #nb-header .nb-main-menu ul > li.current-menu-item > span > a,#nb-header .nb-main-menu ul .nb-cart .nb-cart-count,#nb-header .nb-main-menu ul ul.nb_header_cart_list a:hover,#nb-header .nb-site-info span a:hover,.nb-theme-color,.nb-s-text strong,.nb-small-navi ul li a.selected,.nb-icon-box.active .nb-icon,.button.nb-border, .button.border-style,.nb-button.nb-border,form input.nb-border[type="submit"],form button.nb-border,.nb-button.border-style,form input.border-style[type="submit"],form button.border-style,.nb-content-box .nb-action-link,.nb-pricing-box .nb-pricing-content .nb-price-content .price,.nb-pricing-item.featured .nb-pricing-title .desc,.vc_tta-tabs .vc_tta-tabs-list li.vc_active a,.nb-count-box .nb-icon,.nb-count-box .nb-inner-content .title,.vc_tta-accordion .vc_tta-panel.vc_active .vc_tta-panel-heading,.nb-team-member .nb-team-info h4 strong,.nb-timelines .nb-timeline-track .nb-timeline-item i,.nb-blog-grid .nb-blog-content .nb-category a,.nb-social-lists li a:hover,.nb-widget-content .nb-latest-tweet ul li a,.nb-sidebar-content .nb-latest-tweet ul li a', 'background-color' => '#nb-header .nb-main-menu ul ul,#nb-header .nb-main-menu ul .nb-mega-menu .nb-mega-menu-content,.nb-background-primary,.nb-icon-box.boxed:hover, .nb-icon-box.boxed-style:hover,.active.center .nb-testimonials-item .nb-inner-content,.button,.nb-button,form input[type="submit"],form button,.nb-solid-title.theme-bg h4,.nb-pricing-box .nb-pricing-tab,.vc_tta-accordion .vc_tta-panel.vc_active .vc_tta-panel-heading:before,.vc_tta-tabs .vc_tta-tabs-list li a:after,.vc_tta-tabs.vc_tta-tabs-position-left .vc_tta-tabs-list li.vc_active a:before,.nb-team-member .nb-team-info .nb-team-social a:hover,.nb-team-member.white .nb-team-info .nb-team-social a:hover,.nb-step-nav ul li:before,.nb-step-nav ul li.complete:after,.nb-step-nav ul li.complete a,.nb-timelines .nb-timeline-track:before,.nb-skill-bar .nb-progress .nb-progress-bar,.nb-portfolio .nb-media .nb-media-quick-view:hover,.nb-portfolio-mediabox .mediabox-media:before,.nb-layout-masonry .nb-blog-grid.sticky,.nb-layout-masonry .nb-blog-grid.sticky .nb-blog-content,.nb-site-social ul li a:hover,.navigation.pagination a:hover, .navigation.pagination span:hover,.navigation.post-navigation .nav-links .nav-previous a:hover:before,.navigation.post-navigation .nav-links .nav-next a:hover:before', 'border-bottom-color' => '#nb-header .nb-site-info span a:hover', 'border-color' => '.nb-icon-box.boxed.black.active, .nb-icon-box.boxed-style.black.active,.nb-icon-box.boxed:hover, .nb-icon-box.boxed-style:hover,.nb-pricing-item.featured .nb-pricing-icon,.button.nb-border, .button.border-style,.nb-button.nb-border,form input.nb-border[type="submit"],form button.nb-border,.nb-button.border-style,form input.border-style[type="submit"],form button.border-style,.vc_tta-tabs.vc_tta-tabs-position-left .vc_tta-tabs-list li.vc_active a:before,.vc_tta-accordion .vc_tta-panel.vc_active .vc_tta-panel-heading:before,.nb-team-member.white .nb-team-info .nb-team-social a:hover,.nb-step-nav ul li.complete a,.navigation.pagination a:hover, .navigation.pagination span:hover', 'border-top-color' => '.nb-pricing-box .nb-pricing-tab li.ui-state-active:after, .active.center .nb-testimonials-item .nb-inner-content:after', ), ), array( 'title' => esc_html__('Primary Gray Color', 'nimbus' ), 'id' => 'color-primary-gray-color', 'type' => 'color', 'default' => '#f8f4f4', 'validate' => 'color', 'output' => array( 'border-bottom-color' => '#nb-header .nb-main-menu ul ul.nb_header_cart_list .mini_cart_item,#nb-header .nb-site-info span a,.nb-s-text strong,.nb-custom-heading,.nb-pricing-item .nb-pricing-content ul li span,.vc_tta-tabs.vc_tta-tabs-position-left .vc_tta-tabs-list li a,.nb-widget-content .nb-widget ul li,.nb-sidebar-content .nb-widget ul li,.nb-portfolio-list-content ul li,.entry-content table th, .entry-content table td, .entry-content table tr,.comment-content table th,.comment-content table td,.comment-content table tr,.nb-feature-tabs .nb-tabs li', 'border-left-color' => '.nice-select:before,.nb-header-side #nb-header .nb-main-menu ul ul, .nb-header-side #nb-header .nb-main-menu ul .sf-mega,.vc_tta-tabs.vc_tta-tabs-position-left .vc_tta-tabs-list li a:after,.nb-sidebar-content .nb-widget,.nb-sidebar .nb-main-menu ul ul, .nb-sidebar .nb-main-menu ul .sf-mega', 'background-color' => '.entry-content blockquote,.comment-content blockquote,.entry-footer a,.navigation.post-navigation .nav-links .nav-previous a:before,.navigation.post-navigation .nav-links .nav-next a:before,.vc_tta-tabs.vc_tta-tabs-position-left .vc_tta-tabs-list li.vc_active a,#nb-header .nb-main-menu ul ul.nb_header_cart_list .mini_cart_item .remove,.nb-background-light,.nb-site-heading,.nb-pricing-box .nb-pricing-bottom,.nb-timelines:before,.nb-blog-grid.sticky,.nb-layout-masonry .nb-blog-grid .nb-blog-content,.nb-timeline-list:hover,.nb-site-social ul li a', 'border-top-color' => '.nb-divider,.nb-step-nav ul li a:after, .nb-step-nav ul li a:before,.nb-widget-content .nb-widget ul li ul,.nb-sidebar-content .nb-widget ul li ul,.navigation.post-navigation,.comment-list article,.comment-list .pingback,.comment-list .trackback', 'border-color' => '.nb-content-box,.nb-step-nav ul li a,.nb-timelines .nb-timelines-icon:before, .nb-timelines .nb-timelines-icon:after,.comment-reply-link', 'border-right-color' => '.sidebar-content #sidebar .nb-sidebar-content .nb-widget', ), ), ) ) ); Redux::setSection( $opt_name, array( 'title' => esc_html__('Typography', 'nimbus' ), 'id' => 'nimbus-theme-typo', 'icon' => 'el el-font', 'fields' => array( array( 'id' => 'notice_3', 'type' => 'info', 'desc' => esc_html__('Body & Heading Fonts', 'nimbus' ) ), array( 'id' => 'typography-body', 'type' => 'typography', 'title' => esc_html__('Body Font', 'nimbus' ), 'subtitle' => esc_html__('Specify the body font properties.', 'nimbus' ), 'google' => true, 'output' => 'body', 'default' => array( 'font-family' => 'Roboto', ), 'all_styles' => true, 'text-align' => false, 'font-weight' => false, 'font-style' => false, 'font-size' => false, 'color' => false, 'line-height' => false, ), array( 'id' => 'typography-heading', 'type' => 'typography', 'title' => esc_html__('Heading Font', 'nimbus' ), 'subtitle' => esc_html__('Specify the heading font properties.', 'nimbus' ), 'google' => true, 'default' => array( 'font-family' => 'Poppins', ), 'output' => 'h1,h2,h3,h4,h5,h6,.heading-font, .nb-site-heading .nb-top-bar, .nb-small-navi ul, .button, .nb-button, form input[type="submit"], form button, .nb-pricing-box .nb-pricing-tab, .nb-pricing-box .nb-pricing-content .nb-price-content .price, .nb-pricing-item .nb-pricing-title .desc, .vc_tta-tabs .vc_tta-tabs-list, .nb-count-box .nb-inner-content .title.uppercase, .nb-count-box.style-alt .nb-inner-content .title', 'all_styles' => true, 'text-align' => false, 'font-size' => false, 'font-weight' => false, 'font-style' => false, 'color' => false, 'line-height' => false, ), array( 'id' => 'typography-alt', 'type' => 'typography', 'title' => esc_html__('Alternatively Font', 'nimbus' ), 'subtitle' => esc_html__('Specify the font for quotes, sub-heading.', 'nimbus' ), 'google' => true, 'default' => array( 'font-family' => 'Lora', ), 'output' => '.nb-testimonials-item .nb-inner-content,.comment-content blockquote,.comment-content blockquote', 'all_styles' => true, 'text-align' => false, 'font-size' => false, 'font-weight' => false, 'color' => false, 'line-height' => false, ), array( 'id' => 'notice_4', 'type' => 'info', 'desc' => esc_html__('Body & Heading Size', 'nimbus' ) ), array( 'id' => 'typography-size-body', 'type' => 'typography', 'title' => esc_html__('Body', 'nimbus' ), 'subtitle' => esc_html__('Specify the font for quotes, sub-heading.', 'nimbus' ), 'google' => true, 'output' => 'body', 'default' => array( 'font-size' => '14px', 'font-weight' => '400', 'color' => '#777373' ), 'text-align' => false, 'font-family' => false, 'font-weight' => false, 'font-style' => false, 'line-height' => false, ), array( 'id' => 'typography-size-h1', 'type' => 'typography', 'title' => esc_html__('H1 Heading', 'nimbus' ), 'subtitle' => esc_html__('Specify the font for quotes, sub-heading.', 'nimbus' ), 'google' => true, 'default' => array( 'font-size' => '36px', 'font-weight' => '600', 'color' => '#010101' ), 'output' => 'h1,.as-h1', 'text-align' => false, 'font-family' => false, 'font-weight' => false, 'font-style' => false, 'line-height' => false, ), array( 'id' => 'typography-size-h2', 'type' => 'typography', 'title' => esc_html__('H2 Heading', 'nimbus' ), 'subtitle' => esc_html__('Specify the font for quotes, sub-heading.', 'nimbus' ), 'google' => true, 'default' => array( 'font-size' => '30px', 'font-weight' => '600', 'color' => '#010101' ), 'output' => 'h2,.as-h2', 'text-align' => false, 'font-family' => false, 'font-weight' => false, 'font-style' => false, 'line-height' => false, ), array( 'id' => 'typography-size-h3', 'type' => 'typography', 'title' => esc_html__('H3 Heading', 'nimbus' ), 'subtitle' => esc_html__('Specify the font for quotes, sub-heading.', 'nimbus' ), 'google' => true, 'default' => array( 'font-size' => '22px', 'font-weight' => '600', 'color' => '#010101' ), 'output' => 'h3,.as-h3', 'text-align' => false, 'font-family' => false, 'font-weight' => false, 'font-style' => false, 'line-height' => false, ), array( 'id' => 'typography-size-h4', 'type' => 'typography', 'title' => esc_html__('H4 Heading', 'nimbus' ), 'subtitle' => esc_html__('Specify the font for quotes, sub-heading.', 'nimbus' ), 'google' => true, 'default' => array( 'font-size' => '16px', 'font-weight' => '600', 'color' => '#010101' ), 'output' => 'h4,.as-h4', 'text-align' => false, 'font-family' => false, 'font-weight' => false, 'font-style' => false, 'line-height' => false, ), array( 'id' => 'typography-size-h5', 'type' => 'typography', 'title' => esc_html__('H5 Heading', 'nimbus' ), 'subtitle' => esc_html__('Specify the font for quotes, sub-heading.', 'nimbus' ), 'google' => true, 'default' => array( 'font-size' => '14px', 'font-weight' => '600', 'color' => '#010101' ), 'output' => 'h5,.as-h5', 'text-align' => false, 'font-family' => false, 'font-weight' => false, 'font-style' => false, 'line-height' => false, ), array( 'id' => 'typography-size-h6', 'type' => 'typography', 'title' => esc_html__('H6 Heading', 'nimbus' ), 'subtitle' => esc_html__('Specify the font for quotes, sub-heading.', 'nimbus' ), 'google' => true, 'default' => array( 'font-size' => '12px', 'font-weight' => '600', 'color' => '#010101' ), 'output' => 'h6,.as-h6', 'text-align' => false, 'font-family' => false, 'font-weight' => false, 'font-style' => false, 'line-height' => false, ), ) ) ); Redux::setSection( $opt_name, array( 'title' => esc_html__('Archive', 'nimbus' ), 'id' => 'nimbus-theme-archive', 'icon' => 'el el-book', 'fields' => array( array( 'id' => 'select_archive_layout', 'type' => 'image_select', 'title' => esc_html__('Sidebar', 'nimbus' ), 'subtitle' => esc_html__('Choose post and category default sidebar.', 'nimbus' ), 'options' => array( 'fullwidth' => array( 'alt' => 'Full Width', 'img' => ReduxFramework::$_url . 'assets/img/1col.png' ), 'sidebar-content' => array( 'alt' => 'Left Sidebar', 'img' => ReduxFramework::$_url . 'assets/img/2cl.png' ), 'content-sidebar' => array( 'alt' => 'Right Sidebar', 'img' => ReduxFramework::$_url . 'assets/img/2cr.png' ), ), 'default' => 'content-sidebar' ), array( 'id' => 'select_archive_post_type', 'type' => 'button_set', 'title' => esc_html__('Layout', 'nimbus' ), 'subtitle' => esc_html__('Choose post and category default sidebar.', 'nimbus' ), 'options' => array( 'large' => 'Large', 'masonry' => 'Masonry', 'overlay' => 'Overlay', ), 'default' => 'large' ), array( 'id' => 'switch_archive_excerptlength', 'subtitle' => esc_html__('Show blog short description.', 'nimbus'), 'type' => 'switch', 'title' => esc_html__('Display blog excerpt', 'nimbus'), 'on' => 'Enabled', 'off' => 'Disabled', 'default' => true, ), array( 'id' => 'text_excerptlength', 'type' => 'text', 'title' => esc_html__('Blog Excerpt Length', 'nimbus'), 'subtitle' => esc_html__('Default: 30', 'nimbus'), 'desc' => esc_html__('Used for blog page, archives & search results.', 'nimbus'), 'validate' => 'numeric', 'default' => '30', ), array( 'id' => 'select_archive_columns', 'required' => array(array('select_archive_post_type', '!=', 'large')), 'type' => 'button_set', 'title' => esc_html__('Columns', 'nimbus'), 'subtitle' => esc_html__('Select columns to display', 'nimbus'), 'options' => array( '3' => '4 Columns', '5' => '5 Columns', '4' => '3 Columns', '6' => '2 Columns', ), 'default' => '4', ), ) ) ); Redux::setSection( $opt_name, array( 'title' => esc_html__('Blog', 'nimbus' ), 'id' => 'nimbus-theme-blog', 'icon' => 'el el-book', 'fields' => array( array( 'id' => 'select_blog_layout', 'type' => 'image_select', 'title' => esc_html__('Sidebar', 'nimbus' ), 'subtitle' => esc_html__('Choose post and category default sidebar.', 'nimbus' ), 'options' => array( 'fullwidth' => array( 'alt' => 'Full Width', 'img' => ReduxFramework::$_url . 'assets/img/1col.png' ), 'sidebar-content' => array( 'alt' => 'Left Sidebar', 'img' => ReduxFramework::$_url . 'assets/img/2cl.png' ), 'content-sidebar' => array( 'alt' => 'Right Sidebar', 'img' => ReduxFramework::$_url . 'assets/img/2cr.png' ), ), 'default' => 'content-sidebar' ), array( 'id' => 'switch-blog-comment', 'type' => 'switch', 'title' => 'Blog Comment', 'subtitle' => 'Display Comment.', 'default' => true, 'on' => 'Enabled', 'off' => 'Disabled', ), ) ) ); Redux::setSection( $opt_name, array( 'title' => esc_html__('Page', 'nimbus' ), 'id' => 'nimbus-theme-page', 'icon' => 'el el-file-edit', 'fields' => array( array( 'id' => 'select_page_layout', 'type' => 'image_select', 'title' => esc_html__('Default Page Layout', 'nimbus' ), 'subtitle' => esc_html__('Choose post and category default sidebar.', 'nimbus' ), 'options' => array( 'fullwidth' => array( 'alt' => 'Full Width', 'img' => ReduxFramework::$_url . 'assets/img/1col.png' ), 'sidebar-content' => array( 'alt' => 'Left Sidebar', 'img' => ReduxFramework::$_url . 'assets/img/2cl.png' ), 'content-sidebar' => array( 'alt' => 'Right Sidebar', 'img' => ReduxFramework::$_url . 'assets/img/2cr.png' ), ), 'default' => 'content-sidebar' ), array( 'id' => 'switch_comment_page', 'type' => 'switch', 'title' => esc_html__('Show Comment ?', 'nimbus'), 'on' => 'Enabled', 'off' => 'Disabled', 'default' => true, ), ) ) ); Redux::setSection( $opt_name, array( 'title' => esc_html__('WooCommerce', 'nimbus' ), 'id' => 'nimbus-theme-woocommerce', 'icon' => 'el el-book', 'fields' => array( array( 'id' => 'select_woo_archive_layout', 'type' => 'image_select', 'title' => esc_html__('Sidebar', 'nimbus' ), 'subtitle' => esc_html__('Choose post and category default sidebar.', 'nimbus' ), 'options' => array( 'fullwidth' => array( 'alt' => 'Full Width', 'img' => ReduxFramework::$_url . 'assets/img/1col.png' ), 'sidebar-content' => array( 'alt' => 'Left Sidebar', 'img' => ReduxFramework::$_url . 'assets/img/2cl.png' ), 'content-sidebar' => array( 'alt' => 'Right Sidebar', 'img' => ReduxFramework::$_url . 'assets/img/2cr.png' ), ), 'default' => 'content-sidebar' ), array( 'id' => 'select_woo_archive_columns', 'type' => 'select', 'title' => esc_html__('Columns', 'nimbus'), 'subtitle' => esc_html__('Select columns to display', 'nimbus'), 'options' => array( '6' => '6 Columns', '4' => '4 Columns', '3' => '3 Columns', '2' => '2 Columns', ), 'default' => '4', ), ) ) ); Redux::setSection( $opt_name, array( 'title' => esc_html__('Portfolio', 'nimbus' ), 'id' => 'nimbus-theme-portfolio', 'icon' => 'el el-briefcase', 'fields' => array( array( 'id' => 'notice_portfolio_1', 'type' => 'info', 'desc' => esc_html__('General Settings', 'nimbus' ) ), array( 'id' => 'select_portfolio_sidebar_layout', 'type' => 'image_select', 'title' => esc_html__('Sidebar', 'nimbus' ), 'subtitle' => esc_html__('Choose post and category default sidebar.', 'nimbus' ), 'options' => array( 'fullwidth' => array( 'alt' => 'Full Width', 'img' => ReduxFramework::$_url . 'assets/img/1col.png' ), 'sidebar-content' => array( 'alt' => 'Left Sidebar', 'img' => ReduxFramework::$_url . 'assets/img/2cl.png' ), 'content-sidebar' => array( 'alt' => 'Right Sidebar', 'img' => ReduxFramework::$_url . 'assets/img/2cr.png' ), ), 'default' => 'content-sidebar' ), array( 'id' => 'select_portfolio_columns', 'type' => 'select', 'title' => esc_html__('Portfolio Columns', 'nimbus'), 'subtitle' => esc_html__('Choose default portfolio columns', 'nimbus'), 'options' => array( '2' => '6 Columns', '25' => '5 Columns', '3' => '4 Columns', '4' => '3 Columns', '6' => '2 Columns', ), 'default' => '3', ), array( 'id' => 'select_portfolio_layout', 'type' => 'select', 'title' => esc_html__('Portfolio Layout', 'nimbus'), 'subtitle' => esc_html__('Choose default portfolio layout', 'nimbus'), 'options' => array( 'grid' => 'Grid', 'metro' => 'Metro', 'masonry' => 'Masonry', ), 'default' => 'grid', ), array( 'id' => 'switch-portfolio-fullwidth', 'type' => 'switch', 'title' => esc_html__('Full Width', 'nimbus'), 'on' => 'Enabled', 'off' => 'Disabled', 'default' => true, ), array( 'id' => 'select-portfolio-row', 'type' => 'button_set', 'title' => esc_html__('Row', 'nimbus'), 'options' => array( 'default' => 'Default', 'no-margin' => 'No Margin', ), 'default' => 'default', ), array( 'id' => 'select_portfolio_style', 'type' => 'button_set', 'title' => esc_html__('Portfolio Style', 'nimbus'), 'subtitle' => esc_html__('Choose default portfolio style', 'nimbus'), 'options' => array( 'default' => 'Default', 'hover' => 'Overlay', 'fadein' => 'Title', 'modern' => 'Modern', ), 'default' => 'default', ), array( 'id' => 'text_portfolio_excerptlength', 'subtitle' => esc_html__('Show portfolio short description.', 'nimbus'), 'type' => 'text', 'title' => esc_html__('Display portfolio excerpt', 'nimbus'), 'default' => '30', ), array( 'id' => 'switch-portfolio-summary', 'type' => 'switch', 'title' => esc_html__('Display Summary Text ?', 'nimbus'), 'on' => 'Enabled', 'off' => 'Disabled', 'default' => true, ), array( 'id' => 'text_portfolio_metro_grid', 'type' => 'text', 'title' => esc_html__('Metro Grid Layout', 'nimbus'), 'desc' => esc_html__('', 'nimbus'), 'default' => '2', ), array( 'id' => 'notice_portfolio_2', 'type' => 'info', 'desc' => esc_html__('Portfolio Permalink Settings', 'nimbus' ) ), array( 'id' => 'text_portfolioslug', 'type' => 'text', 'title' => esc_html__('Portfolio Slug', 'nimbus'), 'desc' => esc_html__('Enter the URL Slug for your Portfolio (Default: portfolio-item) <br /><strong>Go save your permalinks after changing this.</strong>', 'nimbus'), 'default' => 'portfolio-item', ), array( 'id' => 'text_portfolio_category_slug', 'type' => 'text', 'title' => esc_html__('Custom Category Slug', 'nimbus'), 'desc' => esc_html__('Enter the Category Taxonomy Slug for your Portfolio (Default: portfolio_category) <br /><strong>Go save your permalinks after changing this.</strong>', 'nimbus'), 'default' => 'portfolio_category', ), array( 'id' => 'text_portfolio_tag_slug', 'type' => 'text', 'title' => esc_html__('Custom Tag Slug', 'nimbus'), 'desc' => esc_html__('Enter the Tag Taxonomy Slug for your Portfolio (Default: portfolio_tag) <br /><strong>Go save your permalinks after changing this.</strong>', 'nimbus'), 'default' => 'portfolio_tag', ), ) ) ); Redux::setSection( $opt_name, array( 'title' => esc_html__('Sidebar', 'nimbus' ), 'id' => 'nimbus-theme-sidebar', 'icon' => 'el el-list', 'fields' => array( array( 'id' => 'multi_text_sidebar', 'type' => 'multi_text', 'title' => esc_html__('Sidebar Generator', 'nimbus'), 'subtitle' => esc_html__('Enter the name of the sidebar you want to create', 'nimbus') ), ) ) ); Redux::setSection( $opt_name, array( 'title' => esc_html__('Footer', 'nimbus' ), 'id' => 'nimbus-theme-footer', 'icon' => 'el el-photo', 'fields' => array( array( 'id' => 'switch_footer_fixed', 'type' => 'switch', 'title' => esc_html__('Fixed Footer ?', 'nimbus'), 'on' => 'Enabled', 'off' => 'Disabled', 'default' => false, ), array( 'id' => 'select_footer_template', 'type' => 'select', 'title' => esc_html__('Footer Template', 'nimbus'), 'subtitle' => esc_html__('Choose template for footer', 'nimbus'), 'options' => $templates ), array( 'id' => 'text_footer_widget', 'type' => 'text', 'title' => esc_html__('Custom Widget Width', 'nimbus'), 'subtitle' => esc_html__('Example: 1/4+1/4+1/4+1/4', 'nimbus'), 'default' => '1/4+1/4+1/4+1/4', ), array( 'id' => 'editor_footer_copyright', 'type' => 'text', 'title' => esc_html__('Footer Copyright Text', 'nimbus'), 'default' => 'Nimbus WordPress Theme.', ), ), ) ); Redux::setSection( $opt_name, array( 'title' => esc_html__('Social Media', 'nimbus' ), 'id' => 'nimbus-theme-social', 'icon' => 'el el-envelope', 'fields' => array( array( 'id' => 'multi_text_social_media', 'type' => 'multi_text', 'title' => esc_html__('Social Media Link', 'nimbus'), 'subtitle' => esc_html__('Add your social media link.', 'nimbus'), 'validate' => 'url', ), array( 'id' => 'multi_text_social_media_target', 'type' => 'radio', 'title' => 'Link Target', 'options' => array( '_blank' => 'Blank', '_self' => 'Self', '_parent' => 'Parent', '_top' => 'Top' ), 'default' => '_self', ), /*array( 'title' => esc_html__('CONSUMER_KEY', 'nimbus'), 'id' => 'text_twitter_consumer_key', 'type' => 'text', 'default' => '', ), array( 'title' => esc_html__('CONSUMER_SECRET', 'nimbus'), 'id' => 'text_twitter_consumer_secret', 'type' => 'text', 'default' => '', ), array( 'title' => esc_html__('ACCESS_TOKEN', 'nimbus'), 'id' => 'text_twitter_access_token', 'type' => 'text', 'default' => '', ), array( 'title' => esc_html__('ACCESS_SECRET', 'nimbus'), 'id' => 'text_twitter_access_secret', 'type' => 'text', 'default' => '', ),*/ ) ) ); Redux::setSection( $opt_name, array( 'title' => esc_html__('Custom Code', 'nimbus' ), 'id' => 'nimbus-theme-custom-code', 'icon' => 'el el-css', 'fields' => array( array( 'id' => 'ace_editor_custom_css', 'type' => 'ace_editor', 'title' => esc_html__('CSS Code', 'nimbus' ), 'subtitle' => esc_html__('Paste your CSS code here.', 'nimbus' ), 'mode' => 'css', 'theme' => 'chrome', ), array( 'id' => 'ace_editor_custom_js', 'type' => 'ace_editor', 'title' => esc_html__('JS Code', 'nimbus' ), 'subtitle' => esc_html__('Paste your JS code here.', 'nimbus' ), 'mode' => 'js', 'theme' => 'chrome', ), ) ) ); /* * <--- END SECTIONS */
dvadf
dvadf
| ver. 1.4 |
Github
|
.
| PHP 7.0.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings