Uname:
Linux webm012.cluster130.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Software:
Apache
PHP version:
8.0.30 [ PHP INFO ] PHP os:
Linux
Server Ip:
145.239.37.162
Your Ip:
216.73.216.190
User:
dreampi (1009562) | Group:
users (100)
Safe Mode:
OFF
Disable Function:
_dyuweyrj4,_dyuweyrj4r,dl
<?php
/**
* The template to display the logo or the site name and the slogan in the Header
*
* @package SPIN
* @since SPIN 1.0
*/
$spin_args = get_query_var( 'spin_logo_args' );
// Site logo
$spin_logo_type = isset( $spin_args['type'] ) ? $spin_args['type'] : '';
$spin_logo_image = spin_get_logo_image( $spin_logo_type );
$spin_logo_text = spin_is_on( spin_get_theme_option( 'logo_text' ) ) ? get_bloginfo( 'name' ) : '';
$spin_logo_slogan = get_bloginfo( 'description', 'display' );
if ( ! empty( $spin_logo_image['logo'] ) || ! empty( $spin_logo_text ) ) {
?><a class="sc_layouts_logo" href="<?php echo esc_url( home_url( '/' ) ); ?>">
<?php
if ( ! empty( $spin_logo_image['logo'] ) ) {
if ( empty( $spin_logo_type ) && function_exists( 'the_custom_logo' ) && is_numeric($spin_logo_image['logo']) && (int) $spin_logo_image['logo'] > 0 ) {
the_custom_logo();
} else {
$spin_attr = spin_getimagesize( $spin_logo_image['logo'] );
echo '<img src="' . esc_url( $spin_logo_image['logo'] ) . '"'
. ( ! empty( $spin_logo_image['logo_retina'] ) ? ' srcset="' . esc_url( $spin_logo_image['logo_retina'] ) . ' 2x"' : '' )
. ' alt="' . esc_attr( $spin_logo_text ) . '"'
. ( ! empty( $spin_attr[3] ) ? ' ' . wp_kses_data( $spin_attr[3] ) : '' )
. '>';
}
} else {
spin_show_layout( spin_prepare_macros( $spin_logo_text ), '<span class="logo_text">', '</span>' );
spin_show_layout( spin_prepare_macros( $spin_logo_slogan ), '<span class="logo_slogan">', '</span>' );
}
?>
</a>
<?php
}