' . "\n";
}
$h_class = '';
if ( aweaver_getopt( 'hide_site_title' ) != 'hide-none' ) {
$h_class = aweaver_getopt( 'hide_site_title' );
$lead = ' ';
}
$t_class = '';
if ( aweaver_getopt( 'site_title_add_class' ) != 'hide-none' ) {
$t_class .= ' ' . aweaver_getopt( 'site_title_add_class' );
}
if ( aweaver_getopt( 'expand_site_title' ) ) {
$t_class .= ' wvrx-expand-full';
}
echo "
\n";
$logo = aweaver_getopt( '_site_logo' );
$hide_logo = aweaver_getopt( '_hide_site_logo' );
$the_logo = aweaver_get_wp_custom_logo();
if ( $the_logo ) {
$hide_wp_logo = aweaver_getopt( 'hide_wp_site_logo' );
$the_logo = str_replace( 'custom-logo-link', 'custom-logo-link ' . $hide_wp_logo, $the_logo ); // fixup hide
}
$title = apply_filters( 'aweaver_site_title', esc_html( get_bloginfo( 'name', 'display' ) ) );
$title_text = $title;
if ( strlen( $the_logo ) > 0 ) { // there is a logo - what to do...
if ( aweaver_getopt( 'wplogo_for_title' ) ) {
$title_text = '
 . ')
';
// note: $title_text gets escaped/filtered via aweaver_sanitize_markup when it is actually echoed a few lines down from here...
} else {
echo "\n" . aweaver_sanitize_markup( $the_logo ) . "\n";
}
}
?>
>
>
\n";
return $title_over_image; // indicator that needs the closing div after the header image itself
}