Skip to content

Instantly share code, notes, and snippets.

@michaeltwofish
Created March 21, 2012 05:52
Show Gist options
  • Save michaeltwofish/2144979 to your computer and use it in GitHub Desktop.
Save michaeltwofish/2144979 to your computer and use it in GitHub Desktop.
Adding jquery to a theme
<head>
<title><?php Options::out( 'title' ); ?></title>
<meta charset="utf-8" />
<meta name="generator" content="Habari">
<!--[if IE]>
<script src="<?php Site::out_url( 'theme' ); ?>/html5.js"></script>
<![endif]-->
<?php Stack::add('template_header_javascript', Site::get_url('scripts') . '/jquery.js', 'jquery');?>
<?php echo $theme->header(); ?>
</head>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment