• I want my header image to link to sending a email when a person clicks on the header image. I’ve created the child theme, copied the header.php files, but now cannot find the correct place to put this code from what I can find from other posts. Other posts, state to find this in the header.php “the second occurrence of <?php get_search_form(); ?>” and place this code:

    <div id=”email-block”><span>[email protected]</span></div>

    But I cannot find this code in my header.php! Please someone tell me what I am missing…I know I am so close!

Viewing 1 replies (of 1 total)
  • Moderator Kathryn Presner

    (@zoonini)

    I would strongly recommend you not make the header image an email link, as it goes against standard practices. You’ll likely end up frustrating your site visitors, who’ll click on the header expecting the header to take them to the site’s homepage but instead have their email application opened up without warning.

Viewing 1 replies (of 1 total)
  • The topic ‘Adding email link to header image’ is closed to new replies.