windhamdavid 6 years ago
parent
commit
099078c84f
73 changed files with 6289 additions and 0 deletions
  1. 24 0
      404.php
  2. 5 0
      README.md
  3. 24 0
      archive.php
  4. 73 0
      comments.php
  5. 24 0
      content-page.php
  6. 62 0
      content-single.php
  7. 63 0
      content.php
  8. 353 0
      css/stripe.css
  9. 26 0
      footer.php
  10. 62 0
      functions.php
  11. 38 0
      header.php
  12. 78 0
      image.php
  13. BIN
      img/blank.gif
  14. BIN
      img/bml_thermo.png
  15. BIN
      img/fancy_loading.png
  16. BIN
      img/fancy_nav_left.png
  17. BIN
      img/fancy_nav_right.png
  18. BIN
      img/fancy_shadow_e.png
  19. BIN
      img/fancy_shadow_n.png
  20. BIN
      img/fancy_shadow_ne.png
  21. BIN
      img/fancy_shadow_nw.png
  22. BIN
      img/fancy_shadow_s.png
  23. BIN
      img/fancy_shadow_se.png
  24. BIN
      img/fancy_shadow_sw.png
  25. BIN
      img/fancy_shadow_w.png
  26. BIN
      img/fancy_title_left.png
  27. BIN
      img/fancy_title_main.png
  28. BIN
      img/fancy_title_over.png
  29. BIN
      img/fancy_title_right.png
  30. BIN
      img/fancybox-x.png
  31. BIN
      img/fancybox-y.png
  32. BIN
      img/fancybox.png
  33. BIN
      img/h-amount.png
  34. BIN
      img/h-card.png
  35. BIN
      img/h-comment.png
  36. BIN
      img/h-cvc.png
  37. BIN
      img/h-email.png
  38. BIN
      img/h-name.png
  39. BIN
      img/helper.png
  40. BIN
      img/month.png
  41. BIN
      img/spinner.gif
  42. BIN
      img/thickbox_close.png
  43. BIN
      img/types.png
  44. BIN
      img/year.png
  45. 127 0
      inc/custom-header.php
  46. 26 0
      inc/customizer.php
  47. 70 0
      inc/extras.php
  48. 19 0
      inc/jetpack.php
  49. 231 0
      inc/template-tags.php
  50. 132 0
      inc/tweaks.php
  51. 46 0
      index.php
  52. 36 0
      js/customizer.js
  53. 1156 0
      js/fancybox-1.3.4.js
  54. 4 0
      js/init.js
  55. 2 0
      js/jquery-1.8.3.min.js
  56. 14 0
      js/keyboard-image-navigation.js
  57. 1 0
      js/lightbox-2.6.min.js
  58. 34 0
      js/navigation.js
  59. 2050 0
      js/script.js
  60. 19 0
      js/skip-link-focus-fix.js
  61. 22 0
      layouts/content-sidebar.css
  62. 22 0
      layouts/sidebar-content.css
  63. 33 0
      no-results.php
  64. 85 0
      page-date.php
  65. 105 0
      page-home.php
  66. 25 0
      page-test.php
  67. 34 0
      page.php
  68. BIN
      screenshot.png
  69. 38 0
      search.php
  70. 14 0
      searchform.php
  71. 33 0
      sidebar.php
  72. 31 0
      single.php
  73. 1048 0
      style.css

+ 24 - 0
404.php

@@ -0,0 +1,24 @@
+<?php ?>
+<!DOCTYPE html>
+<html <?php language_attributes(); ?>>
+<head>
+<meta charset="<?php bloginfo( 'charset' ); ?>">
+<meta name="viewport" content="width=device-width, initial-scale=1">
+<title><?php wp_title( '|', true, 'right' ); ?></title>
+<?php wp_head(); ?>
+</head>
+<body>
+<div class="container">
+	<div class="twelve">
+		<div class="content">
+			<main class="main" role="main">
+				Not Found
+			</main>
+		</div>
+	</div>
+	<footer class="footer" role="info">
+	</footer>
+</div>
+<?php wp_footer(); ?>
+</body>
+</html>

+ 5 - 0
README.md

@@ -0,0 +1,5 @@
+_bml
+===  
+
+
+runaway fork of _s ( https://github.com/Automattic/_s/ )  

+ 24 - 0
archive.php

@@ -0,0 +1,24 @@
+<?php ?>
+<!DOCTYPE html>
+<html <?php language_attributes(); ?>>
+<head>
+<meta charset="<?php bloginfo( 'charset' ); ?>">
+<meta name="viewport" content="width=device-width, initial-scale=1">
+<title><?php wp_title( '|', true, 'right' ); ?></title>
+<?php wp_head(); ?>
+</head>
+<body>
+<div class="container">
+	<div class="twelve">
+		<div class="content">
+			<main class="main" role="main">
+				Not Found
+			</main>
+		</div>
+	</div>
+	<footer class="footer" role="info">
+	</footer>
+</div>
+<?php wp_footer(); ?>
+</body>
+</html>

+ 73 - 0
comments.php

@@ -0,0 +1,73 @@
+<?php
+/**
+ * The template for displaying Comments.
+ *
+ * The area of the page that contains both current comments
+ * and the comment form. The actual display of comments is
+ * handled by a callback to bml_comment() which is
+ * located in the inc/template-tags.php file.
+ *
+ * @package bml
+ */
+
+/*
+ * If the current post is protected by a password and
+ * the visitor has not yet entered the password we will
+ * return early without loading the comments.
+ */
+if ( post_password_required() )
+	return;
+?>
+
+	<div id="comments" class="comments-area">
+
+	<?php // You can start editing here -- including this comment! ?>
+
+	<?php if ( have_comments() ) : ?>
+		<h2 class="comments-title">
+			<?php
+				printf( _nx( 'One thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', get_comments_number(), 'comments title', 'bml' ),
+					number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>' );
+			?>
+		</h2>
+
+		<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
+		<nav id="comment-nav-above" class="comment-navigation" role="navigation">
+			<h1 class="screen-reader-text"><?php _e( 'Comment navigation', 'bml' ); ?></h1>
+			<div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'bml' ) ); ?></div>
+			<div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'bml' ) ); ?></div>
+		</nav><!-- #comment-nav-above -->
+		<?php endif; // check for comment navigation ?>
+
+		<ol class="comment-list">
+			<?php
+				/* Loop through and list the comments. Tell wp_list_comments()
+				 * to use bml_comment() to format the comments.
+				 * If you want to override this in a child theme, then you can
+				 * define bml_comment() and that will be used instead.
+				 * See bml_comment() in inc/template-tags.php for more.
+				 */
+				wp_list_comments( array( 'callback' => 'bml_comment' ) );
+			?>
+		</ol><!-- .comment-list -->
+
+		<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
+		<nav id="comment-nav-below" class="comment-navigation" role="navigation">
+			<h1 class="screen-reader-text"><?php _e( 'Comment navigation', 'bml' ); ?></h1>
+			<div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'bml' ) ); ?></div>
+			<div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'bml' ) ); ?></div>
+		</nav><!-- #comment-nav-below -->
+		<?php endif; // check for comment navigation ?>
+
+	<?php endif; // have_comments() ?>
+
+	<?php
+		// If comments are closed and there are comments, let's leave a little note, shall we?
+		if ( ! comments_open() && '0' != get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) :
+	?>
+		<p class="no-comments"><?php _e( 'Comments are closed.', 'bml' ); ?></p>
+	<?php endif; ?>
+
+	<?php comment_form(); ?>
+
+</div><!-- #comments -->

+ 24 - 0
content-page.php

@@ -0,0 +1,24 @@
+<?php
+/**
+ * The template used for displaying page content in page.php
+ *
+ * @package bml
+ */
+?>
+
+<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+	<header class="entry-header">
+		<h1 class="entry-title"><?php the_title(); ?></h1>
+	</header><!-- .entry-header -->
+
+	<div class="entry-content">
+		<?php the_content(); ?>
+		<?php
+			wp_link_pages( array(
+				'before' => '<div class="page-links">' . __( 'Pages:', 'bml' ),
+				'after'  => '</div>',
+			) );
+		?>
+	</div><!-- .entry-content -->
+	<?php edit_post_link( __( 'Edit', 'bml' ), '<footer class="entry-meta"><span class="edit-link">', '</span></footer>' ); ?>
+</article><!-- #post-## -->

+ 62 - 0
content-single.php

@@ -0,0 +1,62 @@
+<?php
+/**
+ * @package bml
+ */
+?>
+
+<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+	<header class="entry-header">
+		<h1 class="entry-title"><?php the_title(); ?></h1>
+
+		<div class="entry-meta">
+			<?php bml_posted_on(); ?>
+		</div><!-- .entry-meta -->
+	</header><!-- .entry-header -->
+
+	<div class="entry-content">
+		<?php the_content(); ?>
+		<?php
+			wp_link_pages( array(
+				'before' => '<div class="page-links">' . __( 'Pages:', 'bml' ),
+				'after'  => '</div>',
+			) );
+		?>
+	</div><!-- .entry-content -->
+
+	<footer class="entry-meta">
+		<?php
+			/* translators: used between list items, there is a space after the comma */
+			$category_list = get_the_category_list( __( ', ', 'bml' ) );
+
+			/* translators: used between list items, there is a space after the comma */
+			$tag_list = get_the_tag_list( '', __( ', ', 'bml' ) );
+
+			if ( ! bml_categorized_blog() ) {
+				// This blog only has 1 category so we just need to worry about tags in the meta text
+				if ( '' != $tag_list ) {
+					$meta_text = __( 'This entry was tagged %2$s. Bookmark the <a href="%3$s" rel="bookmark">permalink</a>.', 'bml' );
+				} else {
+					$meta_text = __( 'Bookmark the <a href="%3$s" rel="bookmark">permalink</a>.', 'bml' );
+				}
+
+			} else {
+				// But this blog has loads of categories so we should probably display them here
+				if ( '' != $tag_list ) {
+					$meta_text = __( 'This entry was posted in %1$s and tagged %2$s. Bookmark the <a href="%3$s" rel="bookmark">permalink</a>.', 'bml' );
+				} else {
+					$meta_text = __( 'This entry was posted in %1$s. Bookmark the <a href="%3$s" rel="bookmark">permalink</a>.', 'bml' );
+				}
+
+			} // end check for categories on this blog
+
+			printf(
+				$meta_text,
+				$category_list,
+				$tag_list,
+				get_permalink()
+			);
+		?>
+
+		<?php edit_post_link( __( 'Edit', 'bml' ), '<span class="edit-link">', '</span>' ); ?>
+	</footer><!-- .entry-meta -->
+</article><!-- #post-## -->

+ 63 - 0
content.php

@@ -0,0 +1,63 @@
+<?php
+/**
+ * @package bml
+ */
+?>
+
+<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+	<header class="entry-header">
+		<h1 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
+
+		<?php if ( 'post' == get_post_type() ) : ?>
+		<div class="entry-meta">
+			<?php bml_posted_on(); ?>
+		</div><!-- .entry-meta -->
+		<?php endif; ?>
+	</header><!-- .entry-header -->
+
+	<?php if ( is_search() ) : // Only display Excerpts for Search ?>
+	<div class="entry-summary">
+		<?php the_excerpt(); ?>
+	</div><!-- .entry-summary -->
+	<?php else : ?>
+	<div class="entry-content">
+		<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'bml' ) ); ?>
+		<?php
+			wp_link_pages( array(
+				'before' => '<div class="page-links">' . __( 'Pages:', 'bml' ),
+				'after'  => '</div>',
+			) );
+		?>
+	</div><!-- .entry-content -->
+	<?php endif; ?>
+
+	<footer class="entry-meta">
+		<?php if ( 'post' == get_post_type() ) : // Hide category and tag text for pages on Search ?>
+			<?php
+				/* translators: used between list items, there is a space after the comma */
+				$categories_list = get_the_category_list( __( ', ', 'bml' ) );
+				if ( $categories_list && bml_categorized_blog() ) :
+			?>
+			<span class="cat-links">
+				<?php printf( __( 'Posted in %1$s', 'bml' ), $categories_list ); ?>
+			</span>
+			<?php endif; // End if categories ?>
+
+			<?php
+				/* translators: used between list items, there is a space after the comma */
+				$tags_list = get_the_tag_list( '', __( ', ', 'bml' ) );
+				if ( $tags_list ) :
+			?>
+			<span class="tags-links">
+				<?php printf( __( 'Tagged %1$s', 'bml' ), $tags_list ); ?>
+			</span>
+			<?php endif; // End if $tags_list ?>
+		<?php endif; // End if 'post' == get_post_type() ?>
+
+		<?php if ( ! post_password_required() && ( comments_open() || '0' != get_comments_number() ) ) : ?>
+		<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'bml' ), __( '1 Comment', 'bml' ), __( '% Comments', 'bml' ) ); ?></span>
+		<?php endif; ?>
+
+		<?php edit_post_link( __( 'Edit', 'bml' ), '<span class="edit-link">', '</span>' ); ?>
+	</footer><!-- .entry-meta -->
+</article><!-- #post-## -->

+ 353 - 0
css/stripe.css

@@ -0,0 +1,353 @@
+#wp-stripe-wrap {
+        display:block;
+        padding:10px;
+        margin:0px;
+        width: 400px;
+        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
+}
+
+/* Payment Form Link */
+
+#wp-stripe-modal-button {
+        margin:20px 0;
+        padding: 8px 15px;
+        min-width:100px;
+        display:inline-block;
+        text-align:center;
+        font-weight: bold;
+        font-size: 12px;
+        background: #1275FF;
+        border: 1px solid #155FB0;
+        color: white;
+        text-decoration: none;
+        text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
+        background-image: -webkit-gradient(linear, left top, left bottom, from(#77B7FF), to(#017AFF));
+        background-image: -moz-linear-gradient(top, #77B7FF, #017AFF);
+        background-image: -o-linear-gradient(top, #77B7FF, #017AFF);
+        -webkit-box-shadow: inset 0 1px 0 #98c9ff;
+        -moz-box-shadow: inset 0 1px 0 #98c9ff;
+        box-shadow: inset 0 1px 0 #98c9ff;
+        -o-border-radius: 4px;
+        -moz-border-radius: 4px;
+        -webkit-border-radius: 4px;
+        border-radius: 4px;
+        cursor: pointer; cursor: hand;
+}
+
+#wp-stripe-types {
+        display:block;
+        width:256px;
+        height:18px;
+        background: url('../img/types.png') no-repeat top left;
+        margin-bottom:20px;
+}
+
+/* Payment Form Elements */
+
+form#wp-stripe-payment-form {
+         display:block;
+}
+
+.stripe-row-right,
+.stripe-row-left{width:50%;}
+
+form#wp-stripe-payment-form h2.stripe-header {
+        padding:10px;
+        color:#fff;
+        font-size:14px;
+        font-weight:bold;
+        text-shadow: 0 -1px 1px rgba(0,0,0,0.3);
+        border-top:1px solid #268DFC;
+        border-bottom:1px solid #004EA2;
+        background:#0068DE;
+        margin-bottom:10px;
+        -moz-border-radius-topleft: 5px;
+        -moz-border-radius-topright: 5px;
+        -moz-border-radius-bottomright: 0px;
+        -moz-border-radius-bottomleft: 0px;
+        -webkit-border-radius: 5px 5px 0px 0px;
+        border-radius: 5px 5px 0px 0px;
+}
+
+form#wp-stripe-payment-form p.stripe-display-comment {
+        margin:3px 0;
+        font-size:12px;
+        color:#777;
+}
+
+form#wp-stripe-payment-form label {
+        letter-spacing:1px;
+		font-size: 14px;
+		margin-bottom: 2px;
+}
+form#wp-stripe-payment-form label.public {
+        letter-spacing:0px;
+		font-size: 12px !important;
+		margin-bottom: 0px !important;
+}
+
+form#wp-stripe-payment-form .stripe-row {
+        overflow:visible;
+        clear:both;
+        padding:5px 10px;
+}
+
+form#wp-stripe-payment-form .stripe-row-left,
+form#wp-stripe-payment-form .stripe-row-right {
+        float:left;
+        overflow:auto;
+}
+
+form#wp-stripe-payment-form .stripe-submit-button {
+        position:relative;
+        margin:10px;
+        padding: 8px 15px;
+        display:block;
+        font-weight: bold;
+        font-size: 12px;
+        background: #1275FF;
+        border: 1px solid #155FB0;
+        color: white;
+        text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
+        background-image: -webkit-gradient(linear, left top, left bottom, from(#77B7FF), to(#017AFF));
+        background-image: -moz-linear-gradient(top, #77B7FF, #017AFF);
+        background-image: -o-linear-gradient(top, #77B7FF, #017AFF);
+        -webkit-box-shadow: inset 0 1px 0 #98c9ff;
+        -moz-box-shadow: inset 0 1px 0 #98c9ff;
+        box-shadow: inset 0 1px 0 #98c9ff;
+        -o-border-radius: 4px;
+        -moz-border-radius: 4px;
+        -webkit-border-radius: 4px;
+        border-radius: 4px;
+        cursor: pointer; cursor: hand;
+}
+
+.stripe-spinner {
+        display:none;
+        margin:10px;
+        padding: 8px 15px;
+        height:15px;
+        width:70px;
+        content:" ";
+        background: url('../img/spinner.gif') no-repeat 50% 50%;
+        border: 1px solid #afd5ff;
+        -o-border-radius: 4px;
+        -moz-border-radius: 4px;
+        -webkit-border-radius: 4px;
+}
+
+.stripe-valid {
+        color: #638731 !important;
+        background-color:#d9fba8 !important;
+}
+
+.stripe-invalid {
+        color:#873d31 !important;
+        background-color:#fbbcb1 !important;
+}
+
+.wp-stripe-poweredby {
+        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
+        color:#777;
+        font-size:10px;
+        padding:0 20px;
+}
+
+.wp-stripe-poweredby a {
+        color:#0068DE;
+        text-decoration: none;
+}
+
+/* Response Styling */
+
+.wp-stripe-notification {
+        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+        font-size: 12px;
+        width:360px;
+        padding:10px;
+        margin:10px 0 10px 10px;
+        -webkit-border-radius: 5px;
+        -moz-border-radius: 5px;
+        border-radius: 5px;
+}
+
+.wp-stripe-currency {
+        text-transform: uppercase;
+}
+
+.wp-stripe-success {
+        color:#345607;
+        background-color:#D1F2A5;
+        text-shadow:0 1px 1px rgba(255,255,255,0.2);
+}
+
+.wp-stripe-failure {
+        color:#4E1E0F;
+        background-color:#FF9F80;
+        text-shadow:0 1px 1px rgba(255,255,255,0.1);
+}
+
+/* Form Styling */
+
+
+form#wp-stripe-payment-form .wp-stripe-details label {
+        color:#777;
+}
+
+form#wp-stripe-payment-form .wp-stripe-card label {
+        color:#0068DE;
+}
+
+form#wp-stripe-payment-form .wp-stripe-card input {
+        -webkit-border-radius: 5px;
+        -moz-border-radius: 5px;
+        border-radius: 5px;
+}
+
+form#wp-stripe-payment-form .wp-stripe-card input.card-cvc {
+        width:120px;
+}
+
+form#wp-stripe-payment-form label,
+form#wp-stripe-payment-form input,
+form#wp-stripe-payment-form select,
+form#wp-stripe-payment-form textarea {
+        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
+        font-size: 14px !important;
+        font-weight: normal;
+        line-height: normal;
+        margin-bottom: 3px !important;
+}
+form#wp-stripe-payment-form textarea,
+form#wp-stripe-payment-form input {
+        position:relative;
+        width:338px;
+        background-color:#fff;
+}
+
+input.wp-stripe-name {background: url('../img/h-name.png') no-repeat 8px 8px;}
+input.wp-stripe-email {background: url('../img/h-email.png') no-repeat 8px 10px;}
+textarea.wp-stripe-comment {background: url('../img/h-comment.png') no-repeat 8px 10px;}
+input.wp-stripe-card-amount {background: url('../img/h-amount.png') no-repeat 8px 8px;}
+input.card-number {background: url('../img/h-card.png') no-repeat 8px 10px;}
+input.card-cvc {background: url('../img/h-cvc.png') no-repeat 8px 10px;}
+
+form#wp-stripe-payment-form select {
+        cursor: pointer;
+}
+
+input[type=checkbox], input[type=radio] {
+        cursor: pointer;
+}
+
+.stripe-expiry {
+        font-size:12px;
+        letter-spacing:1px;
+        color:#bbb;
+        text-shadow:0 1px 0 #fff;
+}
+
+form#wp-stripe-payment-form select {
+        margin-top:0px !important;
+        display:block;
+        -webkit-appearance: none;
+        -moz-appearance: none;
+        appearance: none;
+        padding: 2px 7px 2px 7px !important;
+        height: auto !important;
+        text-shadow: 0 1px 0 white;
+        background-image: -webkit-gradient(linear, left top, left bottom, from(#F9F9F9), to(#E8E8E8));
+        background-image: -moz-linear-gradient(top, #F9F9F9, #E8E8E8);
+        background-image: -o-linear-gradient(top, #F9F9F9, #E8E8E8);
+        -webkit-box-shadow: inset 0 1px 0 white;
+        -moz-box-shadow: inset 0 1px 0 white;
+        box-shadow: inset 0 1px 0 white;
+}
+
+form#wp-stripe-payment-form select:hover {
+        background-image: -webkit-gradient(linear, left top, left bottom, from(#E8E8E8), to(#F9F9F9));
+        background-image: -moz-linear-gradient(top, #E8E8E8, #F9F9F9);
+        background-image: -o-linear-gradient(top, #E8E8E8, #F9F9F9);
+}
+
+form#wp-stripe-payment-form input,
+form#wp-stripe-payment-form textarea,
+form#wp-stripe-payment-form select,
+form#wp-stripe-payment-form .uneditable-input {
+        display: inline-block;
+        height: 18px;
+        padding: 8px 8px 8px 32px;
+        font-size: 13px;
+        line-height: 18px;
+        color: #808080;
+        border: 1px solid #ccc;
+        -webkit-border-radius: 3px;
+        -moz-border-radius: 3px;
+        border-radius: 3px;
+}
+
+form#wp-stripe-payment-form input[type=checkbox], form#wp-stripe-payment-form input[type=radio] {
+        width: auto;
+        height: auto;
+        padding: 0;
+        margin: 3px 0;
+        *margin-top: 0;
+        /* IE6-7 */
+
+        line-height: normal;
+        border: none;
+}
+
+form#wp-stripe-payment-form select {
+        height: 27px;
+        line-height: 27px;
+}
+
+form#wp-stripe-payment-form input[type=button], form#wp-stripe-payment-form input[type=reset], form#wp-stripe-payment-form input[type=submit] {
+        width: auto;
+        height: auto;
+}
+
+form#wp-stripe-payment-form input[type=checkbox] {
+        position:relative;
+        top:2px;
+        margin-right:5px;
+}
+
+form#wp-stripe-payment-form select[multiple] {
+        height: inherit;
+        background-color: #ffffff;
+}
+form#wp-stripe-payment-form textarea {
+        height: auto;
+}
+
+:-moz-placeholder {
+        color: #bfbfbf;
+}
+::-webkit-input-placeholder {
+        color: #bfbfbf;
+}
+form#wp-stripe-payment-form input, form#wp-stripe-payment-form textarea {
+        -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
+        -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
+        -ms-transition: border linear 0.2s, box-shadow linear 0.2s;
+        -o-transition: border linear 0.2s, box-shadow linear 0.2s;
+        transition: border linear 0.2s, box-shadow linear 0.2s;
+        -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
+        -moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
+        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
+}
+form#wp-stripe-payment-form input:focus, form#wp-stripe-payment-form textarea:focus {
+        outline: 0;
+        border-color: rgba(0, 104, 222, 0.8);
+        -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(0, 104, 222, 0.6);
+        -moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(0, 104, 222, 0.6);
+        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(0, 104, 222, 0.6);
+}
+input[type=file]:focus, input[type=checkbox]:focus, select:focus {
+        -webkit-box-shadow: none;
+        -moz-box-shadow: none;
+        box-shadow: none;
+        outline: 1px dotted #666;
+}

+ 26 - 0
footer.php

@@ -0,0 +1,26 @@
+<?php
+/**
+ * The template for displaying the footer.
+ *
+ * Contains the closing of the #content div and all content after
+ *
+ * @package bml
+ */
+?>
+
+	</div><!-- #content -->
+
+	<footer id="colophon" class="site-footer" role="contentinfo">
+		<div class="site-info">
+			<?php do_action( 'bml_credits' ); ?>
+			<a href="http://wordpress.org/" rel="generator"><?php printf( __( 'Proudly powered by %s', 'bml' ), 'WordPress' ); ?></a>
+			<span class="sep"> | </span>
+			<?php printf( __( 'Theme: %1$s by %2$s.', 'bml' ), 'bml', '<a href="http://underscores.me/" rel="designer">Underscores.me</a>' ); ?>
+		</div><!-- .site-info -->
+	</footer><!-- #colophon -->
+</div><!-- #page -->
+
+<?php wp_footer(); ?>
+
+</body>
+</html>

+ 62 - 0
functions.php

@@ -0,0 +1,62 @@
+<?php
+
+if ( ! isset( $content_width ) )
+	$content_width = 640; /* pixels */
+
+if ( ! function_exists( 'bml_setup' ) ) :
+
+function bml_setup() {
+	require( get_template_directory() . '/inc/tweaks.php' );
+	load_theme_textdomain( 'bml', get_template_directory() . '/languages' );
+	add_theme_support( 'automatic-feed-links' );
+	register_nav_menus( array( 'primary' => __( 'Primary Menu', 'bml' ), ) );
+	add_theme_support( 'post-formats', array( 'aside', 'image', 'video', 'quote', 'link' ) );
+	add_theme_support( 'custom-background', apply_filters( 'bml_custom_background_args', array(
+		'default-color' => 'ffffff',
+		'default-image' => '',
+	) ) );
+}
+endif; 
+add_action( 'after_setup_theme', 'bml_setup' );
+
+
+
+add_filter('show_admin_bar', '__return_false');
+
+function bml_widgets_init() {
+	register_sidebar( array(
+		'name'          => __( 'Sidebar', 'bml' ),
+		'id'            => 'sidebar-1',
+		'before_widget' => '<aside id="%1$s" class="widget %2$s">',
+		'after_widget'  => '</aside>',
+		'before_title'  => '<h1 class="widget-title">',
+		'after_title'   => '</h1>',
+	) );
+}
+add_action( 'widgets_init', 'bml_widgets_init' );
+
+
+function bml_scripts() {
+	//wp_enqueue_style( 'bml-style', get_stylesheet_uri() );
+	wp_enqueue_style( 'bml', get_template_directory_uri() . '/style.css');
+	wp_enqueue_style( 'bml2', get_template_directory_uri() . '/css/stripe.css');
+	//wp_enqueue_script( 'bscript', get_template_directory_uri() . '/js/script.js', array(), '1.0.0', true );
+	//wp_enqueue_script( 'binit', get_template_directory_uri() . '/js/init.js', array(), '1.0.0', true );
+	//wp_enqueue_script( 'bml-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '20120206', true );
+	//wp_enqueue_script( 'bml-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20130115', true );
+
+	if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
+		wp_enqueue_script( 'comment-reply' );
+	}
+
+	if ( is_singular() && wp_attachment_is_image() ) {
+		wp_enqueue_script( 'bml-keyboard-image-navigation', get_template_directory_uri() . '/js/keyboard-image-navigation.js', array( 'jquery' ), '20120202' );
+	}
+}
+add_action( 'wp_enqueue_scripts', 'bml_scripts' );
+
+
+require get_template_directory() . '/inc/template-tags.php';
+require get_template_directory() . '/inc/extras.php';
+require get_template_directory() . '/inc/customizer.php';
+//require get_template_directory() . '/inc/jetpack.php';

+ 38 - 0
header.php

@@ -0,0 +1,38 @@
+<?php
+/**
+ * The Header for our theme.
+ *
+ * Displays all of the <head> section and everything up till <div id="content">
+ *
+ * @package bml
+ */
+?><!DOCTYPE html>
+<html <?php language_attributes(); ?>>
+<head>
+<meta charset="<?php bloginfo( 'charset' ); ?>">
+<meta name="viewport" content="width=device-width, initial-scale=1">
+<title><?php wp_title( '|', true, 'right' ); ?></title>
+<link rel="profile" href="http://gmpg.org/xfn/11">
+<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
+
+<?php wp_head(); ?>
+</head>
+
+<body <?php body_class(); ?>>
+<div id="page" class="hfeed site">
+	<?php do_action( 'before' ); ?>
+	<header id="masthead" class="site-header" role="banner">
+		<div class="site-branding">
+			<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
+			<h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
+		</div>
+
+		<nav id="site-navigation" class="main-navigation" role="navigation">
+			<h1 class="menu-toggle"><?php _e( 'Menu', 'bml' ); ?></h1>
+			<div class="skip-link"><a class="screen-reader-text" href="#content"><?php _e( 'Skip to content', 'bml' ); ?></a></div>
+
+			<?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
+		</nav><!-- #site-navigation -->
+	</header><!-- #masthead -->
+
+	<div id="content" class="site-content">

+ 78 - 0
image.php

@@ -0,0 +1,78 @@
+<?php
+/**
+ * The template for displaying image attachments.
+ *
+ * @package bml
+ */
+
+get_header(); ?>
+
+	<div id="primary" class="content-area image-attachment">
+		<main id="main" class="site-main" role="main">
+
+		<?php while ( have_posts() ) : the_post(); ?>
+
+			<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+				<header class="entry-header">
+					<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
+
+					<div class="entry-meta">
+						<?php
+							$metadata = wp_get_attachment_metadata();
+							printf( __( 'Published <span class="entry-date"><time class="entry-date" datetime="%1$s">%2$s</time></span> at <a href="%3$s">%4$s &times; %5$s</a> in <a href="%6$s" rel="gallery">%7$s</a>', 'bml' ),
+								esc_attr( get_the_date( 'c' ) ),
+								esc_html( get_the_date() ),
+								esc_url( wp_get_attachment_url() ),
+								$metadata['width'],
+								$metadata['height'],
+								esc_url( get_permalink( $post->post_parent ) ),
+								get_the_title( $post->post_parent )
+							);
+
+							edit_post_link( __( 'Edit', 'bml' ), '<span class="edit-link">', '</span>' );
+						?>
+					</div><!-- .entry-meta -->
+
+					<nav role="navigation" id="image-navigation" class="image-navigation">
+						<div class="nav-previous"><?php previous_image_link( false, __( '<span class="meta-nav">&larr;</span> Previous', 'bml' ) ); ?></div>
+						<div class="nav-next"><?php next_image_link( false, __( 'Next <span class="meta-nav">&rarr;</span>', 'bml' ) ); ?></div>
+					</nav><!-- #image-navigation -->
+				</header><!-- .entry-header -->
+
+				<div class="entry-content">
+					<div class="entry-attachment">
+						<div class="attachment">
+							<?php bml_the_attached_image(); ?>
+						</div><!-- .attachment -->
+
+						<?php if ( has_excerpt() ) : ?>
+						<div class="entry-caption">
+							<?php the_excerpt(); ?>
+						</div><!-- .entry-caption -->
+						<?php endif; ?>
+					</div><!-- .entry-attachment -->
+
+					<?php
+						the_content();
+						wp_link_pages( array(
+							'before' => '<div class="page-links">' . __( 'Pages:', 'bml' ),
+							'after'  => '</div>',
+						) );
+					?>
+				</div><!-- .entry-content -->
+
+				<?php edit_post_link( __( 'Edit', 'bml' ), '<footer class="entry-meta"><span class="edit-link">', '</span></footer>' ); ?>
+			</article><!-- #post-## -->
+
+			<?php
+				// If comments are open or we have at least one comment, load up the comment template
+				if ( comments_open() || '0' != get_comments_number() )
+					comments_template();
+			?>
+
+		<?php endwhile; // end of the loop. ?>
+
+		</main><!-- #main -->
+	</div><!-- #primary -->
+
+<?php get_footer(); ?>

BIN
img/blank.gif


BIN
img/bml_thermo.png


BIN
img/fancy_loading.png


BIN
img/fancy_nav_left.png


BIN
img/fancy_nav_right.png


BIN
img/fancy_shadow_e.png


BIN
img/fancy_shadow_n.png


BIN
img/fancy_shadow_ne.png


BIN
img/fancy_shadow_nw.png


BIN
img/fancy_shadow_s.png


BIN
img/fancy_shadow_se.png


BIN
img/fancy_shadow_sw.png


BIN
img/fancy_shadow_w.png


BIN
img/fancy_title_left.png


BIN
img/fancy_title_main.png


BIN
img/fancy_title_over.png


BIN
img/fancy_title_right.png


BIN
img/fancybox-x.png


BIN
img/fancybox-y.png


BIN
img/fancybox.png


BIN
img/h-amount.png


BIN
img/h-card.png


BIN
img/h-comment.png


BIN
img/h-cvc.png


BIN
img/h-email.png


BIN
img/h-name.png


BIN
img/helper.png


BIN
img/month.png


BIN
img/spinner.gif


BIN
img/thickbox_close.png


BIN
img/types.png


BIN
img/year.png


+ 127 - 0
inc/custom-header.php

@@ -0,0 +1,127 @@
+<?php
+/**
+ * Sample implementation of the Custom Header feature
+ * http://codex.wordpress.org/Custom_Headers
+ *
+ * You can add an optional custom header image to header.php like so ...
+
+	<?php if ( get_header_image() ) : ?>
+	<a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home">
+		<img src="<?php header_image(); ?>" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="">
+	</a>
+	<?php endif; // End header image check. ?>
+
+ *
+ * @package bml
+ */
+
+/**
+ * Setup the WordPress core custom header feature.
+ *
+ * @uses bml_header_style()
+ * @uses bml_admin_header_style()
+ * @uses bml_admin_header_image()
+ *
+ * @package bml
+ */
+function bml_custom_header_setup() {
+	add_theme_support( 'custom-header', apply_filters( 'bml_custom_header_args', array(
+		'default-image'          => '',
+		'default-text-color'     => '000',
+		'width'                  => 1000,
+		'height'                 => 250,
+		'flex-height'            => true,
+		'wp-head-callback'       => 'bml_header_style',
+		'admin-head-callback'    => 'bml_admin_header_style',
+		'admin-preview-callback' => 'bml_admin_header_image',
+	) ) );
+}
+add_action( 'after_setup_theme', 'bml_custom_header_setup' );
+
+if ( ! function_exists( 'bml_header_style' ) ) :
+/**
+ * Styles the header image and text displayed on the blog
+ *
+ * @see bml_custom_header_setup().
+ */
+function bml_header_style() {
+	$header_text_color = get_header_textcolor();
+
+	// If no custom options for text are set, let's bail
+	// get_header_textcolor() options: HEADER_TEXTCOLOR is default, hide text (returns 'blank') or any hex value
+	if ( HEADER_TEXTCOLOR == $header_text_color )
+		return;
+
+	// If we get this far, we have custom styles. Let's do this.
+	?>
+	<style type="text/css">
+	<?php
+		// Has the text been hidden?
+		if ( 'blank' == $header_text_color ) :
+	?>
+		.site-title,
+		.site-description {
+			position: absolute;
+			clip: rect(1px, 1px, 1px, 1px);
+		}
+	<?php
+		// If the user has set a custom color for the text use that
+		else :
+	?>
+		.site-title a,
+		.site-description {
+			color: #<?php echo $header_text_color; ?>;
+		}
+	<?php endif; ?>
+	</style>
+	<?php
+}
+endif; // bml_header_style
+
+if ( ! function_exists( 'bml_admin_header_style' ) ) :
+/**
+ * Styles the header image displayed on the Appearance > Header admin panel.
+ *
+ * @see bml_custom_header_setup().
+ */
+function bml_admin_header_style() {
+?>
+	<style type="text/css">
+		.appearance_page_custom-header #headimg {
+			border: none;
+		}
+		#headimg h1,
+		#desc {
+		}
+		#headimg h1 {
+		}
+		#headimg h1 a {
+		}
+		#desc {
+		}
+		#headimg img {
+		}
+	</style>
+<?php
+}
+endif; // bml_admin_header_style
+
+if ( ! function_exists( 'bml_admin_header_image' ) ) :
+/**
+ * Custom header image markup displayed on the Appearance > Header admin panel.
+ *
+ * @see bml_custom_header_setup().
+ */
+function bml_admin_header_image() {
+	$style = sprintf( ' style="color:#%s;"', get_header_textcolor() );
+?>
+	<div id="headimg">
+		<h1 class="displaying-header-text"><a id="name"<?php echo $style; ?> onclick="return false;" href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php bloginfo( 'name' ); ?></a></h1>
+		<div class="displaying-header-text" id="desc"<?php echo $style; ?>><?php bloginfo( 'description' ); ?></div>
+		<?php if ( get_header_image() ) : ?>
+		<img src="<?php header_image(); ?>" alt="">
+		<?php endif; ?>
+	</div>
+<?php
+}
+endif; // bml_admin_header_image

+ 26 - 0
inc/customizer.php

@@ -0,0 +1,26 @@
+<?php
+/**
+ * bml Theme Customizer
+ *
+ * @package bml
+ */
+
+/**
+ * Add postMessage support for site title and description for the Theme Customizer.
+ *
+ * @param WP_Customize_Manager $wp_customize Theme Customizer object.
+ */
+function bml_customize_register( $wp_customize ) {
+	$wp_customize->get_setting( 'blogname' )->transport         = 'postMessage';
+	$wp_customize->get_setting( 'blogdescription' )->transport  = 'postMessage';
+	$wp_customize->get_setting( 'header_textcolor' )->transport = 'postMessage';
+}
+add_action( 'customize_register', 'bml_customize_register' );
+
+/**
+ * Binds JS handlers to make Theme Customizer preview reload changes asynchronously.
+ */
+function bml_customize_preview_js() {
+	wp_enqueue_script( 'bml_customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), '20130508', true );
+}
+add_action( 'customize_preview_init', 'bml_customize_preview_js' );

+ 70 - 0
inc/extras.php

@@ -0,0 +1,70 @@
+<?php
+/**
+ * Custom functions that act independently of the theme templates
+ *
+ * Eventually, some of the functionality here could be replaced by core features
+ *
+ * @package bml
+ */
+
+/**
+ * Get our wp_nav_menu() fallback, wp_page_menu(), to show a home link.
+ */
+function bml_page_menu_args( $args ) {
+	$args['show_home'] = true;
+	return $args;
+}
+add_filter( 'wp_page_menu_args', 'bml_page_menu_args' );
+
+/**
+ * Adds custom classes to the array of body classes.
+ */
+function bml_body_classes( $classes ) {
+	// Adds a class of group-blog to blogs with more than 1 published author
+	if ( is_multi_author() ) {
+		$classes[] = 'group-blog';
+	}
+
+	return $classes;
+}
+add_filter( 'body_class', 'bml_body_classes' );
+
+/**
+ * Filter in a link to a content ID attribute for the next/previous image links on image attachment pages
+ */
+function bml_enhanced_image_navigation( $url, $id ) {
+	if ( ! is_attachment() && ! wp_attachment_is_image( $id ) )
+		return $url;
+
+	$image = get_post( $id );
+	if ( ! empty( $image->post_parent ) && $image->post_parent != $id )
+		$url .= '#main';
+
+	return $url;
+}
+add_filter( 'attachment_link', 'bml_enhanced_image_navigation', 10, 2 );
+
+/**
+ * Filters wp_title to print a neat <title> tag based on what is being viewed.
+ */
+function bml_wp_title( $title, $sep ) {
+	global $page, $paged;
+
+	if ( is_feed() )
+		return $title;
+
+	// Add the blog name
+	$title .= get_bloginfo( 'name' );
+
+	// Add the blog description for the home/front page.
+	$site_description = get_bloginfo( 'description', 'display' );
+	if ( $site_description && ( is_home() || is_front_page() ) )
+		$title .= " $sep $site_description";
+
+	// Add a page number if necessary:
+	if ( $paged >= 2 || $page >= 2 )
+		$title .= " $sep " . sprintf( __( 'Page %s', 'bml' ), max( $paged, $page ) );
+
+	return $title;
+}
+add_filter( 'wp_title', 'bml_wp_title', 10, 2 );

+ 19 - 0
inc/jetpack.php

@@ -0,0 +1,19 @@
+<?php
+/**
+ * Jetpack Compatibility File
+ * See: http://jetpack.me/
+ *
+ * @package bml
+ */
+
+/**
+ * Add theme support for Infinite Scroll.
+ * See: http://jetpack.me/support/infinite-scroll/
+ */
+function bml_jetpack_setup() {
+	add_theme_support( 'infinite-scroll', array(
+		'container' => 'main',
+		'footer'    => 'page',
+	) );
+}
+add_action( 'after_setup_theme', 'bml_jetpack_setup' );

+ 231 - 0
inc/template-tags.php

@@ -0,0 +1,231 @@
+<?php
+/**
+ * Custom template tags for this theme.
+ *
+ * Eventually, some of the functionality here could be replaced by core features
+ *
+ * @package bml
+ */
+
+if ( ! function_exists( 'bml_content_nav' ) ) :
+/**
+ * Display navigation to next/previous pages when applicable
+ */
+function bml_content_nav( $nav_id ) {
+	global $wp_query, $post;
+
+	// Don't print empty markup on single pages if there's nowhere to navigate.
+	if ( is_single() ) {
+		$previous = ( is_attachment() ) ? get_post( $post->post_parent ) : get_adjacent_post( false, '', true );
+		$next = get_adjacent_post( false, '', false );
+
+		if ( ! $next && ! $previous )
+			return;
+	}
+
+	// Don't print empty markup in archives if there's only one page.
+	if ( $wp_query->max_num_pages < 2 && ( is_home() || is_archive() || is_search() ) )
+		return;
+
+	$nav_class = ( is_single() ) ? 'post-navigation' : 'paging-navigation';
+
+	?>
+	<nav role="navigation" id="<?php echo esc_attr( $nav_id ); ?>" class="<?php echo $nav_class; ?>">
+		<h1 class="screen-reader-text"><?php _e( 'Post navigation', 'bml' ); ?></h1>
+
+	<?php if ( is_single() ) : // navigation links for single posts ?>
+
+		<?php previous_post_link( '<div class="nav-previous">%link</div>', '<span class="meta-nav">' . _x( '&larr;', 'Previous post link', 'bml' ) . '</span> %title' ); ?>
+		<?php next_post_link( '<div class="nav-next">%link</div>', '%title <span class="meta-nav">' . _x( '&rarr;', 'Next post link', 'bml' ) . '</span>' ); ?>
+
+	<?php elseif ( $wp_query->max_num_pages > 1 && ( is_home() || is_archive() || is_search() ) ) : // navigation links for home, archive, and search pages ?>
+
+		<?php if ( get_next_posts_link() ) : ?>
+		<div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">&larr;</span> Older posts', 'bml' ) ); ?></div>
+		<?php endif; ?>
+
+		<?php if ( get_previous_posts_link() ) : ?>
+		<div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'bml' ) ); ?></div>
+		<?php endif; ?>
+
+	<?php endif; ?>
+
+	</nav><!-- #<?php echo esc_html( $nav_id ); ?> -->
+	<?php
+}
+endif; // bml_content_nav
+
+if ( ! function_exists( 'bml_comment' ) ) :
+/**
+ * Template for comments and pingbacks.
+ *
+ * Used as a callback by wp_list_comments() for displaying the comments.
+ */
+function bml_comment( $comment, $args, $depth ) {
+	$GLOBALS['comment'] = $comment;
+
+	if ( 'pingback' == $comment->comment_type || 'trackback' == $comment->comment_type ) : ?>
+
+	<li id="comment-<?php comment_ID(); ?>" <?php comment_class(); ?>>
+		<div class="comment-body">
+			<?php _e( 'Pingback:', 'bml' ); ?> <?php comment_author_link(); ?> <?php edit_comment_link( __( 'Edit', 'bml' ), '<span class="edit-link">', '</span>' ); ?>
+		</div>
+
+	<?php else : ?>
+
+	<li id="comment-<?php comment_ID(); ?>" <?php comment_class( empty( $args['has_children'] ) ? '' : 'parent' ); ?>>
+		<article id="div-comment-<?php comment_ID(); ?>" class="comment-body">
+			<footer class="comment-meta">
+				<div class="comment-author vcard">
+					<?php if ( 0 != $args['avatar_size'] ) echo get_avatar( $comment, $args['avatar_size'] ); ?>
+					<?php printf( __( '%s <span class="says">says:</span>', 'bml' ), sprintf( '<cite class="fn">%s</cite>', get_comment_author_link() ) ); ?>
+				</div><!-- .comment-author -->
+
+				<div class="comment-metadata">
+					<a href="<?php echo esc_url( get_comment_link( $comment->comment_ID ) ); ?>">
+						<time datetime="<?php comment_time( 'c' ); ?>">
+							<?php printf( _x( '%1$s at %2$s', '1: date, 2: time', 'bml' ), get_comment_date(), get_comment_time() ); ?>
+						</time>
+					</a>
+					<?php edit_comment_link( __( 'Edit', 'bml' ), '<span class="edit-link">', '</span>' ); ?>
+				</div><!-- .comment-metadata -->
+
+				<?php if ( '0' == $comment->comment_approved ) : ?>
+				<p class="comment-awaiting-moderation"><?php _e( 'Your comment is awaiting moderation.', 'bml' ); ?></p>
+				<?php endif; ?>
+			</footer><!-- .comment-meta -->
+
+			<div class="comment-content">
+				<?php comment_text(); ?>
+			</div><!-- .comment-content -->
+
+			<?php
+				comment_reply_link( array_merge( $args, array(
+					'add_below' => 'div-comment',
+					'depth'     => $depth,
+					'max_depth' => $args['max_depth'],
+					'before'    => '<div class="reply">',
+					'after'     => '</div>',
+				) ) );
+			?>
+		</article><!-- .comment-body -->
+
+	<?php
+	endif;
+}
+endif; // ends check for bml_comment()
+
+if ( ! function_exists( 'bml_the_attached_image' ) ) :
+/**
+ * Prints the attached image with a link to the next attached image.
+ */
+function bml_the_attached_image() {
+	$post                = get_post();
+	$attachment_size     = apply_filters( 'bml_attachment_size', array( 1200, 1200 ) );
+	$next_attachment_url = wp_get_attachment_url();
+
+	/**
+	 * Grab the IDs of all the image attachments in a gallery so we can get the
+	 * URL of the next adjacent image in a gallery, or the first image (if
+	 * we're looking at the last image in a gallery), or, in a gallery of one,
+	 * just the link to that image file.
+	 */
+	$attachment_ids = get_posts( array(
+		'post_parent'    => $post->post_parent,
+		'fields'         => 'ids',
+		'numberposts'    => -1,
+		'post_status'    => 'inherit',
+		'post_type'      => 'attachment',
+		'post_mime_type' => 'image',
+		'order'          => 'ASC',
+		'orderby'        => 'menu_order ID'
+	) );
+
+	// If there is more than 1 attachment in a gallery...
+	if ( count( $attachment_ids ) > 1 ) {
+		foreach ( $attachment_ids as $attachment_id ) {
+			if ( $attachment_id == $post->ID ) {
+				$next_id = current( $attachment_ids );
+				break;
+			}
+		}
+
+		// get the URL of the next image attachment...
+		if ( $next_id )
+			$next_attachment_url = get_attachment_link( $next_id );
+
+		// or get the URL of the first image attachment.
+		else
+			$next_attachment_url = get_attachment_link( array_shift( $attachment_ids ) );
+	}
+
+	printf( '<a href="%1$s" rel="attachment">%2$s</a>',
+		esc_url( $next_attachment_url ),
+		wp_get_attachment_image( $post->ID, $attachment_size )
+	);
+}
+endif;
+
+if ( ! function_exists( 'bml_posted_on' ) ) :
+/**
+ * Prints HTML with meta information for the current post-date/time and author.
+ */
+function bml_posted_on() {
+	$time_string = '<time class="entry-date published" datetime="%1$s">%2$s</time>';
+	if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) )
+		$time_string .= '<time class="updated" datetime="%3$s">%4$s</time>';
+
+	$time_string = sprintf( $time_string,
+		esc_attr( get_the_date( 'c' ) ),
+		esc_html( get_the_date() ),
+		esc_attr( get_the_modified_date( 'c' ) ),
+		esc_html( get_the_modified_date() )
+	);
+
+	printf( __( '<span class="posted-on">Posted on %1$s</span><span class="byline"> by %2$s</span>', 'bml' ),
+		sprintf( '<a href="%1$s" rel="bookmark">%2$s</a>',
+			esc_url( get_permalink() ),
+			$time_string
+		),
+		sprintf( '<span class="author vcard"><a class="url fn n" href="%1$s">%2$s</a></span>',
+			esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
+			esc_html( get_the_author() )
+		)
+	);
+}
+endif;
+
+/**
+ * Returns true if a blog has more than 1 category
+ */
+function bml_categorized_blog() {
+	if ( false === ( $all_the_cool_cats = get_transient( 'all_the_cool_cats' ) ) ) {
+		// Create an array of all the categories that are attached to posts
+		$all_the_cool_cats = get_categories( array(
+			'hide_empty' => 1,
+		) );
+
+		// Count the number of categories that are attached to the posts
+		$all_the_cool_cats = count( $all_the_cool_cats );
+
+		set_transient( 'all_the_cool_cats', $all_the_cool_cats );
+	}
+
+	if ( '1' != $all_the_cool_cats ) {
+		// This blog has more than 1 category so bml_categorized_blog should return true
+		return true;
+	} else {
+		// This blog has only 1 category so bml_categorized_blog should return false
+		return false;
+	}
+}
+
+/**
+ * Flush out the transients used in bml_categorized_blog
+ */
+function bml_category_transient_flusher() {
+	// Like, beat it. Dig?
+	delete_transient( 'all_the_cool_cats' );
+}
+add_action( 'edit_category', 'bml_category_transient_flusher' );
+add_action( 'save_post',     'bml_category_transient_flusher' );

+ 132 - 0
inc/tweaks.php

@@ -0,0 +1,132 @@
+<?php
+function remove_recent_comments_style() {  
+        global $wp_widget_factory;  
+        remove_action( 'wp_head', array( $wp_widget_factory->widgets['WP_Widget_Recent_Comments'], 'recent_comments_style' ) );  
+    }  
+add_action( 'widgets_init', 'remove_recent_comments_style' );
+
+
+
+
+function _bml_page_menu_args( $args ) {
+	$args['show_home'] = true;
+	return $args;
+}
+add_filter( 'wp_page_menu_args', '_bml_page_menu_args' );
+
+
+function _bml_body_classes( $classes ) {
+	// Adds a class of group-blog to blogs with more than 1 published author
+	if ( is_multi_author() ) {
+		$classes[] = 'group-blog';
+	}
+	return $classes;
+}
+add_filter( 'body_class', '_bml_body_classes' );
+
+
+function _bml_enhanced_image_navigation( $url, $id ) {
+	if ( ! is_attachment() && ! wp_attachment_is_image( $id ) )
+		return $url;
+	$image = get_post( $id );
+	if ( ! empty( $image->post_parent ) && $image->post_parent != $id )
+		$url .= '#main';
+	return $url;
+}
+add_filter( 'attachment_link', '_bml_enhanced_image_navigation', 10, 2 );
+
+
+
+add_action('init', 'bml_head_cleanup');
+function bml_head_cleanup() {
+  remove_action('wp_head', 'feed_links');
+  remove_action('wp_head', 'feed_links', 2 );
+  remove_action('wp_head', 'feed_links_extra');
+  remove_action('wp_head', 'feed_links_extra', 3 );
+  remove_action('wp_head', 'rsd_link');
+  remove_action('wp_head', 'wlwmanifest_link');
+  remove_action('wp_head', 'index_rel_link');
+  remove_action('wp_head', 'parent_post_rel_link');
+  remove_action('wp_head', 'start_post_rel_link');
+  remove_action('wp_head', 'adjacent_posts_rel_link_wp_head');
+  remove_action('wp_head', 'wp_generator');
+  remove_action('wp_head', 'wp_shortlink_wp_head');
+  remove_action('wp_head', 'rel_canonical');
+}
+
+add_action('admin_menu', 'remove_menus');
+function remove_menus () {
+global $menu;
+//	$restricted = array(__('Dashboard'), __('Posts'), __('Media'), __('Links'), __('Pages'), __('Appearance'), __('Tools'), __('Users'), __('Settings'), __('Comments'), __('Plugins'));
+	$restricted = array();
+	end ($menu);
+	while (prev($menu)){
+		$value = explode(' ',$menu[key($menu)][0]);
+		if(in_array($value[0] != NULL?$value[0]:"" , $restricted)){unset($menu[key($menu)]);}
+	}
+}
+
+add_action('login_head', 'bml_login_logo');
+function bml_login_logo() {
+    echo '<style type="text/css">
+        h1 a { background-image:url('.get_bloginfo('template_directory').'/img/login.png) !important; }
+    </style>';
+}
+
+add_action( 'admin_head', 'bml_hide' );
+function bml_hide() {
+    ?>
+    <style type="text/css" media="screen">
+    #footer {display:none;}
+	/* #screen-meta-links {display: none;} */
+	#wpadminbar {display: none;}
+	body.admin-bar #wpcontent, body.admin-bar #adminmenu {padding-top:0;}
+	html.wp-toolbar{padding-top:0;}
+	#postexcerpt p {display: none;}
+    </style>
+<?php }
+
+add_filter( 'script_loader_src', 'remove_src_version' );
+add_filter( 'style_loader_src', 'remove_src_version' );
+function remove_src_version ( $src ) {
+  global $wp_version;
+  $version_str = '?ver='.$wp_version;
+  $version_str_offset = strlen( $src ) - strlen( $version_str );
+  if( substr( $src, $version_str_offset ) == $version_str )
+    return substr( $src, 0, $version_str_offset );
+  else
+    return $src;
+}
+
+
+add_action('wp_dashboard_setup', 'remove_dashboard_widgets');
+function remove_dashboard_widgets(){
+  global$wp_meta_boxes;
+  unset($wp_meta_boxes['dashboard']['normal']['core']['dashboard_plugins']);
+  //unset($wp_meta_boxes['dashboard']['normal']['core']['dashboard_recent_comments']);
+  unset($wp_meta_boxes['dashboard']['side']['core']['dashboard_primary']);
+  //unset($wp_meta_boxes['dashboard']['normal']['core']['dashboard_incoming_links']);
+  //unset($wp_meta_boxes['dashboard']['normal']['core']['dashboard_right_now']);
+  unset($wp_meta_boxes['dashboard']['side']['core']['dashboard_secondary']); 
+  unset($wp_meta_boxes['dashboard']['side']['core']['dashboard_quick_press']); 
+  unset($wp_meta_boxes['dashboard']['side']['core']['dashboard_recent_drafts']); 
+}
+
+function bml_rss_output(){
+    echo '<div class="rss-widget">'; 
+       wp_widget_rss_output(array(
+            'url' => 'https://cantbuymelove/feed/', 
+            'title' => 'Cant Buy Me Love',
+            'items' => 1, 
+            'show_summary' => 1,
+            'show_author' => 0,
+            'show_date' => 1
+       ));
+       echo "</div>";
+}
+
+add_action('wp_dashboard_setup', 'bml_rss_widget');
+function bml_rss_widget(){
+  wp_add_dashboard_widget( 'bml-rss', 'Cantbuymelove', 'bml_rss_output');
+}
+

+ 46 - 0
index.php

@@ -0,0 +1,46 @@
+<?php
+/**
+ * The main template file.
+ *
+ * This is the most generic template file in a WordPress theme
+ * and one of the two required files for a theme (the other being style.css).
+ * It is used to display a page when nothing more specific matches a query.
+ * E.g., it puts together the home page when no home.php file exists.
+ * Learn more: http://codex.wordpress.org/Template_Hierarchy
+ *
+ * @package bml
+ */
+
+get_header(); ?>
+
+	<div id="primary" class="content-area">
+		<main id="main" class="site-main" role="main">
+
+		<?php if ( have_posts() ) : ?>
+
+			<?php /* Start the Loop */ ?>
+			<?php while ( have_posts() ) : the_post(); ?>
+
+				<?php
+					/* Include the Post-Format-specific template for the content.
+					 * If you want to override this in a child theme, then include a file
+					 * called content-___.php (where ___ is the Post Format name) and that will be used instead.
+					 */
+					get_template_part( 'content', get_post_format() );
+				?>
+
+			<?php endwhile; ?>
+
+			<?php bml_content_nav( 'nav-below' ); ?>
+
+		<?php else : ?>
+
+			<?php get_template_part( 'no-results', 'index' ); ?>
+
+		<?php endif; ?>
+
+		</main><!-- #main -->
+	</div><!-- #primary -->
+
+<?php get_sidebar(); ?>
+<?php get_footer(); ?>

+ 36 - 0
js/customizer.js

@@ -0,0 +1,36 @@
+/**
+ * Theme Customizer enhancements for a better user experience.
+ *
+ * Contains handlers to make Theme Customizer preview reload changes asynchronously.
+ */
+
+( function( $ ) {
+	// Site title and description.
+	wp.customize( 'blogname', function( value ) {
+		value.bind( function( to ) {
+			$( '.site-title a' ).text( to );
+		} );
+	} );
+	wp.customize( 'blogdescription', function( value ) {
+		value.bind( function( to ) {
+			$( '.site-description' ).text( to );
+		} );
+	} );
+	// Header text color.
+	wp.customize( 'header_textcolor', function( value ) {
+		value.bind( function( to ) {
+			if ( 'blank' === to ) {
+				$( '.site-title, .site-description' ).css( {
+					'clip': 'rect(1px, 1px, 1px, 1px)',
+					'position': 'absolute'
+				} );
+			} else {
+				$( '.site-title, .site-description' ).css( {
+					'clip': 'auto',
+					'color': to,
+					'position': 'relative'
+				} );
+			}
+		} );
+	} );
+} )( jQuery );

File diff suppressed because it is too large
+ 1156 - 0
js/fancybox-1.3.4.js


+ 4 - 0
js/init.js

@@ -0,0 +1,4 @@
+$(document).ready(function() {
+	$('#bml').countdown({until: new Date(2014, 9 - 1, 27)});
+	$("a#inline").fancybox({});
+});

File diff suppressed because it is too large
+ 2 - 0
js/jquery-1.8.3.min.js


+ 14 - 0
js/keyboard-image-navigation.js

@@ -0,0 +1,14 @@
+jQuery( document ).ready( function( $ ) {
+	$( document ).keydown( function( e ) {
+		var url = false;
+		if ( e.which === 37 ) {  // Left arrow key code
+			url = $( '.nav-previous a' ).attr( 'href' );
+		}
+		else if ( e.which === 39 ) {  // Right arrow key code
+			url = $( '.entry-attachment a' ).attr( 'href' );
+		}
+		if ( url && ( ! $( 'textarea, input' ).is( ':focus' ) ) ) {
+			window.location = url;
+		}
+	} );
+} );

File diff suppressed because it is too large
+ 1 - 0
js/lightbox-2.6.min.js


+ 34 - 0
js/navigation.js

@@ -0,0 +1,34 @@
+/**
+ * navigation.js
+ *
+ * Handles toggling the navigation menu for small screens.
+ */
+( function() {
+	var container, button, menu;
+
+	container = document.getElementById( 'site-navigation' );
+	if ( ! container )
+		return;
+
+	button = container.getElementsByTagName( 'h1' )[0];
+	if ( 'undefined' === typeof button )
+		return;
+
+	menu = container.getElementsByTagName( 'ul' )[0];
+
+	// Hide menu toggle button if menu is empty and return early.
+	if ( 'undefined' === typeof menu ) {
+		button.style.display = 'none';
+		return;
+	}
+
+	if ( -1 === menu.className.indexOf( 'nav-menu' ) )
+		menu.className += ' nav-menu';
+
+	button.onclick = function() {
+		if ( -1 !== container.className.indexOf( 'toggled' ) )
+			container.className = container.className.replace( ' toggled', '' );
+		else
+			container.className += ' toggled';
+	};
+} )();

File diff suppressed because it is too large
+ 2050 - 0
js/script.js


+ 19 - 0
js/skip-link-focus-fix.js

@@ -0,0 +1,19 @@
+( function() {
+	var is_webkit = navigator.userAgent.toLowerCase().indexOf( 'webkit' ) > -1,
+	    is_opera  = navigator.userAgent.toLowerCase().indexOf( 'opera' )  > -1,
+	    is_ie     = navigator.userAgent.toLowerCase().indexOf( 'msie' )   > -1;
+
+	if ( ( is_webkit || is_opera || is_ie ) && 'undefined' !== typeof( document.getElementById ) ) {
+		var eventMethod = ( window.addEventListener ) ? 'addEventListener' : 'attachEvent';
+		window[ eventMethod ]( 'hashchange', function() {
+			var element = document.getElementById( location.hash.substring( 1 ) );
+
+			if ( element ) {
+				if ( ! /^(?:a|select|input|button|textarea)$/i.test( element.tagName ) )
+					element.tabIndex = -1;
+
+				element.focus();
+			}
+		}, false );
+	}
+})();

+ 22 - 0
layouts/content-sidebar.css

@@ -0,0 +1,22 @@
+/*
+Theme Name: bml
+Layout: Content-Sidebar
+*/
+
+.content-area {
+	float: left;
+	margin: 0 -25% 0 0;
+	width: 100%;
+}
+.site-main {
+	margin: 0 25% 0 0;
+}
+.site-content .widget-area {
+	float: right;
+	overflow: hidden;
+	width: 25%;
+}
+.site-footer {
+	clear: both;
+	width: 100%;
+}

+ 22 - 0
layouts/sidebar-content.css

@@ -0,0 +1,22 @@
+/*
+Theme Name: bml
+Layout: Sidebar-Content
+*/
+
+.content-area {
+	float: right;
+	margin: 0 0 0 -25%;
+	width: 100%;
+}
+.site-main {
+	margin: 0 0 0 25%;
+}
+.site-content .widget-area {
+	float: left;
+	overflow: hidden;
+	width: 25%;
+}
+.site-footer {
+	clear: both;
+	width: 100%;
+}

+ 33 - 0
no-results.php

@@ -0,0 +1,33 @@
+<?php
+/**
+ * The template part for displaying a message that posts cannot be found.
+ *
+ * Learn more: http://codex.wordpress.org/Template_Hierarchy
+ *
+ * @package bml
+ */
+?>
+
+<section class="no-results not-found">
+	<header class="page-header">
+		<h1 class="page-title"><?php _e( 'Nothing Found', 'bml' ); ?></h1>
+	</header><!-- .page-header -->
+
+	<div class="page-content">
+		<?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
+
+			<p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'bml' ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p>
+
+		<?php elseif ( is_search() ) : ?>
+
+			<p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'bml' ); ?></p>
+			<?php get_search_form(); ?>
+
+		<?php else : ?>
+
+			<p><?php _e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'bml' ); ?></p>
+			<?php get_search_form(); ?>
+
+		<?php endif; ?>
+	</div><!-- .page-content -->
+</section><!-- .no-results -->

+ 85 - 0
page-date.php

@@ -0,0 +1,85 @@
+<?php /* Template Name: BML Date */ ?>
+<!DOCTYPE html>
+<html <?php language_attributes(); ?>>
+<head>
+<meta charset="<?php bloginfo( 'charset' ); ?>">
+<meta name="viewport" content="width=device-width, initial-scale=1">
+<title><?php wp_title( '|', true, 'right' ); ?></title>
+<?php wp_head(); ?>
+</head>
+<body>
+<div class="container">
+	<div class="twelve">
+		<div class="content">
+			<main class="main" role="main">
+				<div id="bml">
+					<h3>September 27<sup>th</sup>, &nbsp;<span id="year">2014</span>.</h3>	
+					
+				</div>
+				<div class="buy-love" style="margin:20px 20px 20px 100px">
+					<a id="inline" href="#buy-love"><button>Wha?</button></a>
+				</div>
+				<div style="display:none">
+					<div id="buy-love">
+						<div id="wp-stripe-wrap">
+									<form id="wp-stripe-payment-form">
+									<input type="hidden" name="action" value="wp_stripe_charge_initiate" />
+									<input type="hidden" name="nonce" value="bd39ddb4d5" />
+									<div class="wp-stripe-details">
+									    <div class="wp-stripe-notification wp-stripe-failure payment-errors" style="display:none"></div>
+									    <div class="stripe-row"><input type="text" name="wp_stripe_name" class="wp-stripe-name" placeholder="Name *" autofocus required /></div>
+									    <div class="stripe-row"><input type="email" name="wp_stripe_email" class="wp-stripe-email" placeholder="E-mail" /></div>
+									    <div class="stripe-row"><textarea name="wp_stripe_comment" class="wp-stripe-comment" placeholder="Comments?"></textarea></div>
+									</div>
+									<div class="wp-stripe-card">
+									    <div class="stripe-row"><input type="text" name="wp_stripe_amount" autocomplete="off" class="wp-stripe-card-amount" id="wp-stripe-card-amount" placeholder="Amount (USD) *" required /></div>
+									    <div class="stripe-row"><input type="text" autocomplete="off" class="card-number" placeholder="Card Number *" required /></div>
+									    <div class="stripe-row">
+									        <div class="stripe-row-left"><input type="text" autocomplete="off" class="card-cvc" placeholder="CVC Number *" maxlength="4" required /></div>
+									        <div class="stripe-row-right">
+									            <span class="stripe-expiry">EXP</span>
+									            <select class="card-expiry-month">
+									                <option value="1">01</option>
+									                <option value="2">02</option>
+									                <option value="3">03</option>
+									                <option value="4">04</option>
+									                <option value="5">05</option>
+									                <option value="6">06</option>
+									                <option value="7">07</option>
+									                <option value="8">08</option>
+									                <option value="9">09</option>
+									                <option value="10">10</option>
+									                <option value="11">11</option>
+									                <option value="12">12</option>
+									            </select>
+									            <span></span>
+									            <select class="card-expiry-year">
+									            <option value="2013">2013</option><option value="2014">2014</option><option value="2015">2015</option><option value="2016">2016</option><option value="2017">2017</option><option value="2018">2018</option><option value="2019">2019</option>			            </select>
+									        </div>
+									    </div>
+									    </div>
+									    			    <div class="stripe-row">
+									        <input type="checkbox" name="wp_stripe_public" value="public" checked="checked" /> <label class="public">Check to share your comments and be notified of our event page. 
+									    </div>
+									    			    <div style="clear:both"></div>
+									    <input type="hidden" name="wp_stripe_form" value="1"/>
+									    <button type="submit" class="stripe-submit-button">Buy Some Love</button>
+									    <div class="stripe-spinner"></div>
+									</form>
+									</div>
+						
+					</div>
+				</div>
+			</main>
+		</div>
+	</div>
+	<footer class="footer" role="info">
+	</footer>
+</div>
+<?php wp_footer(); ?>
+<script src="<?php echo get_template_directory_uri(); ?>/js/jquery-1.8.3.min.js"></script>
+<script>window.jQuery || document.write("<script src='<?php echo get_template_directory_uri(); ?>/js/jquery-1.8.3.min.js'>\x3C/script>")</script>
+<script src="<?php echo get_template_directory_uri(); ?>/js/script.js"></script>
+<script src="<?php echo get_template_directory_uri(); ?>/js/init.js"></script>
+</body>
+</html>

+ 105 - 0
page-home.php

@@ -0,0 +1,105 @@
+<?php /* Template Name: BML */ ?>
+<!DOCTYPE html>
+<html <?php language_attributes(); ?>>
+<head>
+<meta charset="<?php bloginfo( 'charset' ); ?>">
+<meta name="viewport" content="width=device-width, initial-scale=1">
+<title><?php wp_title( '|', true, 'right' ); ?></title>
+<?php wp_head(); ?>
+</head>
+<body>
+<div class="container">
+	<div class="twelve columns">
+		<div class="row clearfix">
+			<p>&nbsp;</p>
+		<div>
+		<div class="row clearfix">
+			<p>&nbsp;</p>
+		<div>
+		<div class="row clearfix">
+		<div class="six columns alpha">
+		<img src="<?php echo get_template_directory_uri(); ?>/img/bml_thermo.png" style="float:right;"/>
+		</div>
+		<div class="six columns omega">
+		<div class="content">
+			<main class="main" role="main">
+				<div id="bml">
+					<h3>September 27<sup>th</sup>, &nbsp;<span id="year">2014</span>.</h3>	
+				</div>
+				<div class="buy-love" style="margin:0 0 0 100px">
+					<p>&nbsp;</p>
+					<a id="inline" href="#buy-love"><button>Buy Some Love</button></a>
+				</div>
+				<div style="display:none">
+					<div id="buy-love">
+						<div id="wp-stripe-wrap">
+							<form id="wp-stripe-payment-form">
+							<input type="hidden" name="action" value="wp_stripe_charge_initiate" />
+							<input type="hidden" name="nonce" value="bd39ddb4d5" />
+							<div class="wp-stripe-details">
+							    <div class="wp-stripe-notification wp-stripe-failure payment-errors" style="display:none"></div>
+							    <div class="stripe-row"><input type="text" name="wp_stripe_name" class="wp-stripe-name" placeholder="Name *" autofocus required /></div>
+							    <div class="stripe-row"><input type="email" name="wp_stripe_email" class="wp-stripe-email" placeholder="E-mail" /></div>
+							    <div class="stripe-row"><textarea name="wp_stripe_comment" class="wp-stripe-comment" placeholder="Comments?"></textarea></div>
+							</div>
+							<div class="wp-stripe-card">
+							    <div class="stripe-row"><input type="text" name="wp_stripe_amount" autocomplete="off" class="wp-stripe-card-amount" id="wp-stripe-card-amount" placeholder="Amount (USD) *" required /></div>
+							    <div class="stripe-row"><input type="text" autocomplete="off" class="card-number" placeholder="Card Number *" required /></div>
+							    <div class="stripe-row">
+							        <div class="stripe-row-left"><input type="text" autocomplete="off" class="card-cvc" placeholder="CVC Number *" maxlength="4" required /></div>
+							        <div class="stripe-row-right">
+							            <span class="stripe-expiry">EXP</span>
+							            <select class="card-expiry-month">
+							                <option value="1">01</option>
+							                <option value="2">02</option>
+							                <option value="3">03</option>
+							                <option value="4">04</option>
+							                <option value="5">05</option>
+							                <option value="6">06</option>
+							                <option value="7">07</option>
+							                <option value="8">08</option>
+							                <option value="9">09</option>
+							                <option value="10">10</option>
+							                <option value="11">11</option>
+							                <option value="12">12</option>
+							            </select>
+							            <span></span>
+							            <select class="card-expiry-year">
+							            <option value="2013">2013</option><option value="2014">2014</option><option value="2015">2015</option><option value="2016">2016</option><option value="2017">2017</option><option value="2018">2018</option><option value="2019">2019</option>
+										</select>
+							        </div>
+							    </div>
+							    </div>
+							    <div class="stripe-row">
+							        <input type="checkbox" name="wp_stripe_public" value="public" checked="checked" /> <label class="public">share your comments on our event page
+							    </div>
+							    			    <div style="clear:both"></div>
+							    <input type="hidden" name="wp_stripe_form" value="1"/>
+							    <button type="submit" class="stripe-submit-button">Donate</button>
+							    <div class="stripe-spinner"></div>
+							</form>
+						</div>
+					</div>
+				</div>
+			</main>
+		</div>
+	</div>
+	</div>
+	<footer class="footer" role="info">
+	</footer>
+</div>
+<?php wp_footer(); ?>
+<script src="<?php echo get_template_directory_uri(); ?>/js/jquery-1.8.3.min.js"></script>
+<script>window.jQuery || document.write("<script src='<?php echo get_template_directory_uri(); ?>/js/jquery-1.8.3.min.js'>\x3C/script>")</script>
+<script src="<?php echo get_template_directory_uri(); ?>/js/script.js"></script>
+<script src="<?php echo get_template_directory_uri(); ?>/js/init.js"></script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+  ga('create', 'UA-1906067-35', 'cantbuymelove.org');
+  ga('send', 'pageview');
+</script>
+</body>
+</html>

+ 25 - 0
page-test.php

@@ -0,0 +1,25 @@
+<?php /* Template Name: Test */ ?>
+<!DOCTYPE html>
+<html <?php language_attributes(); ?>>
+<head>
+<meta charset="<?php bloginfo( 'charset' ); ?>">
+<meta name="viewport" content="width=device-width, initial-scale=1">
+<title><?php wp_title( '|', true, 'right' ); ?></title>
+<?php wp_head(); ?>
+</head>
+<body>
+<div class="container">
+	<div class="twelve">
+		<div class="content">
+			<main class="main" role="main">
+				<?php the_content(); ?>
+				<?php echo wp_stripe_form(); ?>
+			</main>
+		</div>
+	</div>
+	<footer class="footer" role="info">
+	</footer>
+</div>
+<?php wp_footer(); ?>
+</body>
+</html>

+ 34 - 0
page.php

@@ -0,0 +1,34 @@
+<?php
+/**
+ * The template for displaying all pages.
+ *
+ * This is the template that displays all pages by default.
+ * Please note that this is the WordPress construct of pages
+ * and that other 'pages' on your WordPress site will use a
+ * different template.
+ *
+ * @package bml
+ */
+
+get_header(); ?>
+
+	<div id="primary" class="content-area">
+		<main id="main" class="site-main" role="main">
+
+			<?php while ( have_posts() ) : the_post(); ?>
+
+				<?php get_template_part( 'content', 'page' ); ?>
+
+				<?php
+					// If comments are open or we have at least one comment, load up the comment template
+					if ( comments_open() || '0' != get_comments_number() )
+						comments_template();
+				?>
+
+			<?php endwhile; // end of the loop. ?>
+
+		</main><!-- #main -->
+	</div><!-- #primary -->
+
+<?php get_sidebar(); ?>
+<?php get_footer(); ?>

BIN
screenshot.png


+ 38 - 0
search.php

@@ -0,0 +1,38 @@
+<?php
+/**
+ * The template for displaying Search Results pages.
+ *
+ * @package bml
+ */
+
+get_header(); ?>
+
+	<section id="primary" class="content-area">
+		<main id="main" class="site-main" role="main">
+
+		<?php if ( have_posts() ) : ?>
+
+			<header class="page-header">
+				<h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'bml' ), '<span>' . get_search_query() . '</span>' ); ?></h1>
+			</header><!-- .page-header -->
+
+			<?php /* Start the Loop */ ?>
+			<?php while ( have_posts() ) : the_post(); ?>
+
+				<?php get_template_part( 'content', 'search' ); ?>
+
+			<?php endwhile; ?>
+
+			<?php bml_content_nav( 'nav-below' ); ?>
+
+		<?php else : ?>
+
+			<?php get_template_part( 'no-results', 'search' ); ?>
+
+		<?php endif; ?>
+
+		</main><!-- #main -->
+	</section><!-- #primary -->
+
+<?php get_sidebar(); ?>
+<?php get_footer(); ?>

+ 14 - 0
searchform.php

@@ -0,0 +1,14 @@
+<?php
+/**
+ * The template for displaying search forms in bml
+ *
+ * @package bml
+ */
+?>
+<form role="search" method="get" class="search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>">
+	<label>
+		<span class="screen-reader-text"><?php _ex( 'Search for:', 'label', 'bml' ); ?></span>
+		<input type="search" class="search-field" placeholder="<?php echo esc_attr_x( 'Search &hellip;', 'placeholder', 'bml' ); ?>" value="<?php echo esc_attr( get_search_query() ); ?>" name="s">
+	</label>
+	<input type="submit" class="search-submit" value="<?php echo esc_attr_x( 'Search', 'submit button', 'bml' ); ?>">
+</form>

+ 33 - 0
sidebar.php

@@ -0,0 +1,33 @@
+<?php
+/**
+ * The Sidebar containing the main widget areas.
+ *
+ * @package bml
+ */
+?>
+	<div id="secondary" class="widget-area" role="complementary">
+		<?php do_action( 'before_sidebar' ); ?>
+		<?php if ( ! dynamic_sidebar( 'sidebar-1' ) ) : ?>
+
+			<aside id="search" class="widget widget_search">
+				<?php get_search_form(); ?>
+			</aside>
+
+			<aside id="archives" class="widget">
+				<h1 class="widget-title"><?php _e( 'Archives', 'bml' ); ?></h1>
+				<ul>
+					<?php wp_get_archives( array( 'type' => 'monthly' ) ); ?>
+				</ul>
+			</aside>
+
+			<aside id="meta" class="widget">
+				<h1 class="widget-title"><?php _e( 'Meta', 'bml' ); ?></h1>
+				<ul>
+					<?php wp_register(); ?>
+					<li><?php wp_loginout(); ?></li>
+					<?php wp_meta(); ?>
+				</ul>
+			</aside>
+
+		<?php endif; // end sidebar widget area ?>
+	</div><!-- #secondary -->

+ 31 - 0
single.php

@@ -0,0 +1,31 @@
+<?php
+/**
+ * The Template for displaying all single posts.
+ *
+ * @package bml
+ */
+
+get_header(); ?>
+
+	<div id="primary" class="content-area">
+		<main id="main" class="site-main" role="main">
+
+		<?php while ( have_posts() ) : the_post(); ?>
+
+			<?php get_template_part( 'content', 'single' ); ?>
+
+			<?php bml_content_nav( 'nav-below' ); ?>
+
+			<?php
+				// If comments are open or we have at least one comment, load up the comment template
+				if ( comments_open() || '0' != get_comments_number() )
+					comments_template();
+			?>
+
+		<?php endwhile; // end of the loop. ?>
+
+		</main><!-- #main -->
+	</div><!-- #primary -->
+
+<?php get_sidebar(); ?>
+<?php get_footer(); ?>

File diff suppressed because it is too large
+ 1048 - 0
style.css