Title: h1 please help
Last modified: August 12, 2018

---

# h1 please help

 *  Resolved [Ellie87](https://wordpress.org/support/users/ellie87/)
 * (@ellie87)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/h1-please-help/)
 * hello, (running moesia)
    so I’m attempting with no results to put h1 tag (don’t
   have any) in my site logo. The logo is located sticky wrapper in the tab menu.
   So I have tried to add h1 tag to my header php, but I cannot seem to find the
   right code to put in and expeccialy in the correct position to give my site logo
   in the nav bar the h1 tag (only in my homepage). this is what my header.php looks
   like any help please I’m going nuts! 🙂 <?php /** * The header for our theme.**
   Displays all of the <head> section and everything up till <div id=”content”> **
   [@package](https://wordpress.org/support/users/package/) Moesia */ ?><!DOCTYPE
   html> <html <?php language_attributes(); ?>> <head> <title>Escursione Etna – 
   Visite guidate Etna, Taormina, Gole Alcantara</title> <meta name=”description”
   content=”Escursione Etna e Sicilia. Tour con guida Taormina, Gole Alcantara, 
   Siracusa, Catania. Transfer hotel incluso. Sconti per gruppi e bambini. Prenota
   online!”/> <link rel=”canonical” href=”[http://www.sicilysensations.it/&#8221](http://www.sicilysensations.it/&#8221);/
   > <meta name=”keywords” content=” escursioni etna, escursioni etna alcantara,
   escursioni sicilia, visite guidate etna, escursione etna, escursione sicilia,
   escursione tna e sicilia, escursioni etna gole alcantara, visite guidate sicilia
   > <meta charset=”<?php bloginfo( ‘charset’ ); ?>”> <meta name=”viewport” content
   =”width=device-width, initial-scale=1″> <link rel=”profile” href=”[http://gmpg.org/xfn/11″&gt](http://gmpg.org/xfn/11″&gt);
   <link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>”> <?php if ( 
   get_theme_mod(‘site_favicon’) ) : ?> <link rel=”shortcut icon” href=”<?php echo
   esc_url(get_theme_mod(‘site_favicon’)); ?>” /> <?php endif; ?>
 * <?php if ( get_theme_mod(‘apple_touch_144’) ) : ?>
    <link rel=”apple-touch-icon”
   sizes=”144×144″ href=”<?php echo esc_url(get_theme_mod(‘apple_touch_144’)); ?
   >” /> <?php endif; ?> <?php if ( get_theme_mod(‘apple_touch_114’) ) : ?> <link
   rel=”apple-touch-icon” sizes=”114×114″ href=”<?php echo esc_url(get_theme_mod(‘
   apple_touch_114’)); ?>” /> <?php endif; ?> <?php if ( get_theme_mod(‘apple_touch_72’)):?
   > <link rel=”apple-touch-icon” sizes=”72×72″ href=”<?php echo esc_url(get_theme_mod(‘
   apple_touch_72’)); ?>” /> <?php endif; ?> <?php if ( get_theme_mod(‘apple_touch_57’)):?
   > <link rel=”apple-touch-icon” href=”<?php echo esc_url(get_theme_mod(‘apple_touch_57’));?
   >” /> <?php endif; ?>
 * <?php wp_head(); ?>
    </head>
 * <body <?php body_class(); ?>>
    <div id=”page” class=”hfeed site”> [<?php _e( ‘Skip to content’, ‘moesia’ ); ?>](https://wordpress.org/support/topic/h1-please-help/?output_format=md#content)
 *  <?php //Single page header image data
    $himage = get_post_meta( get_the_ID(),‘
   wpcf-header-image’, true ); $htitle = get_post_meta( get_the_ID(), ‘wpcf-header-
   title’, true ); $hlogo = get_post_meta( get_the_ID(), ‘wpcf-header-logo’, true);
   $htext = get_post_meta( get_the_ID(), ‘wpcf-header-text’, true ); $hbutton = 
   get_post_meta( get_the_ID(), ‘wpcf-header-button-title’, true ); $hlink = get_post_meta(
   get_the_ID(), ‘wpcf-header-button-link’, true ); ?> <?php tha_header_before();?
   > <?php if ( get_header_image() && $himage == ” ) : ?> <?php if ( get_theme_mod(‘
   moesia_banner’) == 1 && !is_front_page() ) : ?> <header id=”masthead” class=”
   site-header” role=”banner”> <?php tha_header_top(); ?> <?php else : ?> <header
   id=”masthead” class=”site-header has-banner” role=”banner”> <?php tha_header_top();?
   > <?php if ( get_theme_mod(‘mobile_header’) ) : ?> “> <?php else : ?> “> <?php
   endif; ?> <?php endif; ?> <?php if ( (get_theme_mod(‘moesia_banner’) == 1 && 
   is_front_page()) || (get_theme_mod(‘moesia_banner’) != 1)) : ?> <?php if ( get_theme_mod(‘
   header_overlay’) != 1 ) : ?> <div class=”overlay”></div> <?php endif; ?> <div
   class=”welcome-info”> <?php if ( get_theme_mod(‘header_logo’) ) : ?> ” /> <?php
   elseif ( get_theme_mod(‘header_title’) ) : ?> <div class=”welcome-title wow bounceInDown”
   ><?php echo esc_attr(get_theme_mod(‘header_title’)); ?></div> <?php endif; ?>
   <?php if ( get_theme_mod(‘header_desc’) ) : ?> <div class=”welcome-desc wow bounceInRight”
   data-wow-delay=”0.2s”><?php echo esc_html(get_theme_mod(‘header_desc’)); ?></
   div> <?php endif; ?> <?php if (get_theme_mod(‘header_btn_text’) && get_theme_mod(‘
   header_btn_link’)) : ?> ” class=”welcome-button wow bounceInUp” data-wow-delay
   =”0.3s”><?php echo esc_html(get_theme_mod(‘header_btn_text’)); ?> <?php endif;?
   > </div> <?php endif; ?> <?php tha_header_bottom(); ?> </header><!– #masthead–
   > <?php elseif ( $himage != ” ) : ?> <header id=”masthead” class=”site-header
   has-banner” role=”banner”> <?php tha_header_top(); ?> “> <div class=”welcome-
   info”>
 *  <?php if ( $hlogo ) : ?>
    ” /> <?php elseif ( $htitle ) : ?> <div class=”welcome-
   title wow bounceInDown”><?php echo esc_html($htitle); ?></div> <?php endif; ?
   >
 *  <?php if ( $htext ) : ?>
    <div class=”welcome-desc wow bounceInRight” data-wow-
   delay=”0.2s”><?php echo esc_html($htext); ?></div> <?php endif; ?> <?php if (
   $hbutton && $hlink) : ?> ” class=”welcome-button wow bounceInUp” data-wow-delay
   =”0.3s”><?php echo esc_html($hbutton); ?> <?php endif; ?> </div> <?php tha_header_bottom();?
   > </header><!– #masthead –> <?php endif; ?> <?php tha_header_after(); ?>
 *  <?php if ( !is_page_template(‘page_front-page.php’) || ( ‘posts’ == get_option(‘
   show_on_front’ ) ) ) : ?>
    <?php $container = “container”; ?> <?php else : ?>
   <?php $container = “”; ?> <?php endif; ?> <?php tha_content_before(); ?> <div
   id=”content” class=”site-content clearfix <?php echo $container; ?>”> <?php tha_content_top();?
   >
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fh1-please-help%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘h1 please help’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/moesia/1.54/screenshot.png)
 * Moesia
 * [Support Threads](https://wordpress.org/support/theme/moesia/)
 * [Active Topics](https://wordpress.org/support/theme/moesia/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/moesia/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/moesia/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Ellie87](https://wordpress.org/support/users/ellie87/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/h1-please-help/)
 * Status: resolved