<?php
/**
 * The template part for displaying the current logo and site title.
 * 
 * @package Newsxo
 * 
 */

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {	exit; } 

if (!function_exists('newsxo_header_logo_section')) :
/**
 *  Header
 *
 * @since newsxo
 *
 */
function newsxo_header_logo_section() { ?>
  <!-- logo-->
  <div class="logo">
    <div class="site-logo">
      <?php if(get_theme_mod('custom_logo') !== ""){ the_custom_logo(); } ?>
    </div>
  <?php do_action('newsxo_action_header_site_title_tagline'); ?>
  </div>
  <!-- /logo-->
<?php  }
endif;
add_action('newsxo_action_header_logo_section', 'newsxo_header_logo_section', 4);

do_action('newsxo_action_header_logo_section');