72 PART II • Designing and Developing WordPress Themes
Author: Thord Daniel Hedengren
Author URI: http://tdh.me/
Description: A simple light weight blog theme.
Version: 1.0
License: GNU General Public License
License URI: license.txt
*/
After that, there are just regular styles. You’ll notice the License and License URI lines; these
are basically just the license for the theme and a note telling others that the complete license
is available in the theme folder, in a text file called license.txt. It’s a good idea to have one of
these to avoid confusion.
UP TOP, THE HEADER.PHP FILE
Starting from the top of the HTML file, you obviously have your makings of the header.php
file. Figure 4-3 shows what you want to move into that file visually.
Figure 4-3: This is what you want in your header.php file.
Because header.php is loaded as a header for all purposes in this theme (although you can
have several headers if you like), you want this file to be general enough to work on all
occasions. This is the code I’ve copied from the HTML file, to a new file called header.php:
<!DOCTYPE HTML>
<html>