Skip to content

Instantly share code, notes, and snippets.

@JohnPlummer
Created May 4, 2011 20:25
Show Gist options
  • Save JohnPlummer/955963 to your computer and use it in GitHub Desktop.
Save JohnPlummer/955963 to your computer and use it in GitHub Desktop.
HTML5 Wordpress Footer
#nav-footer ul li.current_page_item > a {
pointer-events: none;
cursor: default;
color: #BED730;
}
function get_stylesheets() {
$template_uri = get_template_directory_uri();
$stylesheet_uri = get_stylesheet_directory_uri();
$styles = '';
$styles .= "<link rel=\"stylesheet\" href=\"$template_uri/css/blueprint/screen.css\">\n";
$styles .= "\t<link rel=\"stylesheet\" href=\"$template_uri/css/style.css\">\n";
$styles .= "\t<link rel=\"stylesheet\" href=\"$stylesheet_uri/css/style.css\">\n";
$styles .= "\t<!--[if lt IE 8]><link rel=\"stylesheet\" href=\"$template_uri/css/blueprint/ie.css\"><![endif]-->\n";
return $styles;
}
<html>
<head/>
<body>
<div id="wrap">
<div id="header-background>
<header class="container"/>
</div><!--#header-background-->
<div id="content-background>
<div id="content" class="container"/>
</div><!--#content-background-->
<div id="footer-background>
<footer class="container"/>
</div><!--#footer-background-->
</div><!--#wrap-->
</body>
</html>
<html>
<head/>
<body>
<div id="wrap" class="container">
<header/>
<div id="content"/>
<footer/>
</div><!--#wrap-->
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment