Created
July 9, 2012 12:09
-
-
Save jameshibbard/3076112 to your computer and use it in GitHub Desktop.
Sample header file for WordPress site
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title><?php wp_title('|', 1, 'right'); ?> <?php bloginfo('name'); ?></title> | |
<link rel="Stylesheet" type="text/css" href="<?php echo get_stylesheet_directory_uri(); ?>/style.css" /> | |
<?php wp_head(); ?> | |
</head> | |
<body> | |
<div class="container"> | |
<div class="header"> | |
<h1><?php bloginfo('name'); ?></h1> | |
</div> <!-- end .header --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment