$page_builder_details
$page_layout_details
$unlimited_sidebar_details
$shortcode_builder_details
$portfolio_details
$typography_details
$slider_details
$woocommerce_details
$custom_widget_details
$advanced_admin_details
$font_awesome_details
$responsive_layout_details
$testimonials_details
$social_media_details
$google_map_details
123-456-789 info@brawny.com
', 'brawny'), 'sanitize' => 'sanitize_text_field' ), ), ), 'primary_color_field' => array( 'title' => __('Change Color Options', 'brawny'), 'description' => __('This will reflect in links, buttons,Navigation and many others. Choose a color to match your site.', 'brawny'), 'fields' => array( 'enable_primary_color' => array( 'type' => 'checkbox', 'label' => __('Enable Custom Primary color', 'brawny'), 'default' => 0, 'sanitize_callback' => 'brawny_boolean', ), 'primary_color' => array( 'type' => 'color', 'label' => __('Primary Color', 'brawny'), 'description' => __('', 'brawny'), 'sanitize_callback' => 'sanitize_hex_color', 'default' => '#41285b' ), 'enable_header_bg_color' => array( 'type' => 'checkbox', 'label' => __('Enable Custom Header Background color', 'brawny'), 'default' => 0, 'sanitize_callback' => 'brawny_boolean', ), 'header_bg_color' => array( 'type' => 'color', 'label' => __('Header Background Color', 'brawny'), 'description' => __('', 'brawny'), 'sanitize_callback' => 'sanitize_hex_color', 'default' => '#41285b' ), 'enable_nav_bg_color' => array( 'type' => 'checkbox', 'label' => __('Enable Custom Navigation Background color', 'brawny'), 'default' => 0, 'sanitize_callback' => 'brawny_boolean', ), 'nav_bg_color' => array( 'type' => 'color', 'label' => __('Navigation Background Color', 'brawny'), 'description' => __('', 'brawny'), 'sanitize_callback' => 'sanitize_hex_color', 'default' => '#030303' ), 'enable_nav_hover_color' => array( 'type' => 'checkbox', 'label' => __('Enable Custom Navigation Hover backgroundcolor', 'brawny'), 'default' => 0, 'sanitize_callback' => 'brawny_boolean', ), 'nav_hover_color' => array( 'type' => 'color', 'label' => __('Navigation Hover Background Color', 'brawny'), 'description' => __('', 'brawny'), 'sanitize_callback' => 'sanitize_hex_color', 'default' => '#ec1d23' ), 'enable_nav_hover_font_color' => array( 'type' => 'checkbox', 'label' => __('Enable Custom Navigation Hover Font Color', 'brawny'), 'default' => 0, 'sanitize_callback' => 'brawny_boolean', ), 'nav_hover_font_color' => array( 'type' => 'color', 'label' => __('Navigation Hover Font Color', 'brawny'), 'description' => __('', 'brawny'), 'sanitize_callback' => 'sanitize_hex_color', 'default' => '#ffffff' ), 'enable_secondary_color' => array( 'type' => 'checkbox', 'label' => __('Enable Custom Secondary color', 'brawny'), 'default' => 0, 'sanitize_callback' => 'brawny_boolean', ), 'secondary_color' => array( 'type' => 'color', 'label' => __('Secondary Color', 'brawny'), 'description' => __('', 'brawny'), 'sanitize_callback' => 'sanitize_hex_color', 'default' => '#282828' ), ), ), 'footer_section' => array( 'title' => __('Footer', 'brawny'), 'description' => __('Theme options related to footer area of theme', 'brawny'), 'fields' => array( 'footer-widgets' => array( 'type' => 'checkbox', 'label' => __('Check to Enable 4 Column Footer widget Area', 'brawny'), 'description' => __(' Check to enable 4 Column Footer widget Area', 'brawny'), 'default' => 1, 'sanitize_callback' => 'brawny_boolean', ), 'copyright' => array( 'type' => 'textarea', 'label' => __('Footer Copyright Text (Validated that it\'s HTML Allowed)', 'brawny'), 'description' => __('HTML Allowed. This field is even HTML validated! ', 'brawny'), 'sanitize_callback' => 'wbls_footer_copyright', ), ), ), 'blog_section' => array( 'title' => __('Blog', 'brawny'), 'description' => __('Blog options for site', 'brawny'), 'fields' => array( 'featured-image' => array( 'type' => 'checkbox', 'label' => __('Check to show featured image', 'brawny'), 'description' => __('Check to show featured image', 'brawny'), 'default' => 1, 'sanitize_callback' => 'brawny_boolean', ), 'featured_image_size' => array( 'type' => 'radio', 'label' => __('Choose the featured image display type for Blog Page ', 'brawny'), 'choices' => array( '1' => 'Large Featured Image', '2' => 'Small Featured Image', ), 'default' => '1', ), 'single-featured-image' => array( 'type' => 'checkbox', 'label' => __('Check to show featured image on single post', 'brawny'), 'description' => __('Check to show featured image on single post', 'brawny'), 'default' => 1, 'sanitize_callback' => 'brawny_boolean', ), 'single_featured_image_size' => array( 'type' => 'radio', 'label' => __('Choose the featured image display type for Single Page ', 'brawny'), 'choices' => array( '1' => 'Large Featured Image', '2' => 'Small Featured Image', ), 'default' => '1', ), 'author_bio_box' => array( 'type' => 'checkbox', 'label' => __(' Enable Author Bio Box below single post', 'brawny'), 'description' => __('Show Author information box below single post.', 'brawny'), 'default' => 0, ), 'social_sharing_box' => array( 'type' => 'checkbox', 'label' => __('Show social sharing options box below single post', 'brawny'), 'description' => __('Show social sharing options box below single post.', 'brawny'), 'default' => 1, ), 'related_posts' => array( 'type' => 'checkbox', 'label' => __('Show related posts', 'brawny'), 'description' => __('Show related posts.', 'brawny'), 'default' => 0, ), 'comments' => array( 'type' => 'checkbox', 'label' => __(' Show Comments', 'brawny'), 'description' => __('Show Comments', 'brawny'), 'default' => 1, ), ), ), 'social_sharing_box' => array( 'title' => __('Social Sharing Box', 'brawny'), 'description' => __('Social Sharing Icons Setup', 'brawny'), 'fields' => array( 'facebook_sb' => array( 'type' => 'checkbox', 'label' => __('Show facebook sharing option in single posts', 'brawny'), 'description' => __('Show facebook sharing option in single posts.', 'brawny'), 'default' => 1, ), 'twitter_sb' => array( 'type' => 'checkbox', 'label' => __('Show twitter sharing option in single posts', 'brawny'), 'description' => __('Show twitter sharing option in single posts.', 'brawny'), 'default' => 1, ), 'linkedin_sb' => array( 'type' => 'checkbox', 'label' => __('Show linkedin sharing option in single posts', 'brawny'), 'description' => __('Show linkedin sharing option in single posts.', 'brawny'), 'default' => 1, ), 'google-plus_sb' => array( 'type' => 'checkbox', 'label' => __('Show googleplus sharing option in single posts', 'brawny'), 'description' => __('Show googleplus sharing option in single posts.', 'brawny'), 'default' => 1, ), 'email_sb' => array( 'type' => 'checkbox', 'label' => __('Show email sharing option in single posts', 'brawny'), 'description' => __('Show email sharing option in single posts.', 'brawny'), 'default' => 1, ), ), ), ), ), // theme options panel end// 'home' => array( 'priority' => 9, 'title' => __('Home', 'brawny'), 'description' => __('Theme options related to home page', 'brawny'), 'sections' => array( 'slider_section' => array( 'title' => __('Flexslider Settings', 'brawny'), 'description' => __('','brawny'), 'fields' => array( 'image_upload-1' => array( 'type' => 'image', 'label' => __('Upload Image - Slider 1', 'brawny'), 'sanitize_callback' => 'esc_url_raw', 'default' => BRAWNY_PARENT_URL .'/images/slide1.png', ), 'flexcaption-1' => array( 'type' => 'textarea', 'label' => __('Enter Text (Flexcaption)- Slider 1', 'brawny'), 'sanitize' => 'sanitize_text_field', 'default' => sprintf( __('You haven\'t created any slider yet. Go to Customizer and click Home => FlexSlider Settings, edit or add your images and Caption.
', 'brawny'), admin_url('customize.php') ), ), 'image_upload-2' => array( 'type' => 'image', 'label' => __('Upload Image- Slider 2', 'brawny'), 'description' => __('','brawny'), 'sanitize_callback' => 'esc_url_raw', ), 'flexcaption-2' => array( 'type' => 'textarea', 'label' => __('Enter Text (Flexcaption)- Slider 2', 'brawny'), 'sanitize' => 'sanitize_text_field' ), 'image_upload-3' => array( 'type' => 'image', 'label' => __('Upload Image- Slider 3', 'brawny'), 'sanitize_callback' => 'esc_url_raw', ), 'flexcaption-3' => array( 'type' => 'textarea', 'label' => __('Enter Text (Flexcaption)- Slider 3', 'brawny'), 'sanitize' => 'sanitize_text_field' ), 'image_upload-4' => array( 'type' => 'image', 'label' => __('Upload Image- Slider 4', 'brawny'), 'sanitize_callback' => 'esc_url_raw', ), 'flexcaption-4' => array( 'type' => 'textarea', 'label' => __('Enter Text (Flexcaption)- Slider 4', 'brawny'), 'sanitize' => 'sanitize_text_field' ), 'image_upload-5' => array( 'type' => 'image', 'label' => __('Upload Image- Slider 5', 'brawny'), 'sanitize_callback' => 'esc_url_raw', ), 'flexcaption-5' => array( 'type' => 'textarea', 'label' => __('Enter Text (Flexcaption)- Slider 5', 'brawny'), 'sanitize' => 'sanitize_text_field' ), ), ), 'service_section-1' => array( 'title' => __('Service Section - 1','brawny'), 'description' => __('','brawny'), 'fields' => array ( 'service-icon-1' => array( 'type' => 'text', 'label' => __('Service Icon: Enter Font Awesome Icon name. e.g. fa fa-bullhorn', 'brawny'), 'sanitize' => 'sanitize_text_field', 'default' => 'fa fa-magic', ), 'service-title-1' => array( 'type' => 'text', 'label' => __('Service Title: Enter title of this service', 'brawny'), 'sanitize' => 'sanitize_text_field', 'default' => __( 'Featured Page', 'brawny' ), ), 'service-description-1' => array( 'type' => 'textarea', 'label' => __('Service Description', 'brawny'), 'sanitize' => 'sanitize_text_field', 'default' => sprintf(__('Featured page description text : use the page excerpt or set your own custom text. Click Customizer and Goto Home => Sercice Section -1.
', 'brawny' ), admin_url('customize.php') ), ), ), ), 'service_section-2' => array( 'title' => __('Service Section - 2','brawny'), 'description' => __('','brawny'), 'fields' => array ( 'service-icon-2' => array( 'type' => 'text', 'label' => __('Service Icon: Enter Font Awesome Icon name. e.g. fa fa-bullhorn', 'brawny'), 'sanitize' => 'sanitize_text_field', 'default' => 'fa fa-magic', ), 'service-title-2' => array( 'type' => 'text', 'label' => __('Service Title: Enter title of this service', 'brawny'), 'sanitize' => 'sanitize_text_field', 'default' => __( 'Featured Page', 'brawny' ), ), 'service-description-2' => array( 'type' => 'textarea', 'label' => __('Service Description', 'brawny'), 'sanitize' => 'sanitize_text_field', 'default' => sprintf(__('Featured page description text : use the page excerpt or set your own custom text. Click Customizer and Goto Home => Sercice Section -2.
', 'brawny' ), admin_url('customize.php') ), ), ), ), 'service_section-3' => array( 'title' => __('Service Section - 3','brawny'), 'description' => __('','brawny'), 'fields' => array ( 'service-icon-3' => array( 'type' => 'text', 'label' => __('Service Icon: Enter Font Awesome Icon name. e.g. fa fa-bullhorn', 'brawny'), 'sanitize' => 'sanitize_text_field', 'default' => 'fa fa-magic', ), 'service-title-3' => array( 'type' => 'text', 'label' => __('Service Title: Enter title of this service', 'brawny'), 'sanitize' => 'sanitize_text_field', 'default' => __( 'Featured Page', 'brawny' ), ), 'service-description-3' => array( 'type' => 'textarea', 'label' => __('Service Description', 'brawny'), 'sanitize' => 'sanitize_text_field', 'default' => sprintf(__('Featured page description text : use the page excerpt or set your own custom text. Click Customizer and Goto Home => Sercice Section -3.
', 'brawny' ), admin_url('customize.php') ), ), ), ), 'pro_home_section' => array( 'title' => __('Use Page Builder', 'brawny'), 'fields' => array( 'page-builder' => array( 'type' => 'checkbox', 'label' => __('Use Page Builder: Check this to disable theme options for home page content and use page builder to enter content', 'brawny'), 'default' => 0, ), 'flexslider' => array( 'type' => 'text', 'label' => __('Enter FlexSlider shortcode (FlexSlider for Home Page)', 'brawny'), 'description' => __('FlexSlider for Home Page. Enter a FlexSlider shortcode to be displayed on Home Page','brawny'), 'sanitize' => 'sanitize_text_field' ), ) ) ), ), // home panel end // ) )//panel end// ); function brawny_breadcrumb_char_choices($value='') { $choices = array('1','2','3'); if( in_array($value, $choices)) { return $value; } else { return '1'; } } function brawny_boolean($value) { if(is_bool($value)) { return $value; } else { return false; } } if ( ! function_exists( 'wbls_footer_copyright' ) ) { function wbls_footer_copyright($string) { $allowed_tags = array( 'a' => array( 'href' => array(), 'title' => array() ), 'img' => array( 'src' => array(), 'alt' => array() ), 'p' => array(), 'br' => array(), 'em' => array(), 'strong' => array(), ); return wp_kses( $string,$allowed_tags); } }