Skip to content

Commit

Permalink
changed html to have much better html5 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Berry committed Sep 20, 2010
1 parent 90612c7 commit afb6ca1
Show file tree
Hide file tree
Showing 16 changed files with 916 additions and 144 deletions.
Empty file modified 404.php
100755 → 100644
Empty file.
Empty file modified archives.php
100755 → 100644
Empty file.
Empty file modified fonts/Print Clearly Blue Vinyl License.txt
100755 → 100644
Empty file.
Empty file modified fonts/PrintBold.otf
100755 → 100644
Empty file.
Empty file modified fonts/PrintClearly.otf
100755 → 100644
Empty file.
Empty file modified fonts/boogie.ttf
100755 → 100644
Empty file.
14 changes: 11 additions & 3 deletions footer.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
<footer><div id="footer">
<img src="http://www.travisberry.com/wp-content/themes/tbsite/images/footerimage.jpg" width="388" height="184" alt="Travis Berry" title="Travis Berry" />
</div></footer></div><?php wp_footer(); ?>
<footer>
<img src="http://www.travisberry.com/wp-content/themes/tbsite/images/footerimage.jpg" width="388" height="184" alt="Travis Berry" title="Travis Berry" />
<?php wp_footer(); ?>
</footer>
</section><!--end main-->

<script type="text/javascript" src="http://m.travisberry.com/mobify/redirect.js"></script>

<?php if ( is_page('contact')) { echo '<script type="text/javascript" src="http://www.travisberry.com/wp-content/themes/tbsite/imageswap.js"></script>'; } ?>

<script type="text/javascript">try{_mobify("http://m.travisberry.com/");} catch(err) {};</script>

<!--[if lt IE 8]>
<script src="http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE8.js" type="text/javascript"></script>
<![endif]-->

<script type="text/javascript">

var _gaq = _gaq || [];
Expand All @@ -20,5 +27,6 @@
})();

</script>

</body>
</html>
69 changes: 24 additions & 45 deletions header.php
Original file line number Diff line number Diff line change
@@ -1,50 +1,29 @@
<!DOCTYPE html>
<html class="chunk">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!--<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />-->
<link rel="stylesheet" href="http://www.travisberry.com/wp-content/themes/tbsite/ministyle2.css" type="text/css" media="screen" />

<!--[if lte IE 7]>
<link rel="stylesheet" href="http://www.travisberry.com/wp-content/themes/tbsite/ie.css" type="text/css" media="screen" />
<![endif]-->
<link rel="alternate" type="application/rss+xml" title="Travis Berry RSS Feed" href="http://www.travisberry.com/feed/" />
<link rel="pingback" href="http://www.travisberry.com/xmlrpc.php" />
<link rel="shortcut icon" href="http://www.travisberry.com/favicon.ico" type="image/x-icon" />
<?php wp_head(); ?>
</head>

<body>
<div id="main">
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" href="http://www.travisberry.com/wp-content/themes/tbsite/ministyle2.css" type="text/css" media="screen" />
<!--[if lte IE 7]>
<img src="http://www.travisberry.com/wp-content/themes/tbsite/images/footerimage.jpg" alt="Travis Berry" title="Travis Berry" />
<![endif]--><header><nav>
<div id="navbar">
<!--[if lt IE 7]>
<div style='border: 1px solid #F7941D; background: #FEEFDA; text-align: center; clear: both; height: 75px; position: relative;'>
<div style='position: absolute; right: 3px; top: 3px; font-family: courier new; font-weight: bold;'><a href='#' onclick='javascript:this.parentNode.parentNode.style.display="none"; return false;'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-cornerx.jpg' style='border: none;' alt='Close this notice'/></a></div>
<div style='width: 640px; margin: 0 auto; text-align: left; padding: 0; overflow: hidden; color: black;'>
<div style='width: 75px; float: left;'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-warning.jpg' alt='Warning!'/></div>
<div style='width: 275px; float: left; font-family: Arial, sans-serif;'>
<div style='font-size: 14px; font-weight: bold; margin-top: 12px;'>'Friends don't let friends use IE6'</div>
<div style='font-size: 12px; margin-top: 10px;'>You are using an outdated browser</div>
<div style='font-size: 10px; margin-top: 3px; line-height: 10px;'>For a better, more secure, experience using this, and other sites, please upgrade to a modern web browser. For more information click <a href="http://browsehappy.com/" style="color: blue" target="blank">here.</a></div>
</div>
<div style='width: 75px; float: left;'><a href='http://www.firefox.com' target='_blank'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-firefox.jpg' style='border: none;' alt='Get Firefox 3.5'/></a></div>
<div style='width: 75px; float: left;'><a href='http://www.browserforthebetter.com/download.html' target='_blank'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-ie8.jpg' style='border: none;' alt='Get Internet Explorer 8'/></a></div>
<div style='width: 73px; float: left;'><a href='http://www.apple.com/safari/download/' target='_blank'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-safari.jpg' style='border: none;' alt='Get Safari 4'/></a></div>
<div style='float: left;'><a href='http://www.google.com/chrome' target='_blank'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-chrome.jpg' style='border: none;' alt='Get Google Chrome'/></a></div>
</div>
</div>
<link rel="stylesheet" href="http://www.travisberry.com/wp-content/themes/tbsite/ie.css" type="text/css" media="screen" />
<![endif]-->

<ul><li<?php if ( is_page('about') || is_404() ){ echo ' class="current_page_item"
';}?>><a href="<?php echo get_option('home'); ?>/">Home</a></li>
<li<?php if ( is_home() || is_page('blog')|| is_single() || is_search() || is_archive()) { echo ' class="current_page_item"'; } ?>><a href="<?php bloginfo('url'); ?>/blog/">Blog</a></li>
<li<?php if ( is_page('work') || is_page('video') || is_page('web') || is_page('copyright-and-the-internet') || is_page('the-trunk') || is_page('applewood-rescue-commercial') || is_page('dccs-fashion-shoot') || is_page('dazbog-coffee-commercial') || is_page('changing-us-trailer') || is_page('canon-commercial') || is_page('aic-commercial') || is_page('apple-commercial')) { echo ' class="current_page_item"'; } ?>><a href="<?php bloginfo('url'); ?>/work/">Work</a></li>
<li<?php if ( is_page('contact') || is_page('343') || is_page('337')) { echo ' class="current_page_item"'; } ?>><a href="<?php bloginfo('url'); ?>/contact/">Contact</a></li>


</ul>
</div></nav></header>
<link rel="alternate" type="application/rss+xml" title="Travis Berry RSS Feed" href="http://www.travisberry.com/feed/" />
<link rel="pingback" href="http://www.travisberry.com/xmlrpc.php" />
<link rel="shortcut icon" href="http://www.travisberry.com/favicon.ico" type="image/x-icon" />
<?php wp_head(); ?>
</head>
<body>
<section id="main">
<!--[if lte IE 7]>
<img src="http://www.travisberry.com/wp-content/themes/tbsite/images/footerimage.jpg" alt="Travis Berry" title="Travis Berry" />
<![endif]-->
<header>
<nav>
<ul>
<li<?php if ( is_page('about') || is_404() ){ echo ' class="current_page_item"';}?>><a href="<?php echo get_option('home'); ?>/">Home</a></li>
<li<?php if ( is_home() || is_page('blog')|| is_single() || is_search() || is_archive()) { echo ' class="current_page_item"'; } ?>><a href="<?php bloginfo('url'); ?>/blog/">Blog</a></li>
<li<?php if ( is_page('work') || is_page('video') || is_page('web') || is_page('copyright-and-the-internet') || is_page('the-trunk') || is_page('applewood-rescue-commercial') || is_page('dccs-fashion-shoot') || is_page('dazbog-coffee-commercial') || is_page('changing-us-trailer') || is_page('canon-commercial') || is_page('aic-commercial') || is_page('apple-commercial')) { echo ' class="current_page_item"'; } ?>><a href="<?php bloginfo('url'); ?>/work/">Work</a></li>
<li<?php if ( is_page('contact') || is_page('343') || is_page('337')) { echo ' class="current_page_item"'; } ?>><a href="<?php bloginfo('url'); ?>/contact/">Contact</a></li>
</ul>
</nav>
</header>
Binary file removed images/commentbg.jpg
Binary file not shown.
51 changes: 24 additions & 27 deletions index.php
Original file line number Diff line number Diff line change
@@ -1,29 +1,26 @@
<?php get_header(); ?>
<div id="sidestripe">

</div>
<section><article>
<div id="contentbox">
<div id="content"><div id="blogtop"><a href="http://www.travisberry.com/feed/" target="blank">Subscribe via RSS</a> or <a href="http://feedburner.google.com/fb/a/mailverify?uri=TravisBerry&amp;loc=en_US" target="blank">Subscribe via Email</a> <div id="search"><?php $search_text = " Search Blog"; ?>
<form method="get" id="searchform"
action="<?php bloginfo('home'); ?>/">
<input type="text" value="<?php echo $search_text; ?>"
name="s" id="s"
onblur="if (this.value == '')
{this.value = '<?php echo $search_text; ?>';}"
onfocus="if (this.value == '<?php echo $search_text; ?>')
{this.value = '';}" />
<input type="hidden" id="searchsubmit" />
</form></div></div>
<?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
<h1><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
<div class="post" id="post-<?php the_ID(); ?>">

<div class="entry">
<?php the_content('Read more...'); ?></div></div>
<?php endwhile; ?><br /><br />
<div id="next"><?php next_posts_link('Older posts') ?></div><div id="previous"><?php previous_posts_link('Newer posts') ?></div>
<?php endif; ?>
</div>
</div></article></section>
<aside id="sidestripe"></aside>
<section id="content">
<header id="blogtop">
<a href="http://www.travisberry.com/feed/" target="blank">Subscribe via RSS</a> or <a href="http://feedburner.google.com/fb/a/mailverify?uri=TravisBerry&amp;loc=en_US" target="blank">Subscribe via Email</a> <div id="search"><?php $search_text = " Search Blog"; ?>
<form method="get" id="searchform" action="<?php bloginfo('home'); ?>/">
<input type="text" value="<?php echo $search_text; ?>" name="s" id="s" onblur="if (this.value == '') {this.value = '<?php echo $search_text; ?>';}" onfocus="if (this.value == '<?php echo $search_text; ?>') {this.value = '';}" />
<input type="hidden" id="searchsubmit" />
</form>
</div>
</header>
<section>
<?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
<article class="post" id="post-<?php the_ID(); ?>">
<header>
<h1><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
</header>
<?php the_content('Read more...'); ?>
</article>
<?php endwhile; ?>
<br /><br />
<div id="next"><?php next_posts_link('Older posts') ?></div><div id="previous"><?php previous_posts_link('Newer posts') ?></div>
<?php endif; ?>
</section>
</section><!--end content-->
<?php get_footer(); ?>
2 changes: 1 addition & 1 deletion ministyle2.css

Large diffs are not rendered by default.

34 changes: 17 additions & 17 deletions page.php
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<?php get_header(); ?>
<div id="sidestripe">

</div>
<section><article>
<div id="contentbox">
<div id="content">
<?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
<h1><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
<div class="post" id="post-<?php the_ID(); ?>">
<div class="entry">
<?php the_content('Read more...'); ?></div></div>
<?php endwhile; ?>
<div id="next"><?php next_posts_link('Older posts') ?></div><div id="previous"><?php previous_posts_link('Newer posts') ?></div>
<?php endif; ?>
</div>
</div></article></section>
<aside id="sidestripe"></aside>
<section id="content">
<?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
<section>
<header>
<h1><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
</header>
<article class="post" id="post-<?php the_ID(); ?>">
<?php the_content('Read more...'); ?>
</article>
<?php endwhile; ?>
<br /><br />
<div id="next"><?php next_posts_link('Older posts') ?></div><div id="previous"><?php previous_posts_link('Newer posts') ?></div>
</section>
<?php endif; ?>
</section><!--end content-->
<?php get_footer(); ?>
Loading

0 comments on commit afb6ca1

Please sign in to comment.