Hi, I'm using Thematic and have just created my first child theme. http://savepointreyeswilderness.org/
I found code that was helpful in allowing me to upload a header image as a foreground image rather than as a background. But since the image includes a facebook icon, I need to use an image map in order to have that part of the header image clickable to a facebook page. Which brings me to the brave new world (for me) of writing actions. I made an attempt, below, which I added to my child theme's functions.php file, but it didn't work. I don't write PHP, and am not sure how to proceed. Should I be trying to replace html or overwriting it, and if so, how do I communicate that through my action?
I would love help with this specific problem, and would also really appreciate a referral to a good source for educating myself in this area. In the past I've always hired people to help me through the "backend" but I'm excited about getting my hands dirty myself now!
Here's what I tried:
// ---------- Adding image map to the header STARTS HERE
add_action('wp_head', 'header_image_map');
function header_image_map() {
<div id="logo-image">
<a href="http://savepointreyeswilderness.org">
<img src="http://savepointreyeswilderness.org/wp-content/uploads/2011/09/header.jpg" usemap="#Map">
</a>
<map name="Map" id="Map"><area shape="rect" coords="904,5,986,122" href="http://www.facebook.com/savepointreyeswilderness" />
</map>
</div>
}
// ---------- Adding the image map to the header ENDS HERE