Skip to content

Instantly share code, notes, and snippets.

@chrisvanpatten
Created April 27, 2012 13:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisvanpatten/2509424 to your computer and use it in GitHub Desktop.
Save chrisvanpatten/2509424 to your computer and use it in GitHub Desktop.
base.php example
<?php $base = theme_template_base(); ?><!DOCTYPE html>
<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
<!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]-->
<!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]-->
<!--[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
<?php get_template_part('head'); ?>
<body <?php body_class(); ?>>
<div id="wrap">
<div id="content-top"></div>
<div id="content-wrap">
<?php get_header(); ?>
<div id="content">
<?php include theme_template_path(); ?>
</div>
<div id="grad-holder">
<div id="bgrad"></div>
<div id="tgrad"></div>
</div>
</div>
<?php get_footer(); ?>
</div>
<!--[if lt IE 7 ]>
<script src="http://cdn.vanpattenmedia.com/js/libs/dd_belatedpng.js"></script>
<script> DD_belatedPNG.fix('img, .png_fix');</script>
<![endif]-->
<?php wp_footer(); ?>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment