__( 'Sidebar', 'blogly-lite' ), 'id' => 'sidebar-1', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); } add_action( 'widgets_init', 'themefurnace_widgets_init' ); // Custom Backgrounds function themefurnace_register_custom_background() { $args = array( 'default-color' => '#FF706C', 'default-image' => '', ); $args = apply_filters( 'themefurnace_custom_background_args', $args ); add_theme_support( 'custom-background', $args ); if ( ! empty( $args['default-image'] ) ) define( 'BACKGROUND_IMAGE', $args['default-image'] ); } add_action( 'after_setup_theme', 'themefurnace_register_custom_background' ); function themefurnace_load_theme_fonts() { $heading = get_theme_mod('google_fonts_heading_font'); $body = get_theme_mod('google_fonts_body_font'); if((!empty($heading) && $heading != 'none') || (!empty($body) && $body != 'none')) { echo ' '; } } // load colors function themefurnace_load_theme_colors() { $backgroundColor = get_theme_mod('background_color', '#FF706C'); $linkColor = get_theme_mod('link_color', '#FF706C'); $accentColor = get_theme_mod('accent_color', '#FF706C'); echo ' '; $body = get_theme_mod('google_fonts_body_font'); if(!empty($heading) && $heading != 'none' && !empty($body) && $body != 'none') { echo ' '; } }