/**
     * Front-end display of widget.
     *
     * @see WP_Widget::widget()
     *
     * @param array $args     Widget arguments.
     * @param array $instance Saved values from database.
     */
    public function printWidget($args, $instance)
    {
        $text = __('ProudCity - a new way to launch your city site.', 'proud-core');
        ?>
      <div class="powered-by">
        <p>
          Powered by <a href="https://proudcity.com" title="<?php 
        echo $text;
        ?>
" alt="<?php 
        echo $text;
        ?>
"><?php 
        echo Core\print_proud_logo('logo-white');
        ?>
</a>
        </p>
      </div>
    <?php 
    }
    /**
     * Front-end display of widget.
     *
     * @see WP_Widget::widget()
     *
     * @param array $args     Widget arguments.
     * @param array $instance Saved values from database.
     */
    public function printWidget($args, $instance)
    {
        $hide = get_theme_mod('proud_logo_includes_title');
        $hide_class = $hide ? 'hide-site-name' : '';
        ?>
      <div class="panel-pane pane-page-logo text-center <?php 
        echo $hide_class;
        ?>
">
        <div class="pane-content">
          <a href="<?php 
        echo get_home_url();
        ?>
" rel="home" id="logo" title="Home">
            <?php 
        if ($instance['logo']) {
            ?>
              <img src="<?php 
            echo $instance['logo'];
            ?>
" alt="Home">
            <?php 
        } else {
            ?>
              <?php 
            echo Core\print_proud_logo('icon-white', ['class' => 'logo', 'title' => 'Home', 'alt' => 'Alt']);
            ?>
 
            <?php 
        }
        ?>
            <h4 class="site-name"><?php 
        bloginfo();
        ?>
</h4>
          </a>  
        </div>
      </div>
    <?php 
    }