Permalink
Browse files

adding simple page template

  • Loading branch information...
1 parent 4966c9c commit 0592587d56a9c0688efce028fc5155b949713396 @jayfresh committed Feb 12, 2013
Showing with 22 additions and 0 deletions.
  1. +19 −0 themes/sos/simple.php
  2. +3 −0 themes/sos/style.css
View
@@ -0,0 +1,19 @@
+<?php
+ /* Template Name: Simple page template */
+ get_header();
+?>
+
+ <div class="contentPage">
+ <?php if ( have_posts() ) :
+ while ( have_posts() ) : the_post(); ?>
+ <div class="contentColumnWide contentColumn left">
+ <h1><?php the_title(); ?></h1>
+ <?php the_content(); ?>
+ </div>
+ <?php endwhile;
+ endif; ?>
+ </div>
+
+<?php
+get_footer();
+?>
View
@@ -525,6 +525,9 @@ a.boxout:hover {
#pressPage .contentColumn img {
float: left;
}
+.contentColumnWide {
+ width: 620px; /* like .grid8col */
+}
.eventbox {
width: 610px;
background: #222;

0 comments on commit 0592587

Please sign in to comment.