'option', 'transport' => 'postMessage', 'capability' => 'manage_options', 'save_defaults' => true, 'enqueue_webfont' => true, 'async_webfont' => false, 'output_css' => true, )); /** * == Section Settings == */ CSF::createSection( $prefix, array( 'id' => 'blm_sections', // Set a unique slug-like ID 'title' => __( 'Sections Settings', 'blog-max-lite' ), 'priority' => 22, ) ); /** * Site Navigation */ CSF::createSection( $prefix, array( 'parent' => 'blm_sections', // The slug id of the parent section 'title' => __( 'Navigation', 'blog-max-lite' ), 'fields' => array( // Nav Color array( 'type' => 'subheading', 'content' => __( '

Colors

', 'blog-max-lite' ), ), // nav background array( 'id' => 'nav_bg', 'type' => 'color', 'title' => __( 'Background', 'blog-max-lite' ), 'default' => '#f0f0f0', 'output_mode' => 'background-color', 'output' => '.main-nav' ),// nav bg // nav color array( 'id' => 'nav_color', 'type' => 'color', 'title' => __( 'Color', 'blog-max-lite' ), 'default' => '#5d5d5d', 'output_mode' => 'color', 'output' => '#primary-menu li a' ),// nav color // nav Hover color array( 'id' => 'nav_hover_color', 'type' => 'color', 'title' => __( 'Hover Color', 'blog-max-lite' ), 'default' => '#000000', 'help' => __( 'Hover Color Works After Publishing', 'blog-max-lite' ) ),// nav hover color // Nav Spacing array( 'type' => 'subheading', 'content' => __( '

Spacing

', 'blog-max-lite' ), ), array( 'id' => 'nav_padding', 'type' => 'spacing', 'top_icon' => '', 'left_icon' => '', 'bottom' => false, 'right' => false, 'title' => __( 'Padding', 'blog-max-lite' ), 'units' => array( 'px' ), 'default' => array( 'top' => '10', 'left' => '20', 'unit' => 'px', ), ), // Nav Typography array( 'type' => 'subheading', 'content' => __( '

Typography

', 'blog-max-lite' ), ), array( 'id' => 'nav_typo', 'type' => 'typography', 'title' => __( 'Menu Typography', 'blog-max-lite' ), 'line_height' => false, 'letter_spacing' => false, 'text_align' => false, 'text_transform' => false, 'color' => false, 'subset' => false, 'preview' => false, 'output' => '#primary-menu li a', 'default' => array( 'font-family' => 'Roboto', 'font-size' => '14', 'unit' => 'px', ), ), ) ) ); // ========== End Site Navigation /** * Site Search */ CSF::createSection( $prefix, array( 'parent' => 'blm_sections', // The slug id of the parent section 'title' => __( 'Search', 'blog-max-lite' ), 'fields' => array( // Color array( 'type' => 'subheading', 'content' => __( '

Color

', 'blog-max-lite' ), ), // search color array( 'id' => 'search_icon_color', 'type' => 'color', 'title' => __( 'Icon Color', 'blog-max-lite' ), 'default' => '#333333', 'output_mode' => 'color', 'output' => '.search-icon' ),// nav bg // Search Spacing array( 'type' => 'subheading', 'content' => __( '

Spacing

', 'blog-max-lite' ), ), array( 'id' => 'search_icon_lheight', 'type' => 'slider', 'output_mode' => 'line-height', 'output' => '.search-icon', 'title' => __( 'Icon Line Height', 'blog-max-lite' ), 'default' => '2.85', 'unit' => 'em', 'max' => 10, 'step' => .05 ), // Size array( 'type' => 'subheading', 'content' => __( '

Size

', 'blog-max-lite' ), ), array( 'id' => 'search_icon_size', 'type' => 'slider', 'title' => __( 'Icon Size', 'blog-max-lite' ), 'output_mode' => 'font-size', 'output' => '.search-icon', 'default' => '14', 'max' => 100, ), ) ) ); // Create a sub-tab CSF::createSection( $prefix, array( 'parent' => 'primary_tab', 'title' => 'Sub Tab 2', 'fields' => array( // A textarea field array( 'id' => 'opt-textarea', 'type' => 'textarea', 'title' => 'Simple Textarea', ), ) ) ); // // Create a top-tab CSF::createSection( $prefix, array( 'id' => 'secondry_tab', // Set a unique slug-like ID 'title' => 'Secondry Tab', ) ); // // Create a sub-tab CSF::createSection( $prefix, array( 'parent' => 'secondry_tab', // The slug id of the parent section 'title' => 'Sub Tab 1', 'fields' => array( // A switcher field array( 'id' => 'opt-switcher', 'type' => 'switcher', 'title' => 'Simple Switcher', ), ) ) ); }