Title: Adding  H1 tag UNDER my logo
Last modified: August 30, 2016

---

# Adding H1 tag UNDER my logo

 *  [josephtruong09](https://wordpress.org/support/users/josephtruong09/)
 * (@josephtruong09)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/adding-under-my-logo/)
 * Hello guys,
    I’m just created a new site and I want to use my logo, but once 
   I added my logo, my h1 is gone. My question is: how can I use both “logo” and“
   h1”, in case my logo display and my h1 is under my logo (invisible with visitors
   but it’s still there) My site is: [http://www.minhthanhonline.com/](http://www.minhthanhonline.com/)
   a code with h1 and logo inside of my header.php is something like this: ” <div
   class=”logo”> <?php if ($theme->get_option(‘themater_logo_source’) == ‘image’){?
   > “><img src=”<?php $theme->option(‘logo’); ?>” alt=”<?php bloginfo(‘name’); ?
   >” title=”<?php bloginfo(‘name’); ?>” /> <?php } else { ?> <?php if($theme->display(‘
   site_title’)) { ?> <h1 class=”site_title”>“><?php $theme->option(‘site_title’);?
   ></h1> <?php } ?>
 *  <?php if($theme->display(‘site_description’)) { ?>
    <h2 class=”site_description”
   ><?php $theme->option(‘site_description’); ?></h2> <?php } ?> <?php } ?> </div
   ><!– .logo –> “
 * I’m using wp 4.2.2, seem like the latest one.
    Please help me with that! Thanks
   a lot! JT

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [Shellbot](https://wordpress.org/support/users/shellbot/)
 * (@shellbot)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/adding-under-my-logo/#post-6278029)
 * Try replacing the relevant bit of code (from the second line you posted, to the
   seventh) with this:
 *     ```
       <?php if ($theme->get_option('themater_logo_source') == 'image') { ?>
       "><img src="<?php $theme->option('logo'); ?>" alt="<?php bloginfo('name'); ?>" title="<?php bloginfo('name'); ?>" />
       <?php } ?>
       <h1 class="site_title">"><?php $theme->option('site_title'); ?></h1>
       ```
   
 * It just removes the if/else and should display the h1 at all times. This code
   is untested so please make a backup of the file before making any changes.
 *  Thread Starter [josephtruong09](https://wordpress.org/support/users/josephtruong09/)
 * (@josephtruong09)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/adding-under-my-logo/#post-6278041)
 * Thank you Shellbot, for helping me.
    I did what you said but it didn’t work. 
   THis is what I get after I change the code: My site couldn’t load at the first
   time, I tried to load it second time and it showed the site like before. But 
   I couldn’t find any kind of <h1 when I hit “ctr + U” Do you have another way?
   Cause I dont know anything about coding!!! Thanks!
 *  [Shellbot](https://wordpress.org/support/users/shellbot/)
 * (@shellbot)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/adding-under-my-logo/#post-6278047)
 * We should be able to see at the very least an empty h1 tag now, so since that
   isn’t there it’s probably a caching issue. Try clearing your W3 Total Cache and
   also your browser cache and see if that refreshes the layout.
 *  Thread Starter [josephtruong09](https://wordpress.org/support/users/josephtruong09/)
 * (@josephtruong09)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/adding-under-my-logo/#post-6278049)
 * Hi,
    When I test a site, I always use “private browser” and I just empty all 
   caches. But the results still like before. I don’t really know why!
 *  [Shellbot](https://wordpress.org/support/users/shellbot/)
 * (@shellbot)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/adding-under-my-logo/#post-6278058)
 * It looks like (if your site is set to your own timezone and my calculations are
   correct) the cached page was last generated about an hour and a half ago (view
   source and scroll right to the very bottom). Sometimes they can be tricky to 
   fully clear, if we can’t think of anything else it might be worth just going 
   into your file directory and renaming anything named “cache” to force a full 
   clear.
 * Alternatively it’s possible the code you posted originally is itself surrounded
   by more if statements that are controlling the output, but obviously it’s a bit
   tricky to tell without seeing the whole file. I’d concentrate on trying to get
   the cache to clear before trying anything else.
 *  Thread Starter [josephtruong09](https://wordpress.org/support/users/josephtruong09/)
 * (@josephtruong09)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/adding-under-my-logo/#post-6278077)
 * Hi Shellbot,
    I think it’s not about cache issue. About browser, I used private
   one so it’s not about browser. About my site, because “after” I change the code,
   my website didn’t load at the first time, it’s only load when I tried to reload
   it again. So I think it’s not about my site’s cache either. Every time I changed
   the code and it didn’t work, then I changed it just like before so if you load
   my site now, you won’t find any issues, if that you’re thinking! Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Adding H1 tag UNDER my logo’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 2 participants
 * Last reply from: [josephtruong09](https://wordpress.org/support/users/josephtruong09/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/adding-under-my-logo/#post-6278077)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
