Title: Insert logo
Last modified: August 21, 2016

---

# Insert logo

 *  [gabriel@linton.se](https://wordpress.org/support/users/gabriellintonse/)
 * (@gabriellintonse)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/insert-logo-1/)
 * Hi!
    Thanks for a nice theme. I wonder how to put in my own logo. Can anyone 
   help me? Thanks! Gabriel Linton

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

 *  Theme Author [TT Themes](https://wordpress.org/support/users/tomastoman/)
 * (@tomastoman)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/insert-logo-1/#post-4284895)
 * Hi Gabriel,
    if you want to put your logo in header area instead of the Site 
   Title and Description, please replace the following code in header.php:
 *     ```
       <div id="header-title">
           <p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php bloginfo( 'name' ); ?></a></p>
           <p class="site-description"><?php bloginfo( 'description' ); ?></p>
         </div>
       ```
   
 * by this code:
 *     ```
       <div id="header-title">
           <a href="<?php echo esc_url( home_url( '/' ) ); ?>"><img src="<?php echo get_template_directory_uri(); ?>/images/logo.png" alt="My logo" /></a>
         </div>
       ```
   
 * In this specific case, your logo file has to be named “logo.png” and must be 
   located in “wp-content/themes/visitpress/images” folder.
 * I hope that my answer will be helpful for you.
 *  Thread Starter [gabriel@linton.se](https://wordpress.org/support/users/gabriellintonse/)
 * (@gabriellintonse)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/insert-logo-1/#post-4284972)
 * Thanks!
    And one more question: if my logo is located somewhere else on my computer.
   How will I do? /Gabriel
 *  Theme Author [TT Themes](https://wordpress.org/support/users/tomastoman/)
 * (@tomastoman)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/insert-logo-1/#post-4284973)
 * You can upload your logo via Media Uploader in WordPress administration and then
   copy its URL address into the code described above:
 *     ```
       <div id="header-title">
           <a href="<?php echo esc_url( home_url( '/' ) ); ?>"><img src="http://your-logo-url" alt="My logo" /></a>
        </div>
       ```
   

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

The topic ‘Insert logo’ is closed to new replies.

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

## Tags

 * [logo](https://wordpress.org/support/topic-tag/logo/)
 * [visit](https://wordpress.org/support/topic-tag/visit/)

 * 3 replies
 * 2 participants
 * Last reply from: [TT Themes](https://wordpress.org/support/users/tomastoman/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/insert-logo-1/#post-4284973)
 * Status: not resolved