I have a code as following:
<div class="logo">
<a href="<?php echo esc_url(home_url('/')); ?>">
<?php
if( of_get_option( 'logo', true ) != '' ) {
if( of_get_option('logo', true) == "http://1"){
echo "<h1>".__('Logo','nature-one')."</h1>";
} else {
?>
<img src="<?php echo esc_url( of_get_option( 'logo', true )); ?>" / >
<?php } } else { ?>
<h1><?php bloginfo('name'); ?></h1>
<?php bloginfo('description'); ?>
<?php } ?>
</a>
</div><!-- logo -->
Which produces following output:
<div class="logo">
<a href="https://shuklaphanta-jungle-resort-shiwasreet.c9users.io/">
<h1>Shuklaphanta Jungle Cottage</h1>
Your Gateway to Shuklaphanta Wildlife Reserve </a>
</div>
I cannot do escape character work. How do I produce?
<h1 id="header-logo-h1>Something here</h1>
as html?