Creating a Custom Header in WordPress

I used an image for header that I wanted to cite the photographer with a link to his website. There isn’t a clear way to do this in WordPress tools. Therefore, I searched and found that I could edit the header.php file for the theme I was using to customize the header.  The header.php file is located at ./wp-content/themes/myThemeName where myThemeName was twentytwelve. i.e.  ./wp-content/themes/twentytwelve/header.php.

I added this piece of code to header.php before the ending </header> tag:

Image by <a href=”http://15belowphoto.com/”>Nick Wooley</a>

Like this:

This piece of code has the effect that the header for my WordPress website has a link to the photographer’s website like below.

The downside to modifying header.php is that it gets overwritten when updates to the theme are made. Ugh! Make sure to document the modifications to header.php. Backing it up is undesirable because security updates may change the header.php code and thus restoring an older version may introduce security issues.

See the results of modifying header.php here:
http://www.teamvardo.com/