HEX
Server: Apache
System: Linux p3plzcpnl504740.prod.phx3.secureserver.net 4.18.0-553.141.2.lve.el8.x86_64 #1 SMP Wed Jul 8 16:10:02 UTC 2026 x86_64
User: l2pbkn5l6xav (4972877)
PHP: 7.2.34
Disabled: NONE
Upload Files
File: /home/l2pbkn5l6xav/www/wp-content/themes/suevafree/core/templates/header/logo-layout.php
<?php

/**
 * This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
 * It is also available at this URL: http://www.gnu.org/licenses/gpl-3.0.txt
 */

if (!function_exists('suevafree_logo_layout_function')) {

	function suevafree_logo_layout_function( $description ) { 
	
		if ( suevafree_setting('suevafree_custom_logo') ) :
				
			echo "<a href='" . esc_url(home_url('/')) . "' title='" . get_bloginfo('name') . "' class='image-logo'>";
			echo "<img src='" . esc_url(suevafree_setting('suevafree_custom_logo')) . "' alt='logo'>"; 
			echo "</a>";
					
		else: 

			echo "<a href='" . esc_url(home_url('/')) . "' title='" . get_bloginfo('name') . "' class='logo'>";
			bloginfo('name');
			
			if ( isset($description) && $description == "on" )
				echo "<span>".get_bloginfo('description')."</span>";
			
			echo "</a>";

		endif; 
	
	}

	add_action( 'suevafree_logo_layout', 'suevafree_logo_layout_function', 10, 2 );

}

?>