__( 'Theme Options', 'bittumb' ), 'menu_slug' => 'bittumb-options', 'menu_type' => 'submenu', 'menu_parent' => 'themes.php', 'framework_title' => __( 'Bittumb Theme Options', 'bittumb' ), 'theme' => 'light', 'footer_credit' => __( 'Thanks for using Bittumb', 'bittumb' ) ) ); /** * General Section */ CSF::createSection( $prefix, array( 'title' => __( 'General Settings', 'bittumb' ), 'fields' => array( // Enable/Disable theme dark/light mode array( 'id' => 'btm_theme_mode', 'type' => 'switcher', 'title' => __( 'Enable Theme Light Mode', 'bittumb' ), ), array( 'id' => 'btm_theme_light_mode_logo', 'type' => 'media', 'title' => __( 'Light Mode Logo', 'bittumb' ), 'url' => false, 'button_title' => __( 'ADD LOGO', 'bittumb' ), 'dependency' => array( 'btm_theme_mode', '==', 'true' ), ), array( 'id' => 'btm_theme_col_layout', 'type' => 'select', 'title' => __( 'Theme Layout Column', 'bittumb' ), 'options' => array( 'two_columns' => __( 'Two Columns', 'bittumb' ), 'three_columns' => __( 'Three Columns', 'bittumb' ), ), 'default' => 'three_columns' ), ) ) ); // Header Top Area CSF::createSection( $prefix, array( 'title' => __( 'Header Social Profiles', 'bittumb' ), 'fields' => array( // Enable Social Profile array( 'id' => 'btm_social_enable', 'type' => 'switcher', 'title' => __( 'Enable Social Profiles', 'bittumb' ), 'default' => true ), // Social Profiles array( 'id' => 'btm_social_profiles', 'type' => 'repeater', 'title' => __( 'Social Profiles', 'bittumb' ), 'fields' => array( // Icon Picker array( 'id' => 'btm_social_icon', 'type' => 'icon', 'title' => __( 'Social Icon', 'bittumb' ), ), // Icon Link array( 'id' => 'btm_social_link', 'type' => 'text', 'title' => __( 'Icon Link', 'bittumb' ), ), ), 'dependency' => array( 'btm_social_enable', '==', 'true' ), 'default' => array( array( 'btm_social_icon' => 'fa fa-facebook', 'btm_social_link' => '#', ), ) ), ) ) ); /** * Banner Posts */ CSF::createSection( $prefix, array( 'title' => __( 'Banner Post', 'bittumb' ), 'fields' => array( // Enable Banner Enable array( 'id' => 'btm_active_banner_post', 'type' => 'switcher', 'title' => __( 'Active Banner Post', 'bittumb' ), 'default' => true ), // Banner posts array( 'id' => 'btm_banner_posts', 'type' => 'select', 'title' => __( 'Select Posts Source', 'bittumb' ), 'default' => 'latest_post', 'options' => array( 'latest_post' => __( 'Latest Posts', 'bittumb' ), 'category_post' => __( 'Category Posts', 'bittumb' ), ), 'dependency' => array( 'btm_active_banner_post', '==', true ), ), // post categories array( 'id' => 'btm_post_categories', 'type' => 'select', 'title' => __( 'Select Post Category', 'bittumb' ), 'options' => 'categories', 'dependency' => array( array( 'btm_banner_posts', '==', 'category_post' ), array( 'btm_active_banner_post', '==', true ), ), ), // Total Posts array( 'id' => 'btm_total_posts', 'type' => 'spinner', 'title' => __( 'Total Posts', 'bittumb' ), 'dependency' => array( 'btm_active_banner_post', '==', true ), 'default' => 4 ), ) ) ); /** * Blog Post */ CSF::createSection( $prefix, array( 'title' => __( 'Blog Post', 'bittumb' ), 'fields' => array( // Read More text array( 'id' => 'btm_read_more_text', 'type' => 'text', 'title' => __( 'Read More Label', 'bittumb' ), 'default' => __( 'Read More', 'bittumb' ), ), // Social Share text array( 'id' => 'btm_social_share_text', 'type' => 'text', 'title' => __( 'Social Share Label', 'bittumb' ), 'default' => __( 'Share Now', 'bittumb' ), ), ) ) ); /** * Copyright */ CSF::createSection( $prefix, array( 'title' => __( 'Footer', 'bittumb' ), 'fields' => array( // Footer Logo array( 'id' => 'btm_footer_logo', 'type' => 'media', 'title' => __( 'Footer Logo', 'bittumb' ), 'url' => false, 'button_title' => __( 'ADD LOGO', 'bittumb' ), ), // Footer Copyright Text array( 'id' => 'btm_copyright_txt', 'type' => 'code_editor', 'title' => __( 'Copyright Text', 'bittumb' ), 'settings' => array( 'mode' => 'htmlmixed', ), 'default' => '© Copyright 2020 Bittumb. All Rights Reserved. Designed by: Zilla Themes', 'desc' => __( 'HTML is allowed', 'bittumb' ) ), ) ) ); }