Permalink
Browse files

in the future, make these panes happen via a function call instead

  • Loading branch information...
1 parent becc262 commit f7082cf036f7264a89e65030583cb8ab4221b571 @timf committed Dec 3, 2009
Showing with 86 additions and 70 deletions.
  1. +4 −1 archive.php
  2. +30 −27 archives.php
  3. +0 −3 header.php
  4. +32 −27 home.php
  5. +7 −6 index.php
  6. +7 −6 page.php
  7. +3 −0 sc_pages.php
  8. +3 −0 single.php
View
@@ -1,5 +1,8 @@
<?php get_header(); ?>
+ <div id="body_left">
+ <div id="body_left_content">
+
<div id="content" class="narrowcolumn">
<?php if (have_posts()) : ?>
@@ -50,7 +53,7 @@
</div>
</div>
<div id="body_right">
- <div id="body_right_content">
+ <div id="body_right_content">
<div id="sidebars">
<?php get_sidebar(); ?>
View
@@ -6,34 +6,37 @@
<?php get_header(); ?>
-<div class="page_archives_div">
-
-<div class="ar_panel">
- <h2><span>Archives By Category:</span></h2>
- <ul>
- <?php wp_list_categories('title_li='); ?>
- </ul>
-</div>
-
-<div class="ar_panel ar_panel2">
- <h2><span>Archives By Month:</span></h2>
- <ul class="dark">
- <?php wp_get_archives('type=monthly'); ?>
- </ul>
-</div>
-
-</div>
-
-</div>
-</div>
-<div id="body_right">
- <div id="body_right_content">
-
- <div id="sidebars">
- <?php get_sidebar(); ?>
+ <div id="body_left">
+ <div id="body_left_content">
+
+ <div class="page_archives_div">
+
+ <div class="ar_panel">
+ <h2><span>Archives By Category:</span></h2>
+ <ul>
+ <?php wp_list_categories('title_li='); ?>
+ </ul>
+ </div>
+
+ <div class="ar_panel ar_panel2">
+ <h2><span>Archives By Month:</span></h2>
+ <ul class="dark">
+ <?php wp_get_archives('type=monthly'); ?>
+ </ul>
+ </div>
+
+ </div>
+
+ </div>
+ </div>
+ <div id="body_right">
+ <div id="body_right_content">
+
+ <div id="sidebars">
+ <?php get_sidebar(); ?>
+ </div>
+
</div>
-
</div>
-</div>
<?php get_footer(); ?>
View
@@ -52,7 +52,4 @@
</div>
<div id="body">
-
- <div id="body_left">
- <div id="body_left_content">
View
@@ -6,6 +6,9 @@
<?php get_header(); ?>
+ <div id="body_left">
+ <div id="body_left_content">
+
<div id="content" class="narrowcolumn">
<?php if (have_posts()) { ?>
@@ -14,7 +17,9 @@
<div class="post-page" id="post-<?php the_ID(); ?>">
<?php if (is_front_page()) { echo '&nbsp;'; } else { ?>
- <h2 class="page_title"><?php the_title();?></h2>
+ <h2 class="page_title">
+ <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php if ( function_exists('the_title_attribute')) the_title_attribute(); else the_title(); ?>"><?php the_title(); ?></a>
+ </h2>
<h3>
Posted by <span><?php the_author() ?></span> | Posted in <span><?php the_category(', ') ?></span> | <?php the_time('m-d-Y') ?>
| <?php comments_number('No responses','One response','% responses'); ?>
@@ -52,33 +57,33 @@
</div>
<div id="body_right">
- <div id="body_right_content">
-
- <?php if (is_front_page()) { ?>
-
- <div id="sidebarposts">
- <h2>Recent Posts</h2>
- <br>
-
- <?php $recent = new WP_Query("showposts=2"); while($recent->have_posts()) : $recent->the_post();?>
- <h3><?php the_title_limited(70); ?></h3>
- <br>
- <p><?php the_content_limit(300); ?></p>
- <br>
- <p class="sidereadmore"><a href="<?php the_permalink() ?>">Read more</a>...</p>
- <br>
- <?php endwhile; ?>
- </div>
-
- <?php } else { ?>
+ <div id="body_right_content">
+
+ <?php if (is_front_page()) { ?>
+
+ <div id="sidebarposts">
+ <h2>Recent Posts</h2>
+ <br>
- <div id="sidebars">
- <?php get_sidebar(); ?>
- </div>
-
- <?php } ?>
-
- </div>
+ <?php $recent = new WP_Query("showposts=2"); while($recent->have_posts()) : $recent->the_post();?>
+ <h3><?php the_title_limited(70); ?></h3>
+ <br>
+ <p><?php the_content_limit(300); ?></p>
+ <br>
+ <p class="sidereadmore"><a href="<?php the_permalink() ?>">Read more</a>...</p>
+ <br>
+ <?php endwhile; ?>
+ </div>
+
+ <?php } else { ?>
+
+ <div id="sidebars">
+ <?php get_sidebar(); ?>
+ </div>
+
+ <?php } ?>
+
+ </div>
</div>
View
@@ -1,5 +1,8 @@
<?php get_header(); ?>
+ <div id="body_left">
+ <div id="body_left_content">
+
<div id="content" class="narrowcolumn">
<?php if (have_posts()) : ?>
@@ -51,13 +54,11 @@
</div>
</div>
<div id="body_right">
- <div id="body_right_content">
-
- <div id="sidebars">
- <?php get_sidebar(); ?>
- </div>
-
+ <div id="body_right_content">
+ <div id="sidebars">
+ <?php get_sidebar(); ?>
</div>
</div>
+ </div>
<?php get_footer(); ?>
View
@@ -1,5 +1,8 @@
<?php get_header(); ?>
+ <div id="body_left">
+ <div id="body_left_content">
+
<div id="content" class="narrowcolumn">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
@@ -20,13 +23,11 @@
</div>
</div>
<div id="body_right">
- <div id="body_right_content">
-
- <div id="sidebars">
- <?php get_sidebar(); ?>
- </div>
-
+ <div id="body_right_content">
+ <div id="sidebars">
+ <?php get_sidebar(); ?>
</div>
</div>
+ </div>
<?php get_footer(); ?>
View
@@ -6,6 +6,9 @@
<?php get_header(); ?>
+ <div id="body_left">
+ <div id="body_left_content">
+
<div id="content" class="narrowcolumn">
<?php if (have_posts()) { ?>
View
@@ -1,5 +1,8 @@
<?php get_header(); ?>
+ <div id="body_left">
+ <div id="body_left_content">
+
<div id="content" class="narrowcolumn">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

0 comments on commit f7082cf

Please sign in to comment.