Permalink
Browse files

Adding wordpress theme for the blog.

  • Loading branch information...
1 parent 1466fc2 commit e2446009ea4d31e1a944f4d50f5e6cffa00720d9 @cjsaylor committed Jul 4, 2011
Showing with 53 additions and 0 deletions.
  1. +10 −0 wordpress/boxmeup.js
  2. +17 −0 wordpress/functions.php
  3. BIN wordpress/images/logo.png
  4. +1 −0 wordpress/jquery-init.js
  5. +25 −0 wordpress/style.css
View
@@ -0,0 +1,10 @@
+var _gaq = _gaq || [];
+_gaq.push(['_setAccount', 'UA-6305561-7']);
+_gaq.push(['_trackPageview']);
+
+$(document).ready(function() {
+ // Append analytics
+ $.getScript(('https:' == document.location.protocol ?
+ 'https://ssl' : 'http://www') +
+ '.google-analytics.com/ga.js');
+});
View
@@ -0,0 +1,17 @@
+<?php
+function init_cscom() {
+ if (!is_admin()) {
+ $scripts = array(
+ 'jsapi' => 'https://www.google.com/jsapi',
+ 'jquery' => dirname(get_stylesheet_uri()) . '/jquery-init.js',
+ 'boxmeup' => dirname(get_stylesheet_uri()) . '/boxmeup.js'
+ );
+ foreach($scripts as $key => $url) {
+ wp_deregister_script($key);
+ wp_register_script($key, $url);
+ wp_enqueue_script($key);
+ }
+ }
+}
+
+add_action('init', 'init_cscom');
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -0,0 +1 @@
+google.load('jquery', '1.4');
View
@@ -0,0 +1,25 @@
+/*
+Theme Name: Boxmeupblog
+Theme URI: http: //boxmeupapp.com/
+Description: Official boxmeup blog theme based on blue-and-gray.
+Author: Chris Saylor
+Author URI: http: //boxmeupapp.com/
+Template: blue-and-grey
+Version: 0.1
+*/
+
+@import url(../blue-and-grey/style.css);
+
+
+ul.menu { display: none; }
+body { background: #EFEBE3; }
+
+.header { height: 80px; background: none; }
+ .header p.logo a { border: none; padding-left: 36px; background: url(images/logo.png) left center no-repeat; font-size: 24px;}
+ .header p.logo a img { display: none; }
+
+.footer { display: none; }
+
+#design { display: none; }
+span.author { display: none; }
+span.cats { display: none; }

0 comments on commit e244600

Please sign in to comment.