<span><?php 
        echo NTemplateHelpers::escapeHtml($themeOptions->general->logo_text, ENT_NOQUOTES);
        ?>
</span>
				</a>
<?php 
    }
} else {
    if (!empty($themeOptions->general->logo_img)) {
        ?>
				<a class="trademark" href="<?php 
        echo htmlSpecialChars($homeUrl);
        ?>
">
					<img src="<?php 
        echo WpLatteFunctions::linkTo($themeOptions->general->logo_img);
        ?>
" alt="logo" />
				</a>
<?php 
    } else {
        ?>
				<a href="<?php 
        echo htmlSpecialChars($homeUrl);
        ?>
">
					<span><?php 
        echo NTemplateHelpers::escapeHtml($themeOptions->general->logo_text, ENT_NOQUOTES);
        ?>
</span>
				</a>