<?php
	global $wp_customize;

	$default_class = '';

	/* WP CUSTOMIZE */
	if( isset( $wp_customize ) ){
		$default = true;
		$default_class = !(bool)get_theme_mod( 'default-content', true ) ? 'hidden' : '';
	}

	/* FRONTEND */
	else{
		$default = (bool)get_theme_mod( 'default-content', true );
	}

	/* SIDEBAR */
    if ( dynamic_sidebar( 'footer-first' ) ){
        /* IF NOT EMPTY */    
    }

    else if( $default ){
        echo '<div class="widget widget_blog_details mythemes-default-content ' . esc_attr( $default_class ) . '">';
        echo '<h1><a href="' . esc_url( home_url( '/' ) ) . '" title="' . esc_attr( get_option( 'blogname' ) . ' - ' . get_option( 'blogdescription' )  ) . '">' . __( 'Treeson' , 'treeson' ) . '</a></h1>';
        echo '<p>' . sprintf( __( 'Treeson is clean white multipurpose WordPress theme with creative design.%s Theme comes with nice flat design concept and responsive layout.' , 'treeson' ) , '<br/>' ) . '</p>';
        echo '</div>';
    }
?>