LittleDemon WebShell


Linux webm007.cluster106.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Path : /home/e/g/l/eglisebaa/www/wp-content/themes/hallelujah/templates/
File Upload :
Command :
Current File : /home/e/g/l/eglisebaa/www/wp-content/themes/hallelujah/templates/header-logo.php

<?php
/**
 * The template to display the logo or the site name and the slogan in the Header
 *
 * @package WordPress
 * @subpackage HALLELUJAH
 * @since HALLELUJAH 1.0
 */

$hallelujah_args = get_query_var( 'hallelujah_logo_args' );

// Site logo
$hallelujah_logo_type   = isset( $hallelujah_args['type'] ) ? $hallelujah_args['type'] : '';
$hallelujah_logo_image  = hallelujah_get_logo_image( $hallelujah_logo_type );
$hallelujah_logo_text   = hallelujah_is_on( hallelujah_get_theme_option( 'logo_text' ) ) ? get_bloginfo( 'name' ) : '';
$hallelujah_logo_slogan = get_bloginfo( 'description', 'display' );
if ( ! empty( $hallelujah_logo_image['logo'] ) || ! empty( $hallelujah_logo_text ) ) {
	?><a class="sc_layouts_logo" href="<?php echo esc_url( home_url( '/' ) ); ?>">
		<?php
		if ( ! empty( $hallelujah_logo_image['logo'] ) ) {
			if ( empty( $hallelujah_logo_type ) && function_exists( 'the_custom_logo' ) && (int) $hallelujah_logo_image['logo'] > 0 ) {
				the_custom_logo();
			} else {
				$hallelujah_attr = hallelujah_getimagesize( $hallelujah_logo_image['logo'] );
				echo '<img src="' . esc_url( $hallelujah_logo_image['logo'] ) . '"'
						. ( ! empty( $hallelujah_logo_image['logo_retina'] ) ? ' srcset="' . esc_url( $hallelujah_logo_image['logo_retina'] ) . ' 2x"' : '' )
						. ' alt="' . esc_attr( $hallelujah_logo_text ) . '"'
						. ( ! empty( $hallelujah_attr[3] ) ? ' ' . wp_kses_data( $hallelujah_attr[3] ) : '' )
						. '>';
			}
		} else {
			hallelujah_show_layout( hallelujah_prepare_macros( $hallelujah_logo_text ), '<span class="logo_text">', '</span>' );
			hallelujah_show_layout( hallelujah_prepare_macros( $hallelujah_logo_slogan ), '<span class="logo_slogan">', '</span>' );
		}
		?>
	</a>
	<?php
}

LittleDemon - FACEBOOK
[ KELUAR ]