Reply To: Logo missing since update

Home Forums Support Logo missing since update Reply To: Logo missing since update

Home Forums Support Logo missing since update Reply To: Logo missing since update

#194265
Joel

Yes from one of my previous posts here:

<?php
/*
Plugin Name: move widgets in header
Plugin URI:
Description: Used to move widgets in generatepress header
Version:
Author:
Author URI:
License:
License URI:
*/

if ( ! function_exists( ‘generate_header_items’ ) ) :
/**
* Build the header
*
* Wrapping this into a function allows us to customize the order in a child theme
*
* @since 1.2.9.7
*/
function generate_header_items()
{
$generate_settings = wp_parse_args(
get_option( ‘generate_settings’, array() ),
generate_get_defaults()
);

// Get the title and tagline
$title = get_bloginfo( ‘title’ );
$tagline = get_bloginfo( ‘description’ );

// If the disable title checkbox is checked, or the title field is empty, return true
$disable_title = ( ‘1’ == $generate_settings[ ‘hide_title’ ] || ” == $title ) ? true : false;

// If the disable tagline checkbox is checked, or the tagline field is empty, return true
$disable_tagline = ( ‘1’ == $generate_settings[ ‘hide_tagline’ ] || ” == $tagline ) ? true : false;

// Site title and tagline
if ( false == $disable_title || false == $disable_tagline ) : ?>

<?php if ( false == $disable_title ) : ?>
<p class=”main-title” itemprop=”headline”>” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” rel=”home”><?php bloginfo( ‘name’ ); ?></p>
<?php endif;

if ( false == $disable_tagline ) : ?>
<p class=”site-description”><?php echo html_entity_decode( bloginfo( ‘description’ ) ); ?></p>
<?php endif; ?>

<?php endif;

// Site logo
if ( ! empty( $generate_settings[‘logo’] ) ) : ?>

<?php endif;

// Header widget
if ( is_active_sidebar(‘header’) ) : ?>

<?php dynamic_sidebar( ‘header’ ); ?>

<?php endif;
}
endif;