'#ae8d59', 'color_scheme_2' => '#f7e1be', 'header_background_color' => '#fff', 'logo_color' => '#000', /*---[ Default Typography Options ]---*/ // Body Default Typography Options 'body_font_family' => 'Muli', // Logo Default Typography Options', 'logo_font_family' => 'Cinzel', 'logo_font_style' => 'normal', 'logo_font_weight' => '700', 'logo_text_transform' => 'uppercase', 'logo_font_size' => '32px', 'logo_line_height' => '36px', // Navigation Menu Default Typography Options', 'menu_font_family' => 'Muli', 'menu_font_style' => 'normal', 'menu_font_weight' => '700', 'menu_text_transform' => 'uppercase', 'menu_font_size' => '12px', 'menu_line_height' => '20px', // Headings Default Typography Options', 'headings_font_family' => 'Playfair Display', 'headings_font_style' => 'normal', 'headings_font_weight' => '400', // Entry Title Default Typography Options 'entry_title_font_family' => 'Playfair Display', 'entry_title_font_style' => 'normal', 'entry_title_font_weight' => '400', 'entry_title_text_transform' => 'none', 'entry_title_font_size' => '28px', 'entry_title_line_height' => '42px', // Single Title Default Typography Options 'single_title_font_family' => 'Playfair Display', 'single_title_font_style' => 'normal', 'single_title_font_weight' => '400', 'single_title_text_transform' => 'none', 'single_title_font_size' => '36px', 'single_title_line_height' => '1.2', // Post Meta Default Typography Options 'post_meta_font_family' => 'Muli', 'post_meta_font_style' => 'normal', 'post_meta_font_weight' => '500', 'post_meta_text_transform' => 'none', 'post_meta_font_size' => '11px', 'post_meta_line_height' => '24px', // Post Content Default Typography Options 'post_content_font_family' => 'Muli', 'post_content_font_style' => 'normal', 'post_content_font_weight' => '400', 'post_content_font_size' => '14px', 'post_content_line_height' => '26px', // Widget Title Default Typography Options', 'widgets_title_font_family' => 'Muli', 'widgets_title_font_style' => 'normal', 'widgets_title_font_weight' => '700', 'widgets_title_text_transform' => 'uppercase', 'widgets_title_font_size' => '12px', 'widgets_title_line_height' => '18px', /*---[ Layout Default Options ]---*/ 'responsive_layout' => 1, 'layout_type' => 'full', 'main_layout' => 'cblayout', 'archive_layout' => 'cblayout', 'single_layout' => 'cblayout', 'footer_layout' => 'f4c', /*---[ Other Default Options ]---*/ 'pagination_type' => 'num', 'scroll_top' => 'show', 'rtl' => 'disable', 'custom_css' => '', 'copyright_text' => '© 2017 Bloompixel. All Rights Reserved. Theme by Bloompixel.com', 'post_author' => 1, 'post_date' => 1, 'post_comments' => 0, 'post_cats' => 1, 'post_views' => 0, 'post_tags' => 0, 'breadcrumbs' => 1, 'author_box' => 1, 'next_prev_links' => 1, // Related Posts 'related_posts' => 1, 'related_posts_by' => 'categories', 'related_posts_count' => 3, // Home Content 'home_content' => 'excerpt', 'excerpt_length' => '40', // Featured Slider 'featured_slider' => 0, 'f_slider_posts_count' => 4, 'featured_slider_cat' => 'uncategorized', // Featured Posts 'featured_posts' => 0, 'featured_posts_cat' => 'uncategorized', // Header Settings 'header_style' => '1', 'tagline' => 'hide', 'sticky_menu' => 'disable', 'header_social_links' => 'disable', // Footer Settings 'show_footer_logo' => 0, 'footer_logo_image' => '', 'instagram_photos' => 0, 'instagram_user_id' => '', 'instagram_access_token' => '', 'instagram_profile_url' => '', // Ad Management 'ad_above_content' => '', 'ad_below_content' => '', // Social Links 'facebook_url' => '#', 'twitter_url' => '#', 'gplus_url' => '#', 'instagram_url' => '', 'youtube_url' => '', 'pinterest_url' => '', 'flickr_url' => '', 'rss_url' => '', 'linkedIn_url' => '', 'reddit_url' => '', 'tumblr_url' => '', ); // Settings -> General Settings -> Main Settings //------------------------------------------------// /*---[ Pagination Type ]---*/ $fields[] = array( 'id' => 'pagination_type', 'control' => 'radio', 'default' => $bloomy_theme_defaults['pagination_type'], 'label' => __('Pagination Type', 'bloomy'), 'section' => 'general_settings', 'sanitize_callback' => 'bloomy_sanitize_choices', 'choices' => array( 'num' => __('Numbered', 'bloomy'), 'nextprev' => __('Next/Prev', 'bloomy'), ), ); /*---[ Scroll to Top Button ]---*/ $fields[] = array( 'id' => 'scroll_top', 'control' => 'radio', 'default' => $bloomy_theme_defaults['scroll_top'], 'label' => __('Scroll to Top Button', 'bloomy'), 'section' => 'general_settings', 'sanitize_callback' => 'bloomy_sanitize_choices', 'choices' => array( 'show' => __('Show', 'bloomy'), 'hide' => __('hide', 'bloomy'), ), ); /*---[ RTL Version ]---*/ $fields[] = array( 'id' => 'rtl', 'control' => 'radio', 'default' => $bloomy_theme_defaults['rtl'], 'label' => __('RTL Version', 'bloomy'), 'section' => 'general_settings', 'sanitize_callback' => 'bloomy_sanitize_choices', 'choices' => array( 'enable' => __('Enable', 'bloomy'), 'disable' => __('Disable', 'bloomy'), ), ); // Settings -> General Settings -> Post Options //------------------------------------------------// /*---[ Post Date ]---*/ $fields[] = array( 'id' => 'post_date', 'control' => 'checkbox', 'default' => $bloomy_theme_defaults['post_date'], 'label' => __('Show Post Date', 'bloomy'), 'section' => 'post_meta_options', 'sanitize_callback' => 'sanitize_checkbox', ); /*---[ Post Categories ]---*/ $fields[] = array( 'id' => 'post_cats', 'control' => 'checkbox', 'default' => $bloomy_theme_defaults['post_cats'], 'label' => __('Show Post Categories', 'bloomy'), 'section' => 'post_meta_options', 'sanitize_callback' => 'sanitize_checkbox', ); /*---[ Post Author ]---*/ $fields[] = array( 'id' => 'post_author', 'control' => 'checkbox', 'default' => $bloomy_theme_defaults['post_author'], 'label' => __('Show Post Author', 'bloomy'), 'section' => 'post_meta_options', 'sanitize_callback' => 'sanitize_checkbox', ); /*---[ Post Comments ]---*/ $fields[] = array( 'id' => 'post_comments', 'control' => 'checkbox', 'default' => $bloomy_theme_defaults['post_comments'], 'label' => __('Show Post Comments', 'bloomy'), 'section' => 'post_meta_options', 'sanitize_callback' => 'sanitize_checkbox', ); /*---[ Post Tags ]---*/ $fields[] = array( 'id' => 'post_tags', 'control' => 'checkbox', 'default' => $bloomy_theme_defaults['post_tags'], 'label' => __('Show Post Tags', 'bloomy'), 'section' => 'post_meta_options', 'sanitize_callback' => 'sanitize_checkbox', ); /*---[ Breadcrumbs ]---*/ $fields[] = array( 'id' => 'breadcrumbs', 'control' => 'checkbox', 'default' => $bloomy_theme_defaults['breadcrumbs'], 'label' => __('Show Breadcrumbs', 'bloomy'), 'section' => 'post_meta_options', 'sanitize_callback' => 'sanitize_checkbox', ); /*---[ Author Info Box ]---*/ $fields[] = array( 'id' => 'author_box', 'control' => 'checkbox', 'default' => $bloomy_theme_defaults['author_box'], 'label' => __('Author Info Box', 'bloomy'), 'section' => 'post_meta_options', 'sanitize_callback' => 'sanitize_checkbox', ); /*---[ Next/Prev Article Links ]---*/ $fields[] = array( 'id' => 'next_prev_links', 'control' => 'checkbox', 'default' => $bloomy_theme_defaults['next_prev_links'], 'label' => __('Next/Prev Article Links', 'bloomy'), 'section' => 'post_meta_options', 'sanitize_callback' => 'sanitize_checkbox', ); /*---[ Related Posts ]---*/ $fields[] = array( 'id' => 'related_posts', 'control' => 'checkbox', 'default' => $bloomy_theme_defaults['related_posts'], 'label' => __('Show Related Posts', 'bloomy'), 'section' => 'related_posts_options', 'sanitize_callback' => 'sanitize_checkbox', ); /*---[ Related Posts By ]---*/ $fields[] = array( 'id' => 'related_posts_by', 'control' => 'radio', 'default' => $bloomy_theme_defaults['related_posts_by'], 'label' => __('Related Posts By', 'bloomy'), 'section' => 'related_posts_options', 'sanitize_callback' => 'bloomy_sanitize_choices', 'choices' => array( 'categories' => __('Categories', 'bloomy'), 'tags' => __('Tags', 'bloomy') ), ); /*---[ Related Posts Count ]---*/ $fields[] = array( 'id' => 'related_posts_count', 'control' => 'text', 'default' => $bloomy_theme_defaults['related_posts_count'], 'label' => __('Related Posts Count', 'bloomy'), 'section' => 'related_posts_options', ); // Settings -> General Settings -> Header //------------------------------------------------// /*---[ Header Style ]---*/ $fields[] = array( 'id' => 'header_style', 'control' => 'radio', 'default' => $bloomy_theme_defaults['header_style'], 'label' => __('Header Style', 'bloomy'), 'section' => 'header_options', 'sanitize_callback' => 'bloomy_sanitize_choices', 'choices' => array( '1' => __('Style 1', 'bloomy'), '2' => __('Style 2', 'bloomy'), '3' => __('Style 3', 'bloomy'), ), ); /*---[ Tagline ]---*/ $fields[] = array( 'id' => 'tagline', 'control' => 'radio', 'default' => $bloomy_theme_defaults['tagline'], 'label' => __('Tagline', 'bloomy'), 'section' => 'header_options', 'sanitize_callback' => 'bloomy_sanitize_choices', 'choices' => array( 'show' => __('Show', 'bloomy'), 'hide' => __('Hide', 'bloomy'), ), ); /*---[ Sticky Menu ]---*/ $fields[] = array( 'id' => 'sticky_menu', 'control' => 'radio', 'default' => $bloomy_theme_defaults['sticky_menu'], 'label' => __('Sticky Menu', 'bloomy'), 'section' => 'header_options', 'sanitize_callback' => 'bloomy_sanitize_choices', 'choices' => array( 'enable' =>__('Enable', 'bloomy'), 'disable' => __('Disable', 'bloomy'), ), ); /*---[ Social Links ]---*/ $fields[] = array( 'id' => 'header_social_links', 'control' => 'radio', 'default' => $bloomy_theme_defaults['header_social_links'], 'label' => __('Social Links', 'bloomy'), 'section' => 'header_options', 'sanitize_callback' => 'bloomy_sanitize_choices', 'choices' => array( 'enable' => __('Enable', 'bloomy'), 'disable' => __('Disable', 'bloomy'), ), ); // Settings -> General Settings -> Footer //------------------------------------------------// /*---[ Show Footer Logo ]---*/ $fields[] = array( 'id' => 'show_footer_logo', 'control' => 'checkbox', 'default' => $bloomy_theme_defaults['show_footer_logo'], 'label' => __('Show Footer Logo', 'bloomy'), 'section' => 'footer_options', 'sanitize_callback' => 'sanitize_checkbox', ); /*---[ Footer Logo Upload ]---*/ $fields[] = array( 'id' => 'footer_logo_image', 'control' => 'image', 'label' => __('Footer Logo Image', 'bloomy'), 'section' => 'footer_options', 'sanitize_callback' => 'esc_url_raw', ); /*---[ Show Instagram feed ]---*/ $fields[] = array( 'id' => 'instagram_photos', 'control' => 'checkbox', 'default' => $bloomy_theme_defaults['instagram_photos'], 'label' => __('Show Instagram Photos', 'bloomy'), 'section' => 'footer_options', 'sanitize_callback' => 'sanitize_checkbox', ); /*---[ Instagram User id ]---*/ $fields[] = array( 'id' => 'instagram_user_id', 'control' => 'text', 'default' => $bloomy_theme_defaults['instagram_user_id'], 'label' => __('Instagram User ID', 'bloomy'), 'section' => 'footer_options', ); /*---[ Instagram User id ]---*/ $fields[] = array( 'id' => 'instagram_access_token', 'control' => 'text', 'default' => $bloomy_theme_defaults['instagram_access_token'], 'label' => __('Instagram Access Token', 'bloomy'), 'section' => 'footer_options', ); /*---[ Instagram profile url ]---*/ $fields[] = array( 'id' => 'instagram_profile_url', 'control' => 'text', 'default' => $bloomy_theme_defaults['instagram_profile_url'], 'label' => __('Instagram Profile URL', 'bloomy'), 'section' => 'footer_options', ); /*---[ Copyright Text ]---*/ $fields[] = array( 'id' => 'copyright_text', 'control' => 'textarea', 'default' => $bloomy_theme_defaults['copyright_text'], 'label' => __('Copyright', 'bloomy'), 'description' => __('Change or remove copyright text for footer', 'bloomy'), 'section' => 'footer_options', 'transport' => 'postMessage', ); // Settings -> Styling Options //------------------------------------------------// /*---[ Primary Color Scheme ]---*/ $fields[] = array( 'id' => 'color_scheme_1', 'control' => 'color', 'default' => $bloomy_theme_defaults['color_scheme_1'], 'label' => __('Primary Color Scheme', 'bloomy'), 'section' => 'color_scheme_section', 'transport' => 'postMessage', 'output' => array ( 'color' => 'a, a:hover, .featured-posts .f-title, .total-post, .articles-count, .comment-form .submit', 'background' => '.menu-btn, .search-button, .read-more, .pagination span, .pagination a:hover, #wp-calendar caption, .comment-form .submit:hover', 'border-color' => '.pagination span, .pagination a:hover', ), ); /*---[ Secondary Color Scheme ]---*/ $fields[] = array( 'id' => 'color_scheme_2', 'control' => 'color', 'default' => $bloomy_theme_defaults['color_scheme_2'], 'label' => __('Secondary Color Scheme', 'bloomy'), 'section' => 'color_scheme_section', 'transport' => 'postMessage', 'output' => array ( 'background' => '.featured-posts .post-inner, .total-post, .articles-count, .comment-form .submit, .post-meta:before', 'border-color' => '.featured-posts .featured-content', ), ); /*---[ Header Color Options ]---*/ $fields[] = array( 'id' => 'header_background_color', 'control' => 'color', 'default' => $bloomy_theme_defaults['header_background_color'], 'label' => __('Header Background Color', 'bloomy'), 'section' => 'header_colors', 'transport' => 'postMessage', 'output' => array ( 'background' => '.main-header', ), ); $fields[] = array( 'id' => 'logo_color', 'control' => 'color', 'default' => $bloomy_theme_defaults['logo_color'], 'label' => __('Logo Color', 'bloomy'), 'section' => 'header_colors', 'transport' => 'postMessage', 'output' => array ( 'color' => '.logo a', ), ); /*---[ Custom CSS ]---*/ $fields[] = array( 'id' => 'custom_css', 'control' => 'textarea', 'default' => $bloomy_theme_defaults['custom_css'], 'label' => __('Custom CSS', 'bloomy'), 'description' => __('You can add Custom CSS here', 'bloomy'), 'section' => 'custom_css_section', ); // Settings -> Typography //--------------------------------------------// /*---[ Body Font Properties ]---*/ $fields[] = array( 'id' => 'body_font_family', 'key' => 'fonts_family', 'control' => 'select', 'default' => $bloomy_theme_defaults['body_font_family'], 'label' => __('Font Family', 'bloomy'), 'section' => 'body_font', 'choices' => $fonts_list, 'output' => array ( 'font-family' => 'body', ), ); /*---[ Logo Font Properties ]---*/ $fields[] = array( 'id' => 'logo_font_family', 'key' => 'fonts_family', 'control' => 'select', 'default' => $bloomy_theme_defaults['logo_font_family'], 'label' => __('Font Family', 'bloomy'), 'section' => 'logo_font', 'choices' => $fonts_list, 'output' => array ( 'font-family' => '.logo', ), ); $fields[] = array( 'id' => 'logo_font_style', 'control' => 'select', 'default' => $bloomy_theme_defaults['logo_font_style'], 'label' => __('Font Style', 'bloomy'), 'section' => 'logo_font', 'transport' => 'postMessage', 'choices' => array( 'normal' => __('Normal', 'bloomy'), 'italic' => __('Italic', 'bloomy'), ), 'output' => array ( 'font-style' => '.logo', ), ); $fields[] = array( 'id' => 'logo_font_weight', 'control' => 'select', 'default' => $bloomy_theme_defaults['logo_font_weight'], 'label' => __('Font Weight', 'bloomy'), 'section' => 'logo_font', 'transport' => 'postMessage', 'choices' => array( '300' => __('Light: 300', 'bloomy'), '400' => __('Normal: 400', 'bloomy'), '500' => __('Medium: 500', 'bloomy'), '600' => __('Semi-Bold: 600', 'bloomy'), '700' => __('Bold: 700', 'bloomy'), '800' => __('Extra-Bold: 800', 'bloomy'), ), 'output' => array ( 'font-weight' => '.logo', ), ); $fields[] = array( 'id' => 'logo_text_transform', 'control' => 'select', 'default' => $bloomy_theme_defaults['logo_text_transform'], 'label' => __('Text Transform', 'bloomy'), 'section' => 'logo_font', 'transport' => 'postMessage', 'choices' => array( 'none' => __('None', 'bloomy'), 'uppercase' => __('Uppercase', 'bloomy'), 'lowercase' => __('Lowercase', 'bloomy'), 'capitalize' => __('Capitalize', 'bloomy'), ), 'output' => array ( 'text-transform' => '.logo', ), ); $fields[] = array( 'id' => 'logo_font_size', 'control' => 'text', 'default' => $bloomy_theme_defaults['logo_font_size'], 'label' => __('Font Size', 'bloomy'), 'description' => __('Value in pixels', 'bloomy'), 'section' => 'logo_font', 'transport' => 'postMessage', 'output' => array ( 'font-size' => '.logo', ), ); $fields[] = array( 'id' => 'logo_line_height', 'control' => 'text', 'default' => $bloomy_theme_defaults['logo_line_height'], 'label' => __('Line Height', 'bloomy'), 'description' => __('Value in pixels', 'bloomy'), 'section' => 'logo_font', 'transport' => 'postMessage', 'output' => array ( 'line-height' => '.logo', ), ); /*---[ Navigation Menu Font Properties ]---*/ $fields[] = array( 'id' => 'menu_font_family', 'key' => 'fonts_family', 'control' => 'select', 'default' => $bloomy_theme_defaults['menu_font_family'], 'label' => __('Font Family', 'bloomy'), 'section' => 'nav_menu_font', 'choices' => $fonts_list, 'output' => array ( 'font-family' => '.nav-menu', ), ); $fields[] = array( 'id' => 'menu_font_style', 'control' => 'select', 'default' => $bloomy_theme_defaults['menu_font_style'], 'label' => __('Font Style', 'bloomy'), 'section' => 'nav_menu_font', 'transport' => 'postMessage', 'choices' => array( 'normal' => __('Normal', 'bloomy'), 'italic' => __('Italic', 'bloomy'), ), 'output' => array ( 'font-style' => '.nav-menu', ), ); $fields[] = array( 'id' => 'menu_font_weight', 'control' => 'select', 'default' => $bloomy_theme_defaults['menu_font_weight'], 'label' => __('Font Weight', 'bloomy'), 'section' => 'nav_menu_font', 'transport' => 'postMessage', 'choices' => array( '300' => __('Light: 300', 'bloomy'), '400' => __('Normal: 400', 'bloomy'), '500' => __('Medium: 500', 'bloomy'), '600' => __('Semi-Bold: 600', 'bloomy'), '700' => __('Bold: 700', 'bloomy'), '800' => __('Extra-Bold: 800', 'bloomy'), ), 'output' => array ( 'font-weight' => '.nav-menu', ), ); $fields[] = array( 'id' => 'menu_text_transform', 'control' => 'select', 'default' => $bloomy_theme_defaults['menu_text_transform'], 'label' => __('Text Transform', 'bloomy'), 'section' => 'nav_menu_font', 'transport' => 'postMessage', 'choices' => array( 'none' => __('None', 'bloomy'), 'uppercase' => __('Uppercase', 'bloomy'), 'lowercase' => __('Lowercase', 'bloomy'), 'capitalize' => __('Capitalize', 'bloomy'), ), 'output' => array ( 'text-transform' => '.nav-menu', ), ); $fields[] = array( 'id' => 'menu_font_size', 'control' => 'text', 'default' => $bloomy_theme_defaults['menu_font_size'], 'label' => __('Font Size', 'bloomy'), 'description' => __('Value in pixels', 'bloomy'), 'section' => 'nav_menu_font', 'transport' => 'postMessage', 'output' => array ( 'font-size' => '.nav-menu', ), ); $fields[] = array( 'id' => 'menu_line_height', 'control' => 'text', 'default' => $bloomy_theme_defaults['menu_line_height'], 'label' => __('Line Height', 'bloomy'), 'description' => __('Value in pixels', 'bloomy'), 'section' => 'nav_menu_font', 'transport' => 'postMessage', 'output' => array ( 'line-height' => '.nav-menu', ), ); /*---[ Headings Font Properties ]---*/ $fields[] = array( 'id' => 'headings_font_family', 'key' => 'fonts_family', 'control' => 'select', 'default' => $bloomy_theme_defaults['headings_font_family'], 'label' => __('Font Family', 'bloomy'), 'section' => 'headings_font', 'choices' => $fonts_list, 'output' => array ( 'font-family' => 'h1,h2,h3,h4,h5,h6,.widgettitle,.post-nav-link', ), ); $fields[] = array( 'id' => 'headings_font_style', 'control' => 'select', 'default' => $bloomy_theme_defaults['headings_font_style'], 'label' => __('Font Style', 'bloomy'), 'section' => 'headings_font', 'transport' => 'postMessage', 'choices' => array( 'normal' => __('Normal', 'bloomy'), 'italic' => __('Italic', 'bloomy'), ), 'output' => array ( 'font-style' => 'h1,h2,h3,h4,h5,h6,.widgettitle,.post-nav-link', ), ); $fields[] = array( 'id' => 'headings_font_weight', 'control' => 'select', 'default' => $bloomy_theme_defaults['headings_font_weight'], 'label' => __('Font Weight', 'bloomy'), 'section' => 'headings_font', 'transport' => 'postMessage', 'choices' => array( '300' => __('Light: 300', 'bloomy'), '400' => __('Normal: 400', 'bloomy'), '500' => __('Medium: 500', 'bloomy'), '600' => __('Semi-Bold: 600', 'bloomy'), '700' => __('Bold: 700', 'bloomy'), '800' => __('Extra-Bold: 800', 'bloomy'), ), 'output' => array ( 'font-weight' => 'h1,h2,h3,h4,h5,h6,.widgettitle,.post-nav-link', ), ); /*---[ Post: Entry Title Font Properties ]---*/ $fields[] = array( 'id' => 'entry_title_font_family', 'key' => 'fonts_family', 'control' => 'select', 'default' => $bloomy_theme_defaults['entry_title_font_family'], 'label' => __('Font Family', 'bloomy'), 'section' => 'entry_title_font', 'choices' => $fonts_list, 'output' => array ( 'font-family' => '.entry-title', ), ); $fields[] = array( 'id' => 'entry_title_font_style', 'control' => 'select', 'default' => $bloomy_theme_defaults['entry_title_font_style'], 'label' => __('Font Style', 'bloomy'), 'section' => 'entry_title_font', 'transport' => 'postMessage', 'choices' => array( 'normal' => __('Normal', 'bloomy'), 'italic' => __('Italic', 'bloomy'), ), 'output' => array ( 'font-style' => '.entry-title', ), ); $fields[] = array( 'id' => 'entry_title_font_weight', 'control' => 'select', 'default' => $bloomy_theme_defaults['entry_title_font_weight'], 'label' => __('Font Weight', 'bloomy'), 'section' => 'entry_title_font', 'transport' => 'postMessage', 'choices' => array( '300' => __('Light: 300', 'bloomy'), '400' => __('Normal: 400', 'bloomy'), '500' => __('Medium: 500', 'bloomy'), '600' => __('Semi-Bold: 600', 'bloomy'), '700' => __('Bold: 700', 'bloomy'), '800' => __('Extra-Bold: 800', 'bloomy'), ), 'output' => array ( 'font-weight' => '.entry-title', ), ); $fields[] = array( 'id' => 'entry_title_text_transform', 'control' => 'select', 'default' => $bloomy_theme_defaults['entry_title_text_transform'], 'label' => __('Text Transform', 'bloomy'), 'section' => 'entry_title_font', 'transport' => 'postMessage', 'choices' => array( 'none' => __('None', 'bloomy'), 'uppercase' => __('Uppercase', 'bloomy'), 'lowercase' => __('Lowercase', 'bloomy'), 'capitalize' => __('Capitalize', 'bloomy'), ), 'output' => array ( 'text-transform' => '.entry-title', ), ); $fields[] = array( 'id' => 'entry_title_font_size', 'control' => 'text', 'default' => $bloomy_theme_defaults['entry_title_font_size'], 'label' => __('Font Size', 'bloomy'), 'description' => __('Value in pixels', 'bloomy'), 'section' => 'entry_title_font', 'transport' => 'postMessage', 'output' => array ( 'font-size' => '.entry-title', ), ); $fields[] = array( 'id' => 'entry_title_line_height', 'control' => 'text', 'default' => $bloomy_theme_defaults['entry_title_line_height'], 'label' => __('Line Height', 'bloomy'), 'description' => __('Value in pixels', 'bloomy'), 'section' => 'entry_title_font', 'transport' => 'postMessage', 'output' => array ( 'line-height' => '.entry-title', ), ); /*---[ Post: Meta Font Properties ]---*/ $fields[] = array( 'id' => 'post_meta_font_family', 'key' => 'fonts_family', 'control' => 'select', 'default' => $bloomy_theme_defaults['post_meta_font_family'], 'label' => __('Font Family', 'bloomy'), 'section' => 'post_meta_font', 'choices' => $fonts_list, 'output' => array ( 'font-family' => '.post-meta, .post-cats', ), ); $fields[] = array( 'id' => 'post_meta_font_style', 'control' => 'select', 'default' => $bloomy_theme_defaults['post_meta_font_style'], 'label' => __('Font Style', 'bloomy'), 'section' => 'post_meta_font', 'transport' => 'postMessage', 'choices' => array( 'normal' => __('Normal', 'bloomy'), 'italic' => __('Italic', 'bloomy'), ), 'output' => array ( 'font-style' => '.post-meta, .post-cats', ), ); $fields[] = array( 'id' => 'post_meta_font_weight', 'control' => 'select', 'default' => $bloomy_theme_defaults['post_meta_font_weight'], 'label' => __('Font Weight', 'bloomy'), 'section' => 'post_meta_font', 'transport' => 'postMessage', 'choices' => array( '300' => __('Light: 300', 'bloomy'), '400' => __('Normal: 400', 'bloomy'), '500' => __('Medium: 500', 'bloomy'), '600' => __('Semi-Bold: 600', 'bloomy'), '700' => __('Bold: 700', 'bloomy'), '800' => __('Extra-Bold: 800', 'bloomy'), ), 'output' => array ( 'font-weight' => '.post-meta, .post-cats', ), ); $fields[] = array( 'id' => 'post_meta_text_transform', 'control' => 'select', 'default' => $bloomy_theme_defaults['post_meta_text_transform'], 'label' => __('Text Transform', 'bloomy'), 'section' => 'post_meta_font', 'transport' => 'postMessage', 'choices' => array( 'none' => __('None', 'bloomy'), 'uppercase' => __('Uppercase', 'bloomy'), 'lowercase' => __('Lowercase', 'bloomy'), 'capitalize' => __('Capitalize', 'bloomy'), ), 'output' => array ( 'text-transform' => '.post-meta, .post-cats', ), ); $fields[] = array( 'id' => 'post_meta_font_size', 'control' => 'text', 'default' => $bloomy_theme_defaults['post_meta_font_size'], 'label' => __('Font Size', 'bloomy'), 'description' => __('Value in pixels', 'bloomy'), 'section' => 'post_meta_font', 'transport' => 'postMessage', 'output' => array ( 'font-size' => '.post-meta, .post-cats', ), ); $fields[] = array( 'id' => 'post_meta_line_height', 'control' => 'text', 'default' => $bloomy_theme_defaults['post_meta_line_height'], 'label' => __('Line Height', 'bloomy'), 'description' => __('Value in pixels', 'bloomy'), 'section' => 'post_meta_font', 'transport' => 'postMessage', 'output' => array ( 'line-height' => '.post-meta, .post-cats', ), ); /*---[ Post: Single Title Font Properties ]---*/ $fields[] = array( 'id' => 'single_title_font_family', 'key' => 'fonts_family', 'control' => 'select', 'default' => $bloomy_theme_defaults['single_title_font_family'], 'label' => __('Font Family', 'bloomy'), 'section' => 'single_title_font', 'choices' => $fonts_list, 'output' => array ( 'font-family' => '.single .entry-title', ), ); $fields[] = array( 'id' => 'single_title_font_style', 'control' => 'select', 'default' => $bloomy_theme_defaults['single_title_font_style'], 'label' => __('Font Style', 'bloomy'), 'section' => 'single_title_font', 'transport' => 'postMessage', 'choices' => array( 'normal' => __('Normal', 'bloomy'), 'italic' => __('Italic', 'bloomy'), ), 'output' => array ( 'font-style' => '.single .entry-title', ), ); $fields[] = array( 'id' => 'single_title_font_weight', 'control' => 'select', 'default' => $bloomy_theme_defaults['single_title_font_weight'], 'label' => __('Font Weight', 'bloomy'), 'section' => 'single_title_font', 'transport' => 'postMessage', 'choices' => array( '300' => __('Light: 300', 'bloomy'), '400' => __('Normal: 400', 'bloomy'), '500' => __('Medium: 500', 'bloomy'), '600' => __('Semi-Bold: 600', 'bloomy'), '700' => __('Bold: 700', 'bloomy'), '800' => __('Extra-Bold: 800', 'bloomy'), ), 'output' => array ( 'font-weight' => '.single .entry-title', ), ); $fields[] = array( 'id' => 'single_title_text_transform', 'control' => 'select', 'default' => $bloomy_theme_defaults['single_title_text_transform'], 'label' => __('Text Transform', 'bloomy'), 'section' => 'single_title_font', 'transport' => 'postMessage', 'choices' => array( 'none' => __('None', 'bloomy'), 'uppercase' => __('Uppercase', 'bloomy'), 'lowercase' => __('Lowercase', 'bloomy'), 'capitalize' => __('Capitalize', 'bloomy'), ), 'output' => array ( 'text-transform' => '.single .entry-title', ), ); $fields[] = array( 'id' => 'single_title_font_size', 'control' => 'text', 'default' => $bloomy_theme_defaults['single_title_font_size'], 'label' => __('Font Size', 'bloomy'), 'description' => __('Value in pixels', 'bloomy'), 'section' => 'single_title_font', 'transport' => 'postMessage', 'output' => array ( 'font-size' => '.single .entry-title', ), ); $fields[] = array( 'id' => 'single_title_line_height', 'control' => 'text', 'default' => $bloomy_theme_defaults['single_title_line_height'], 'label' => __('Line Height', 'bloomy'), 'description' => __('Value in pixels', 'bloomy'), 'section' => 'single_title_font', 'transport' => 'postMessage', 'output' => array ( 'line-height' => '.single .entry-title', ), ); /*---[ Post: Content Font Properties ]---*/ $fields[] = array( 'id' => 'post_content_font_family', 'key' => 'fonts_family', 'control' => 'select', 'default' => $bloomy_theme_defaults['post_content_font_family'], 'label' => __('Font Family', 'bloomy'), 'section' => 'post_content_font', 'choices' => $fonts_list, 'output' => array ( 'font-family' => '.post-content', ), ); $fields[] = array( 'id' => 'post_content_font_style', 'control' => 'select', 'default' => $bloomy_theme_defaults['post_content_font_style'], 'label' => __('Font Style', 'bloomy'), 'section' => 'post_content_font', 'transport' => 'postMessage', 'choices' => array( 'normal' => __('Normal', 'bloomy'), 'italic' => __('Italic', 'bloomy'), ), 'output' => array ( 'font-style' => '.post-content', ), ); $fields[] = array( 'id' => 'post_content_font_weight', 'control' => 'select', 'default' => $bloomy_theme_defaults['post_content_font_weight'], 'label' => __('Font Weight', 'bloomy'), 'section' => 'post_content_font', 'transport' => 'postMessage', 'choices' => array( '300' => __('Light: 300', 'bloomy'), '400' => __('Normal: 400', 'bloomy'), '500' => __('Medium: 500', 'bloomy'), '600' => __('Semi-Bold: 600', 'bloomy'), '700' => __('Bold: 700', 'bloomy'), '800' => __('Extra-Bold: 800', 'bloomy'), ), 'output' => array ( 'font-weight' => '.post-content', ), ); $fields[] = array( 'id' => 'post_content_font_size', 'control' => 'text', 'default' => $bloomy_theme_defaults['post_content_font_size'], 'label' => __('Font Size', 'bloomy'), 'description' => __('Value in pixels', 'bloomy'), 'section' => 'post_content_font', 'transport' => 'postMessage', 'output' => array ( 'font-size' => '.post-content', ), ); $fields[] = array( 'id' => 'post_content_line_height', 'control' => 'text', 'default' => $bloomy_theme_defaults['post_content_line_height'], 'label' => __('Line Height', 'bloomy'), 'description' => __('Value in pixels', 'bloomy'), 'section' => 'post_content_font', 'transport' => 'postMessage', 'output' => array ( 'line-height' => '.post-content', ), ); /*---[ Widgets Title Font Properties ]---*/ $fields[] = array( 'id' => 'widgets_title_font_family', 'key' => 'fonts_family', 'control' => 'select', 'default' => $bloomy_theme_defaults['widgets_title_font_family'], 'label' => __('Font Family', 'bloomy'), 'section' => 'widgets_title_font', 'choices' => $fonts_list, 'output' => array ( 'font-family' => '.widget-title, .tabs li a, .section-heading, .post-nav-title', ), ); $fields[] = array( 'id' => 'widgets_title_font_style', 'control' => 'select', 'default' => $bloomy_theme_defaults['widgets_title_font_style'], 'label' => __('Font Style', 'bloomy'), 'section' => 'widgets_title_font', 'transport' => 'postMessage', 'choices' => array( 'normal' => __('Normal', 'bloomy'), 'italic' => __('Italic', 'bloomy'), ), 'output' => array ( 'font-style' => '.widget-title, .tabs li a, .section-heading, .post-nav-title', ), ); $fields[] = array( 'id' => 'widgets_title_font_weight', 'control' => 'select', 'default' => $bloomy_theme_defaults['widgets_title_font_weight'], 'label' => __('Font Weight', 'bloomy'), 'section' => 'widgets_title_font', 'transport' => 'postMessage', 'choices' => array( '300' => __('Light: 300', 'bloomy'), '400' => __('Normal: 400', 'bloomy'), '500' => __('Medium: 500', 'bloomy'), '600' => __('Semi-Bold: 600', 'bloomy'), '700' => __('Bold: 700', 'bloomy'), '800' => __('Extra-Bold: 800', 'bloomy'), ), 'output' => array ( 'font-weight' => '.widget-title, .tabs li a, .section-heading, .post-nav-title', ), ); $fields[] = array( 'id' => 'widgets_title_text_transform', 'control' => 'select', 'default' => $bloomy_theme_defaults['widgets_title_text_transform'], 'label' => __('Text Transform', 'bloomy'), 'section' => 'widgets_title_font', 'transport' => 'postMessage', 'choices' => array( 'none' => __('None', 'bloomy'), 'uppercase' => __('Uppercase', 'bloomy'), 'lowercase' => __('Lowercase', 'bloomy'), 'capitalize' => __('Capitalize', 'bloomy'), ), 'output' => array ( 'text-transform' => '.widget-title, .tabs li a, .section-heading, .post-nav-title', ), ); $fields[] = array( 'id' => 'widgets_title_font_size', 'control' => 'text', 'default' => $bloomy_theme_defaults['widgets_title_font_size'], 'label' => __('Font Size', 'bloomy'), 'description' => __('Value in pixels', 'bloomy'), 'section' => 'widgets_title_font', 'transport' => 'postMessage', 'output' => array ( 'font-size' => '.widget-title, .tabs li a, .section-heading, .post-nav-title', ), ); $fields[] = array( 'id' => 'widgets_title_line_height', 'control' => 'text', 'default' => $bloomy_theme_defaults['widgets_title_line_height'], 'label' => __('Line Height', 'bloomy'), 'description' => __('Value in pixels', 'bloomy'), 'section' => 'widgets_title_font', 'transport' => 'postMessage', 'output' => array ( 'line-height' => '.widget-title, .tabs li a, .section-heading, .post-nav-title', ), ); // Settings -> Layout Options //--------------------------------------------// $fields[] = array( 'id' => 'responsive_layout', 'control' => 'checkbox', 'default' => $bloomy_theme_defaults['responsive_layout'], 'label' => __('Enable Responsive Layout?', 'bloomy'), 'section' => 'general_layout_section', 'sanitize_callback' => 'sanitize_checkbox', ); $fields[] = array( 'id' => 'layout_type', 'control' => 'radio', 'default' => $bloomy_theme_defaults['layout_type'], 'label' => __('Layout Type', 'bloomy'), 'section' => 'general_layout_section', 'sanitize_callback' => 'bloomy_sanitize_choices', 'choices' => array( 'full' => __('Full Width', 'bloomy'), 'boxed' => __('Boxed', 'bloomy'), ), ); $fields[] = array( 'id' => 'main_layout', 'control' => 'layout', 'default' => $bloomy_theme_defaults['main_layout'], 'label' => __('Main Layout', 'bloomy'), 'section' => 'main_layout_section', 'sanitize_callback' => 'bloomy_sanitize_choices', 'choices' => array( 'cblayout' => __('2 Col Right Sidebar', 'bloomy'), 'bclayout' => __('2 Col Left Sidebar', 'bloomy'), 'flayout' => __('Full Width', 'bloomy'), ) ); $fields[] = array( 'id' => 'archive_layout', 'control' => 'layout', 'default' => $bloomy_theme_defaults['archive_layout'], 'label' => __('Archive Layout', 'bloomy'), 'section' => 'archive_layout_section', 'sanitize_callback' => 'bloomy_sanitize_choices', 'choices' => array( 'cblayout' => __('2 Col Right Sidebar', 'bloomy'), 'bclayout' => __('2 Col Left Sidebar', 'bloomy'), 'flayout' => __('Full Width', 'bloomy'), ) ); $fields[] = array( 'id' => 'single_layout', 'control' => 'layout', 'default' => $bloomy_theme_defaults['single_layout'], 'label' => __('Single Layout', 'bloomy'), 'section' => 'single_layout_section', 'sanitize_callback' => 'bloomy_sanitize_choices', 'choices' => array( 'cblayout' => __('2 Col Right Sidebar', 'bloomy'), 'bclayout' => __('2 Col Left Sidebar', 'bloomy'), 'flayout' => __('Full Width', 'bloomy'), ) ); $fields[] = array( 'id' => 'footer_layout', 'control' => 'layout', 'default' => $bloomy_theme_defaults['footer_layout'], 'title' => __('Footer Columns', 'bloomy'), 'description' => __('Chose number of footer columns for theme', 'bloomy'), 'section' => 'footer_columns_section', 'sanitize_callback' => 'bloomy_sanitize_choices', 'choices' => array( 'f1c' => __('Footer 1 Col', 'bloomy'), 'f2c' => __('Footer 2 Col', 'bloomy'), 'f3c' => __('Footer 3 Col', 'bloomy'), 'f4c' => __('Footer 4 Col', 'bloomy'), ) ); // Settings -> Home Content //--------------------------------------------// $fields[] = array( 'id' => 'home_content', 'control' => 'radio', 'default' => $bloomy_theme_defaults['home_content'], 'label' => __('Home Content', 'bloomy'), 'section' => 'home_content_section', 'sanitize_callback' => 'bloomy_sanitize_choices', 'choices' => array( 'excerpt' => __('Excerpt', 'bloomy'), 'full_content' => __('Full Content', 'bloomy'), ), ); $fields[] = array( 'id' => 'excerpt_length', 'control' => 'text', 'default' => $bloomy_theme_defaults['excerpt_length'], 'label' => __('Excerpt Length', 'bloomy'), 'description' => __('Enter excerpt length here', 'bloomy'), 'section' => 'home_content_section', 'sanitize_callback' => 'bloomy_sanitize_text' ); $fields[] = array( 'id' => 'featured_slider', 'control' => 'checkbox', 'default' => $bloomy_theme_defaults['featured_slider'], 'label' => __('Show Featured Slider', 'bloomy'), 'section' => 'slider_section', 'sanitize_callback' => 'sanitize_checkbox', ); $fields[] = array( 'id' => 'f_slider_posts_count', 'control' => 'text', 'label' => __('Slider Posts Count', 'bloomy'), 'default' => $bloomy_theme_defaults['f_slider_posts_count'], 'label' => __('Featured Posts Count', 'bloomy'), 'description' => __('Chose number of posts to show in slider', 'bloomy'), 'section' => 'slider_section', 'sanitize_callback' => 'bloomy_sanitize_text' ); $fields[] = array( 'id' => 'featured_slider_cat', 'control' => 'select', 'default' => $bloomy_theme_defaults['featured_slider_cat'], 'label' => __('Slider Posts Category', 'bloomy'), 'section' => 'slider_section', 'sanitize_callback' => 'bloomy_sanitize_cat', 'choices' => get_categories_select() ); // featured posts $fields[] = array( 'id' => 'featured_posts', 'control' => 'checkbox', 'default' => $bloomy_theme_defaults['featured_posts'], 'label' => __('Show Featured Posts', 'bloomy'), 'section' => 'slider_section', 'sanitize_callback' => 'sanitize_checkbox', ); $fields[] = array( 'id' => 'featured_posts_cat', 'control' => 'select', 'default' => $bloomy_theme_defaults['featured_posts_cat'], 'label' => __('Featured Posts Category', 'bloomy'), 'section' => 'slider_section', 'sanitize_callback' => 'bloomy_sanitize_cat', 'choices' => get_categories_select() ); // Settings -> Ad Management //--------------------------------------------// /*---[ Ab Above Post Content ]---*/ $fields[] = array( 'id' => 'ad_above_content', 'control' => 'textarea', 'default' => $bloomy_theme_defaults['ad_above_content'], 'label' => __('Ab Above Post Content', 'bloomy'), 'description' => __('Add code for showing ads above post content', 'bloomy'), 'section' => 'ads_options', ); /*---[ Ab Below Post Content ]---*/ $fields[] = array( 'id' => 'ad_below_content', 'control' => 'textarea', 'default' => $bloomy_theme_defaults['ad_below_content'], 'label' => __('Ab Below Post Content', 'bloomy'), 'description' => __('Add code for showing ads below post content', 'bloomy'), 'section' => 'ads_options', ); // Settings -> Social Profiles //--------------------------------------------// /*---[ Facebook ]---*/ $fields[] = array( 'id' => 'facebook_url', 'control' => 'text', 'default' => $bloomy_theme_defaults['facebook_url'], 'label' => __('Facebook', 'bloomy'), 'sanitize_callback' => 'esc_url_raw', 'section' => 'social_profiles', ); /*---[ Twitter ]---*/ $fields[] = array( 'id' => 'twitter_url', 'control' => 'text', 'default' => $bloomy_theme_defaults['twitter_url'], 'label' => __('Twitter', 'bloomy'), 'sanitize_callback' => 'esc_url_raw', 'section' => 'social_profiles', ); /*---[ Google+ ]---*/ $fields[] = array( 'id' => 'gplus_url', 'control' => 'text', 'default' => $bloomy_theme_defaults['gplus_url'], 'label' => __('Google+', 'bloomy'), 'sanitize_callback' => 'esc_url_raw', 'section' => 'social_profiles', ); /*---[ Instagram ]---*/ $fields[] = array( 'id' => 'instagram_url', 'control' => 'text', 'default' => $bloomy_theme_defaults['instagram_url'], 'label' => __('Instagram', 'bloomy'), 'sanitize_callback' => 'esc_url_raw', 'section' => 'social_profiles', ); /*---[ YouTube ]---*/ $fields[] = array( 'id' => 'youtube_url', 'control' => 'text', 'default' => $bloomy_theme_defaults['youtube_url'], 'label' => __('YouTube', 'bloomy'), 'sanitize_callback' => 'esc_url_raw', 'section' => 'social_profiles', ); /*---[ Pinterest ]---*/ $fields[] = array( 'id' => 'pinterest_url', 'control' => 'text', 'default' => $bloomy_theme_defaults['pinterest_url'], 'label' => __('Pinterest', 'bloomy'), 'sanitize_callback' => 'esc_url_raw', 'section' => 'social_profiles', ); /*---[ Flickr ]---*/ $fields[] = array( 'id' => 'flickr_url', 'control' => 'text', 'default' => $bloomy_theme_defaults['flickr_url'], 'label' => __('Flickr', 'bloomy'), 'sanitize_callback' => 'esc_url_raw', 'section' => 'social_profiles', ); /*---[ RSS ]---*/ $fields[] = array( 'id' => 'rss_url', 'control' => 'text', 'default' => $bloomy_theme_defaults['rss_url'], 'label' => __('RSS', 'bloomy'), 'sanitize_callback' => 'esc_url_raw', 'section' => 'social_profiles', ); /*---[ LinkedIn ]---*/ $fields[] = array( 'id' => 'linkedIn_url', 'control' => 'text', 'default' => $bloomy_theme_defaults['linkedIn_url'], 'label' => __('LinkedIn', 'bloomy'), 'sanitize_callback' => 'esc_url_raw', 'section' => 'social_profiles', ); /*---[ Tumblr ]---*/ $fields[] = array( 'id' => 'tumblr_url', 'control' => 'text', 'default' => $bloomy_theme_defaults['tumblr_url'], 'label' => __('Tumblr', 'bloomy'), 'sanitize_callback' => 'esc_url_raw', 'section' => 'social_profiles', ); return $fields; } /** * Add filters for customizer. * */ add_filter( 'bloomy_customizer_settings_register', 'bloomy_customizer_settings' ); add_filter( 'bloomy_customizer_apply_css', 'bloomy_customizer_settings' ); add_filter( 'bloomy_customizer_google_fonts', 'bloomy_customizer_settings' ); ?>