false ) ); add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list', 'gallery', 'caption', ) ); add_editor_style( 'editor-style.css' ); /* * Custom logo */ $args = array( 'height' => 60, 'width' => 200, ); add_theme_support( 'custom-logo', $args ); $args_bg = array( 'default-color' => 'f2f2f2', ); add_theme_support( 'custom-background', $args_bg ); /* * Widget text support shortcode */ add_filter('widget_text','do_shortcode'); register_nav_menu( 'primary', __( 'Primary Menu', 'businessmax' ) ); if ( ! isset( $content_width ) ) $content_width = 900; get_template_part('functions/default','settings'); $busmax_default_setting=busmax_default_setting_fun(); } function Bmax_custom_header_setup() { add_theme_support( 'custom-header', apply_filters( 'Bmax_custom_header_args', array( 'default-text-color' => 'fff', 'width' => 1600, 'height' => 200, 'wp-head-callback' => 'Bmax_header_style', ) ) ); } add_action( 'after_setup_theme', 'Bmax_custom_header_setup' ); if ( ! function_exists( 'Bmax_header_style' ) ) : /** * Styles the header image and text displayed on the blog * * @see Bmax_custom_header_setup(). */ function Bmax_header_style() { ?>