Permalink
Browse files

Initial Commit to GitHub - version 1.5.3

The HTML5 Responsive Shell for WordPress has been developed by
mimoYmima.com a web dev team in Brooklyn since WordPress v.2.3  We're
committing it to GitHub to hopefully bolster community involvement in
making it better and increasing it's user base!
  • Loading branch information...
0 parents commit 217fd35b41bb5157ffed0d8c295c25fd15569fa4 @mimoYmima committed May 31, 2012
27 404.php
@@ -0,0 +1,27 @@
+<?php get_header(); ?>
+
+<?php // look to see if we've disabled sidebar in a custom field, if not show it
+ $disableSidebarLeft = get_post_meta($post->ID, 'disableSidebarLeft', $single = true);
+ if ($disableSidebarLeft !== 'true') { get_sidebar('SidebarLeft'); }
+?>
+
+<!--BEGIN: Content-->
+<div id="content" role="main">
+
+ <h1>Keep searching.</h1>
+
+ <p style="margin-top: 1em;">The URL you've come to doesn't exist...<br /> If it's an error with our site <a href="/contact/">please tell us about it</a>, if not use the searchbox below to find what you're looking for.</p>
+ <?php get_search_form(); ?>
+
+ <h2>Or Choose A Popular Topic</h2>
+ <p><?php wp_tag_cloud(''); ?> </p>
+
+</div>
+<!--END: Content-->
+
+<?php // look to see if we've disabled sidebar in a custom field, if not show it
+ $disableSidebarRight = get_post_meta($post->ID, 'disableSidebarRight', $single = true);
+ if ($disableSidebarRight !== 'true') { get_sidebar('SidebarRight'); }
+?>
+
+<?php get_footer(); ?>
70 503.php
@@ -0,0 +1,70 @@
+<?php $iphone = strpos($_SERVER['HTTP_USER_AGENT'],"iPhone"); ?>
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<!--NOTE: you can't use includes in a 503 document so put your header and footer content in here manually-->
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+
+ <title><?php if (is_single() || is_page() || is_archive()) { wp_title('',true); } else { bloginfo('description'); } ?> &#8212; <?php bloginfo('name'); ?></title>
+
+ <!-- Meta Tags Handled by All In One SEO -->
+
+ <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/basic.css" media="all" />
+ <!--link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/print.css" media="print" /-->
+ <!--link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/handheld.css" media="handheld" /-->
+ <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style.css" media="screen" />
+
+ <?php $iphone = strpos($_SERVER['HTTP_USER_AGENT'],"iPhone"); ?>
+ <?php if ($iphone == true) : ?>
+ <link href="<?php bloginfo('template_url'); ?>/css/iphone.css" type="text/css" rel="stylesheet" />
+ <!--meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;" /-->
+ <?php endif; ?>
+
+ <!--BEGIN: IE Specific Stylesheets-->
+ <!--[if IE 8]><link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/ie8.css" media="screen" /><![endif]-->
+ <!--[if IE 7]><link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/ie7.css" media="screen" /><![endif]-->
+ <!--[if lt IE 7]><link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/ie6.css" media="screen" /><![endif]-->
+ <!--END: IE Specific Stylesheets-->
+
+ <link rel="copyright" href="#copyright" />
+ <link rel="icon" href="/favicon.ico" type="image/x-icon" />
+ <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
+
+</head>
+
+<body id="splash" class="maintenance">
+
+<header>
+ <div id="masthead" role="banner">
+ <div class="title"><a href="/"><?php bloginfo('name'); ?></a></div>
+ <div class="description"><?php echo get_bloginfo ( 'description' ); ?></div>
+ </div>
+</header>
+
+<div id="content" class="clear-fix" role="main">
+
+ <h1>Our site is getting a tune-up <br /> be back soon.</h1>
+
+</div>
+
+<footer id="footer" role="contentinfo">
+
+ <!--BEGIN: mimoYmima.com credit-->
+ <h3 id="mym-credit">
+ <a href="http://www.mimoymima.com" title="web design Brooklyn, NY &amp; Madrid, Spain">mimoYmima<br />
+ creative website design<br />
+ Brooklyn &amp; Madrid</a>
+ </h3>
+ <!--END: mimoYmima.com credit-->
+
+</footer>
+<!--END: Footer-->
+
+</body>
+</html>
@@ -0,0 +1,83 @@
+<?php get_header(); ?>
+
+<?php // to disable this sidebar on a page by page basis just add a custom field to your page or post of disableSidebarLeft = true
+ $disableSidebarLeft = get_post_meta($post->ID, 'disableSidebarLeft', $single = true);
+ if ($disableSidebarLeft !== 'true') { get_sidebar('SidebarLeft'); }
+?>
+
+<!--BEGIN: Content-->
+<div id="content" role="main">
+
+ <?php if (have_posts()) : ?>
+
+ <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
+ <?php /* If this is a category archive */ if (is_category()) { ?>
+ <h1 class="page-title">Archive for &#8216;<?php single_cat_title(); ?>&#8217;</h1>
+ <?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
+ <h1 class="page-title">Posts Tagged &#8216;<?php single_tag_title(); ?>&#8217;</h1>
+ <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
+ <h1 class="page-title">Archive for <?php the_time('F jS, Y'); ?></h1>
+ <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
+ <h1 class="page-title">Archive for <?php the_time('F, Y'); ?></h1>
+ <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
+ <h1 class="page-title">Archive for <?php the_time('Y'); ?></h1>
+ <?php /* If this is an author archive */ } elseif (is_author()) { ?>
+ <h1 class="page-title">Author Archive</h1>
+ <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
+ <h1 class="page-title">Blog Archives</h1>
+ <?php } ?>
+
+ <!--BEGIN: Archive-->
+ <article <?php post_class() ?> id="post-<?php the_ID(); ?>">
+
+ <?php while (have_posts()) : the_post(); ?>
+
+ <h2 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
+
+ <small><?php the_time('l, F jS, Y') ?></small>
+
+ <div class="entry">
+ <?php the_content() ?>
+ </div>
+
+ <?php if(!is_tag()): // don't show this stuff on tag pages '?>
+ <!--BEGIN: Post Meta Data-->
+ <footer class="post-meta-data">
+ <ul class="no-bullet">
+ <li class="add-comment"><?php comments_popup_link('Share your comments', '1 Comment', '% Comments'); ?></li>
+ <li>Posted in <?php the_category(', ') ?></li>
+ <li><?php edit_post_link('[Edit]', '<small>', '</small>'); ?></li>
+ <li><?php the_tags('Tags: ', ', ', '<br />'); ?></li>
+ </ul>
+ </footer>
+ <!--END: Post Meta Data-->
+ <?php endif; ?>
+
+ </article>
+ <!--END: Archive-->
+
+ <?php endwhile; ?>
+
+ <nav class="navigation">
+ <h1>Page Navigation</h1>
+ <?php posts_nav_link('&nbsp;','<div class="alignright">Newer Entries &raquo;</div>','<div class="alignleft">&laquo; Older Entries</div>') ?>
+ </nav>
+
+ <?php else : // ERROR: nothing found ?>
+
+ <h2>No posts were found :(</h2>
+
+ <?php endif; ?>
+
+ </article>
+ <!--END: Archive-->
+
+</div>
+<!--END: Content-->
+
+<?php // look to see if we've disabled sidebar in a custom field, if not show it
+ $disableSidebarRight = get_post_meta($post->ID, 'disableSidebarRight', $single = true);
+ if ($disableSidebarRight !== 'true') { get_sidebar('SidebarRight'); }
+?>
+
+<?php get_footer(); ?>
@@ -0,0 +1,63 @@
+<?php get_header(); ?>
+
+<?php // to disable this sidebar on a page by page basis just add a custom field to your page or post of disableSidebarLeft = true
+ $disableSidebarLeft = get_post_meta($post->ID, 'disableSidebarLeft', $single = true);
+ if ($disableSidebarLeft !== 'true') { get_sidebar('SidebarLeft'); }
+?>
+
+<!--BEGIN: Content-->
+<div id="content" class="clear-fix" role="main">
+
+ <?php if (have_posts()) : ?>
+
+ <h1>Posts in <?php single_cat_title(); ?></h1>
+
+ <?php while (have_posts()) : the_post(); ?>
+
+ <!--BEGIN: Post-->
+ <article <?php post_class() ?> id="post-<?php the_ID(); ?>">
+
+ <header>
+ <h2><a href="<?php the_permalink() ?>" rel="bookmark" title='Click to read: "<?php strip_tags(the_title()); ?>"'><?php the_title(); ?></a></h2>
+ <p class="post-date"><?php the_time('F jS, Y') ?> &#8212; <?php the_category(', ') ?></p>
+ </header>
+
+ <div class="entry">
+ <?php the_excerpt("Continue reading &rarr;"); ?>
+ </div>
+
+ <!--BEGIN: Post Meta Data-->
+ <footer class="post-meta-data">
+ <ul class="horiz-list">
+ <li><?php the_time('F jS, Y') ?> by <?php the_author() ?></li>
+ <li class="add-comment"><?php comments_popup_link('Share Your Comments', '1 Comment', '% Comments'); ?></li>
+ <li><?php edit_post_link('[Edit]', '<small>', '</small>'); ?></li>
+ <li><div class="utw"><?php if(function_exists ('UTW_ShowTagsForCurrentPost')) {UTW_ShowTagsForCurrentPost("commalist","",0); } ?></div></li>
+ </ul>
+ </footer>
+ <!--END: Post Meta Data-->
+
+ </article>
+ <!--END: Post-->
+
+ <?php endwhile; ?>
+
+ <div class="navigation">
+ <?php posts_nav_link('&nbsp;','<div class="alignleft">&laquo; Previous Page</div>','<div class="alignright">Next Page &raquo;</div>') ?>
+ </div>
+
+ <?php else : //ERROR: nothing was found ?>
+
+ <h2>No posts were found :(</h2>
+
+ <?php endif; ?>
+
+</div>
+<!--END: Content-->
+
+<?php // look to see if we've disabled sidebar in a custom field, if not show it
+ $disableSidebarRight = get_post_meta($post->ID, 'disableSidebarRight', $single = true);
+ if ($disableSidebarRight !== 'true') { get_sidebar('SidebarRight'); }
+?>
+
+<?php get_footer(); ?>
Oops, something went wrong.

0 comments on commit 217fd35

Please sign in to comment.