Title: Header clickable
Last modified: August 30, 2016

---

# Header clickable

 *  Resolved [Anucho](https://wordpress.org/support/users/anucho/)
 * (@anucho)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/header-clickable-2/)
 * Hello everyone
    can someone explain how to make the image head banner clickable(
   to home page) Thank You

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

 *  Theme Author [Richie KS](https://wordpress.org/support/users/rkcorp/)
 * (@rkcorp)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/header-clickable-2/#post-6436636)
 * try add this to functions.php (child theme) or wp-content/meso-custom-functions.
   php
 *     ```
       <?php
       function meso_remove_custom_header() {
       remove_action('bp_inside_header','mesocolumn_cih_overlay');
       }
       add_action('init','meso_remove_custom_header');
   
       function mesocolumn_custom_cih_overlay() {
       $header_overlay = get_theme_mod('custom_header_overlay');
       if( get_header_image() && $header_overlay == 'Yes' ) {
       echo '<div id="custom-img-header"><a href="'. get_home_url() . '"><img src="'. get_header_image() . '" alt="' . get_bloginfo('name') . '" /></a></div>';
       }
       }
       add_action('bp_inside_header','mesocolumn_custom_cih_overlay');
       ?>
       ```
   
 *  [cottage218](https://wordpress.org/support/users/cottage218/)
 * (@cottage218)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/header-clickable-2/#post-6436828)
 * Hi,
 * I’m trying to do the same thing. It’s not working when I add to the child theme.
   I had added it directly to the functions.php and it worked, but then I got locked
   out of the admin. Any thoughts? Thanks!
 *  [assistia](https://wordpress.org/support/users/assistia/)
 * (@assistia)
 * [10 years ago](https://wordpress.org/support/topic/header-clickable-2/#post-6436832)
 * it doesn’t work for me, is there any other way?
 *  Theme Author [Richie KS](https://wordpress.org/support/users/rkcorp/)
 * (@rkcorp)
 * [10 years ago](https://wordpress.org/support/topic/header-clickable-2/#post-6436833)
 * try
 *     ```
       <?php
       remove_action('bp_inside_header','mesocolumn_cih_overlay',10);
       function mesocolumn_custom_cih_overlay() {
       $header_overlay = get_theme_mod('custom_header_overlay');
       if( get_header_image() && $header_overlay == 'Yes' ) {
       echo '<div id="custom-img-header"><a href="'. get_home_url() . '"><img src="'. get_header_image() . '" alt="' . get_bloginfo('name') . '" /></a></div>';
       }
       }
       add_action('bp_inside_header','mesocolumn_custom_cih_overlay',20);
       ?>
       ```
   
 *  [assistia](https://wordpress.org/support/users/assistia/)
 * (@assistia)
 * [10 years ago](https://wordpress.org/support/topic/header-clickable-2/#post-6436834)
 * thank you, i tried this code but still not working, could you please check my
   link ?
    [http://www.tnnlk.com](http://www.tnnlk.com)

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

The topic ‘Header clickable’ is closed to new replies.

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

 * 5 replies
 * 4 participants
 * Last reply from: [assistia](https://wordpress.org/support/users/assistia/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/header-clickable-2/#post-6436834)
 * Status: resolved