<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fc0 solid; padding: 6px; }
#msg ul, pre { overflow: auto; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[13141] trunk/wp-content/themes/twentyten:
  Move the Loop into a separate file.</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/13141">13141</a></dd>
<dt>Author</dt> <dd>dd32</dd>
<dt>Date</dt> <dd>2010-02-14 07:13:34 +0000 (Sun, 14 Feb 2010)</dd>
</dl>

<h3>Log Message</h3>
<pre>Move the Loop into a separate file. Reduces code duplication and adds Gallery/Aside styling to all archive views. See <a href="http://trac.wordpress.org/ticket/9015">#9015</a></pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpcontentthemestwentytenarchivephp">trunk/wp-content/themes/twentyten/archive.php</a></li>
<li><a href="#trunkwpcontentthemestwentytenauthorphp">trunk/wp-content/themes/twentyten/author.php</a></li>
<li><a href="#trunkwpcontentthemestwentytencategoryphp">trunk/wp-content/themes/twentyten/category.php</a></li>
<li><a href="#trunkwpcontentthemestwentytenfooterphp">trunk/wp-content/themes/twentyten/footer.php</a></li>
<li><a href="#trunkwpcontentthemestwentytenheaderphp">trunk/wp-content/themes/twentyten/header.php</a></li>
<li><a href="#trunkwpcontentthemestwentytenindexphp">trunk/wp-content/themes/twentyten/index.php</a></li>
<li><a href="#trunkwpcontentthemestwentytensearchphp">trunk/wp-content/themes/twentyten/search.php</a></li>
<li><a href="#trunkwpcontentthemestwentytentagphp">trunk/wp-content/themes/twentyten/tag.php</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkwpcontentthemestwentytenloopphp">trunk/wp-content/themes/twentyten/loop.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpcontentthemestwentytenarchivephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyten/archive.php (13140 => 13141)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/archive.php        2010-02-14 06:34:47 UTC (rev 13140)
+++ trunk/wp-content/themes/twentyten/archive.php        2010-02-14 07:13:34 UTC (rev 13141)
</span><span class="lines">@@ -11,53 +11,14 @@
</span><span class="cx">                                 &lt;h1 class=&quot;page-title&quot;&gt;&lt;?php printf( __( 'Monthly Archives: &lt;span&gt;%s&lt;/span&gt;', 'twentyten' ), get_the_date('F Y') ); ?&gt;&lt;/h1&gt;
</span><span class="cx"> &lt;?php elseif ( is_year() ) : ?&gt;
</span><span class="cx">                                 &lt;h1 class=&quot;page-title&quot;&gt;&lt;?php printf( __( 'Yearly Archives: &lt;span&gt;%s&lt;/span&gt;', 'twentyten' ), get_the_date('Y') ); ?&gt;&lt;/h1&gt;
</span><del>-&lt;?php elseif ( isset($_GET['paged']) &amp;&amp; !empty($_GET['paged']) ) : ?&gt;
</del><ins>+&lt;?php else : ?&gt;
</ins><span class="cx">                                 &lt;h1 class=&quot;page-title&quot;&gt;&lt;?php _e( 'Blog Archives', 'twentyten' ); ?&gt;&lt;/h1&gt;
</span><span class="cx"> &lt;?php endif; ?&gt;
</span><span class="cx"> 
</span><span class="cx"> &lt;?php rewind_posts(); ?&gt;
</span><span class="cx"> 
</span><del>-&lt;?php global $wp_query; $total_pages = $wp_query-&gt;max_num_pages; if ( $total_pages &gt; 1 ) { ?&gt;
-                                &lt;div id=&quot;nav-above&quot; class=&quot;navigation&quot;&gt;
-                                        &lt;div class=&quot;nav-previous&quot;&gt;&lt;?php next_posts_link(__( '&lt;span class=&quot;meta-nav&quot;&gt;&amp;larr;&lt;/span&gt; Older posts', 'twentyten' )); ?&gt;&lt;/div&gt;
-                                        &lt;div class=&quot;nav-next&quot;&gt;&lt;?php previous_posts_link(__( 'Newer posts &lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten' )); ?&gt;&lt;/div&gt;
-                                &lt;/div&gt;&lt;!-- #nav-above --&gt;
-&lt;?php } ?&gt;
</del><ins>+&lt;?php include 'loop.php'; ?&gt;
</ins><span class="cx"> 
</span><del>-&lt;?php while ( have_posts() ) : the_post(); ?&gt;
-
-                                &lt;div id=&quot;post-&lt;?php the_ID(); ?&gt;&quot; &lt;?php post_class(); ?&gt;&gt;
-                                        &lt;h2 class=&quot;entry-title&quot;&gt;&lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; title=&quot;&lt;?php printf( esc_attr__('Permalink to %s', 'twentyten'), the_title_attribute('echo=0') ); ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h2&gt;
-
-                                        &lt;div class=&quot;entry-meta&quot;&gt;
-                                                &lt;span class=&quot;meta-prep meta-prep-author&quot;&gt;&lt;?php _e('Posted on ', 'twentyten'); ?&gt;&lt;/span&gt;
-                                                &lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; title=&quot;&lt;?php echo esc_attr( get_the_time() ); ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;span class=&quot;entry-date&quot;&gt;&lt;?php echo get_the_date(); ?&gt;&lt;/span&gt;&lt;/a&gt;
-                                                &lt;span class=&quot;meta-sep&quot;&gt;&lt;?php _e(' by ', 'twentyten'); ?&gt;&lt;/span&gt;
-                                                &lt;span class=&quot;author vcard&quot;&gt;&lt;a class=&quot;url fn n&quot; href=&quot;&lt;?php echo get_author_posts_url( $authordata-&gt;ID ); ?&gt;&quot; title=&quot;&lt;?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ); ?&gt;&quot;&gt;&lt;?php the_author(); ?&gt;&lt;/a&gt;&lt;/span&gt;
-                                        &lt;/div&gt;&lt;!-- .entry-meta --&gt;
-
-                                        &lt;div class=&quot;entry-summary&quot;&gt;
-&lt;?php the_excerpt( __( 'Continue reading &lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten' )  ); ?&gt;
-                                        &lt;/div&gt;&lt;!-- .entry-summary --&gt;
-
-                                        &lt;div class=&quot;entry-utility&quot;&gt;
-                                                &lt;span class=&quot;cat-links&quot;&gt;&lt;span class=&quot;entry-utility-prep entry-utility-prep-cat-links&quot;&gt;&lt;?php _e( 'Posted in ', 'twentyten' ); ?&gt;&lt;/span&gt;&lt;?php echo get_the_category_list(', '); ?&gt;&lt;/span&gt;
-                                                &lt;span class=&quot;meta-sep&quot;&gt;&lt;?php _e( ' | ', 'twentyten' ); ?&gt;&lt;/span&gt;
-                                                &lt;?php the_tags( '&lt;span class=&quot;tag-links&quot;&gt;&lt;span class=&quot;entry-utility-prep entry-utility-prep-tag-links&quot;&gt;' . __('Tagged ', 'twentyten' ) . '&lt;/span&gt;', &quot;, &quot;, &quot;&lt;/span&gt;\n\t\t\t\t\t\t&lt;span class=\&quot;meta-sep\&quot;&gt;|&lt;/span&gt;\n&quot; ); ?&gt;
-                                                &lt;span class=&quot;comments-link&quot;&gt;&lt;?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?&gt;&lt;/span&gt;
-                                                &lt;?php edit_post_link( __( 'Edit', 'twentyten' ), &quot;&lt;span class=\&quot;meta-sep\&quot;&gt;|&lt;/span&gt;\n\t\t\t\t\t\t&lt;span class=\&quot;edit-link\&quot;&gt;&quot;, &quot;&lt;/span&gt;\n\t\t\t\t\t\n&quot; ); ?&gt;
-                                        &lt;/div&gt;&lt;!-- #entry-utility --&gt;
-                                &lt;/div&gt;&lt;!-- #post-&lt;?php the_ID(); ?&gt; --&gt;
-
-&lt;?php endwhile; ?&gt;
-
-&lt;?php global $wp_query; $total_pages = $wp_query-&gt;max_num_pages; if ( $total_pages &gt; 1 ) { ?&gt;
-                                &lt;div id=&quot;nav-below&quot; class=&quot;navigation&quot;&gt;
-                                        &lt;div class=&quot;nav-previous&quot;&gt;&lt;?php next_posts_link(__( '&lt;span class=&quot;meta-nav&quot;&gt;&amp;larr;&lt;/span&gt; Older posts', 'twentyten' )); ?&gt;&lt;/div&gt;
-                                        &lt;div class=&quot;nav-next&quot;&gt;&lt;?php previous_posts_link(__( 'Newer posts &lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten' )); ?&gt;&lt;/div&gt;
-                                &lt;/div&gt;&lt;!-- #nav-below --&gt;
-&lt;?php } ?&gt;
-
</del><span class="cx">                         &lt;/div&gt;&lt;!-- #content --&gt;
</span><span class="cx">                 &lt;/div&gt;&lt;!-- #container --&gt;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpcontentthemestwentytenauthorphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyten/author.php (13140 => 13141)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/author.php        2010-02-14 06:34:47 UTC (rev 13140)
+++ trunk/wp-content/themes/twentyten/author.php        2010-02-14 07:13:34 UTC (rev 13141)
</span><span class="lines">@@ -5,7 +5,7 @@
</span><span class="cx"> 
</span><span class="cx"> &lt;?php the_post(); ?&gt;
</span><span class="cx"> 
</span><del>-                                &lt;h1 class=&quot;page-title author&quot;&gt;&lt;?php printf( __( 'Author Archives: &lt;span class=&quot;vcard&quot;&gt;%s&lt;/span&gt;', 'twentyten' ), &quot;&lt;a class='url fn n' href='$authordata-&gt;user_url' title='&quot; . esc_attr($authordata-&gt;display_name) . &quot;' rel='me'&gt;&quot; . esc_html($authordata-&gt;display_name) . &quot;&lt;/a&gt;&quot; ); ?&gt;&lt;/h1&gt;
</del><ins>+                                &lt;h1 class=&quot;page-title author&quot;&gt;&lt;?php printf( __( 'Author Archives: &lt;span class=&quot;vcard&quot;&gt;%s&lt;/span&gt;', 'twentyten' ), &quot;&lt;a class='url fn n' href='$authordata-&gt;user_url' title='&quot; . esc_attr(get_the_author()) . &quot;' rel='me'&gt;&quot; . get_the_author() . &quot;&lt;/a&gt;&quot; ); ?&gt;&lt;/h1&gt;
</ins><span class="cx"> 
</span><span class="cx"> &lt;?php if ( get_the_author_meta('description') ) : // If a user has filled out their decscription show a bio on their entries  ?&gt;
</span><span class="cx">                                         &lt;div id=&quot;entry-author-info&quot;&gt;
</span><span class="lines">@@ -13,7 +13,7 @@
</span><span class="cx">                                                         &lt;?php echo get_avatar( get_the_author_meta('user_email'), apply_filters('twentyten_author_bio_avatar_size', 60) ); ?&gt;
</span><span class="cx">                                                 &lt;/div&gt;&lt;!-- #author-avatar         --&gt;
</span><span class="cx">                                                 &lt;div id=&quot;author-description&quot;&gt;
</span><del>-                                                        &lt;h2&gt;&lt;?php _e('About ', 'twentyten'); ?&gt;&lt;?php the_author(); ?&gt;&lt;/h2&gt;
</del><ins>+                                                        &lt;h2&gt;&lt;?php printf(__('About %s', 'twentyten'), get_the_author()); ?&gt;&lt;/h2&gt;
</ins><span class="cx">                                                         &lt;?php the_author_meta('description'); ?&gt;
</span><span class="cx">                                                 &lt;/div&gt;&lt;!-- #author-description        --&gt;
</span><span class="cx">                                         &lt;/div&gt;&lt;!-- .entry-author-info --&gt;
</span><span class="lines">@@ -21,45 +21,8 @@
</span><span class="cx"> 
</span><span class="cx"> &lt;?php rewind_posts(); ?&gt;
</span><span class="cx"> 
</span><del>-&lt;?php global $wp_query; $total_pages = $wp_query-&gt;max_num_pages; if ( $total_pages &gt; 1 ) { ?&gt;
-                                &lt;div id=&quot;nav-above&quot; class=&quot;navigation&quot;&gt;
-                                        &lt;div class=&quot;nav-previous&quot;&gt;&lt;?php next_posts_link(__( '&lt;span class=&quot;meta-nav&quot;&gt;&amp;larr;&lt;/span&gt; Older posts', 'twentyten' )); ?&gt;&lt;/div&gt;
-                                        &lt;div class=&quot;nav-next&quot;&gt;&lt;?php previous_posts_link(__( 'Newer posts &lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten' )); ?&gt;&lt;/div&gt;
-                                &lt;/div&gt;&lt;!-- #nav-above --&gt;
-&lt;?php } ?&gt;
</del><ins>+&lt;?php include 'loop.php'; ?&gt;
</ins><span class="cx"> 
</span><del>-&lt;?php while ( have_posts() ) : the_post(); ?&gt;
-
-                                &lt;div id=&quot;post-&lt;?php the_ID(); ?&gt;&quot; &lt;?php post_class(); ?&gt;&gt;
-                                        &lt;h2 class=&quot;entry-title&quot;&gt;&lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; title=&quot;&lt;?php printf( esc_attr__('Permalink to %s', 'twentyten'), the_title_attribute('echo=0') ); ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h2&gt;
-
-                                        &lt;div class=&quot;entry-meta&quot;&gt;
-                                                &lt;span class=&quot;meta-prep meta-prep-author&quot;&gt;&lt;?php _e( 'Posted on ', 'twentyten' ); ?&gt;&lt;/span&gt;
-                                                &lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; title=&quot;&lt;?php the_time(); ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;span class=&quot;entry-date&quot;&gt;&lt;?php echo get_the_date(); ?&gt;&lt;/span&gt;&lt;/a&gt;
-                                        &lt;/div&gt;&lt;!-- .entry-meta --&gt;
-
-                                        &lt;div class=&quot;entry-summary&quot;&gt;
-                                                &lt;?php the_excerpt( __( 'Continue reading &lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten' )  ); ?&gt;
-                                        &lt;/div&gt;&lt;!-- .entry-summary --&gt;
-
-                                        &lt;div class=&quot;entry-utility&quot;&gt;
-                                                &lt;span class=&quot;cat-links&quot;&gt;&lt;span class=&quot;entry-utility-prep entry-utility-prep-cat-links&quot;&gt;&lt;?php _e( 'Posted in ', 'twentyten' ); ?&gt;&lt;/span&gt;&lt;?php echo get_the_category_list( ', ' ); ?&gt;&lt;/span&gt;
-                                                &lt;span class=&quot;meta-sep&quot;&gt; | &lt;/span&gt;
-                                                &lt;?php the_tags( '&lt;span class=&quot;tag-links&quot;&gt;&lt;span class=&quot;entry-utility-prep entry-utility-prep-tag-links&quot;&gt;' . __('Tagged ', 'twentyten' ) . '&lt;/span&gt;', &quot;, &quot;, &quot;&lt;/span&gt;\n\t\t\t\t\t\t&lt;span class=\&quot;meta-sep\&quot;&gt;|&lt;/span&gt;\n&quot; ); ?&gt;
-                                                &lt;span class=&quot;comments-link&quot;&gt;&lt;?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?&gt;&lt;/span&gt;
-                                                &lt;?php edit_post_link( __( 'Edit', 'twentyten' ), &quot;&lt;span class=\&quot;meta-sep\&quot;&gt;|&lt;/span&gt;\n\t\t\t\t\t\t&lt;span class=\&quot;edit-link\&quot;&gt;&quot;, &quot;&lt;/span&gt;\n\t\t\t\t\t\n&quot; ); ?&gt;
-                                        &lt;/div&gt;&lt;!-- #entry-utility --&gt;
-                                &lt;/div&gt;&lt;!-- #post-&lt;?php the_ID(); ?&gt; --&gt;
-
-&lt;?php endwhile; ?&gt;
-
-&lt;?php global $wp_query; $total_pages = $wp_query-&gt;max_num_pages; if ( $total_pages &gt; 1 ) { ?&gt;
-                                &lt;div id=&quot;nav-below&quot; class=&quot;navigation&quot;&gt;
-                                        &lt;div class=&quot;nav-previous&quot;&gt;&lt;?php next_posts_link(__( '&lt;span class=&quot;meta-nav&quot;&gt;&amp;larr;&lt;/span&gt; Older posts', 'twentyten' )); ?&gt;&lt;/div&gt;
-                                        &lt;div class=&quot;nav-next&quot;&gt;&lt;?php previous_posts_link(__( 'Newer posts &lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten' )); ?&gt;&lt;/div&gt;
-                                &lt;/div&gt;&lt;!-- #nav-below --&gt;
-&lt;?php } ?&gt;
-
</del><span class="cx">                         &lt;/div&gt;&lt;!-- #content --&gt;
</span><span class="cx">                 &lt;/div&gt;&lt;!-- #container --&gt;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpcontentthemestwentytencategoryphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyten/category.php (13140 => 13141)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/category.php        2010-02-14 06:34:47 UTC (rev 13140)
+++ trunk/wp-content/themes/twentyten/category.php        2010-02-14 07:13:34 UTC (rev 13141)
</span><span class="lines">@@ -10,49 +10,8 @@
</span><span class="cx"> 
</span><span class="cx"> &lt;?php rewind_posts(); ?&gt;
</span><span class="cx"> 
</span><del>-&lt;?php global $wp_query; $total_pages = $wp_query-&gt;max_num_pages; if ( $total_pages &gt; 1 ) { ?&gt;
-                                &lt;div id=&quot;nav-above&quot; class=&quot;navigation&quot;&gt;
-                                        &lt;div class=&quot;nav-previous&quot;&gt;&lt;?php next_posts_link(__( '&lt;span class=&quot;meta-nav&quot;&gt;&amp;larr;&lt;/span&gt; Older posts', 'twentyten' )); ?&gt;&lt;/div&gt;
-                                        &lt;div class=&quot;nav-next&quot;&gt;&lt;?php previous_posts_link(__( 'Newer posts &lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten' )); ?&gt;&lt;/div&gt;
-                                &lt;/div&gt;&lt;!-- #nav-above --&gt;
-&lt;?php } ?&gt;
</del><ins>+&lt;?php include 'loop.php'; ?&gt;
</ins><span class="cx"> 
</span><del>-&lt;?php while ( have_posts() ) : the_post(); ?&gt;
-
-                                &lt;div id=&quot;post-&lt;?php the_ID(); ?&gt;&quot; &lt;?php post_class(); ?&gt;&gt;
-                                        &lt;h2 class=&quot;entry-title&quot;&gt;&lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; title=&quot;&lt;?php printf( esc_attr__('Permalink to %s', 'twentyten'), the_title_attribute('echo=0') ); ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h2&gt;
-
-                                        &lt;div class=&quot;entry-meta&quot;&gt;
-                                                &lt;span class=&quot;meta-prep meta-prep-author&quot;&gt;&lt;?php _e( 'Posted on ', 'twentyten' ); ?&gt;&lt;/span&gt;
-                                                &lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; title=&quot;&lt;?php the_time(); ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;span class=&quot;entry-date&quot;&gt;&lt;?php echo get_the_date(); ?&gt;&lt;/span&gt;&lt;/a&gt;
-                                                &lt;span class=&quot;meta-sep&quot;&gt;&lt;?php _e(' by ', 'twentyten'); ?&gt;&lt;/span&gt;
-                                                &lt;span class=&quot;author vcard&quot;&gt;&lt;a class=&quot;url fn n&quot; href=&quot;&lt;?php echo get_author_posts_url( $authordata-&gt;ID ); ?&gt;&quot; title=&quot;&lt;?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ); ?&gt;&quot;&gt;&lt;?php the_author(); ?&gt;&lt;/a&gt;&lt;/span&gt;
-                                        &lt;/div&gt;&lt;!-- .entry-meta --&gt;
-
-                                        &lt;div class=&quot;entry-summary&quot;&gt;
-                                                &lt;?php the_excerpt( __( 'Continue reading &lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten' ) ); ?&gt;
-                                        &lt;/div&gt;&lt;!-- .entry-summary --&gt;
-
-                                        &lt;div class=&quot;entry-utility&quot;&gt;
-&lt;?php if ( $cats_meow = cats_meow( ', ' ) ) : // Returns categories other than the one queried ?&gt;
-                                                &lt;span class=&quot;cat-links&quot;&gt;&lt;?php printf( __( 'Also posted in %s', 'twentyten' ), $cats_meow ); ?&gt;&lt;/span&gt;
-                                                &lt;span class=&quot;meta-sep&quot;&gt;&lt;?php _e( ' | ', 'twentyten' ); ?&gt;&lt;/span&gt;
-&lt;?php endif ?&gt;
-                                                &lt;?php the_tags( '&lt;span class=&quot;tag-links&quot;&gt;&lt;span class=&quot;entry-utility-prep entry-utility-prep-tag-links&quot;&gt;' . __('Tagged ', 'twentyten' ) . '&lt;/span&gt;', &quot;, &quot;, &quot;&lt;/span&gt;\n\t\t\t\t\t\t&lt;span class=\&quot;meta-sep\&quot;&gt;|&lt;/span&gt;\n&quot; ); ?&gt;
-                                                &lt;span class=&quot;comments-link&quot;&gt;&lt;?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?&gt;&lt;/span&gt;
-                                                &lt;?php edit_post_link( __( 'Edit', 'twentyten' ), &quot;&lt;span class=\&quot;meta-sep\&quot;&gt;|&lt;/span&gt;\n\t\t\t\t\t\t&lt;span class=\&quot;edit-link\&quot;&gt;&quot;, &quot;&lt;/span&gt;\n\t\t\t\t\t\n&quot; ); ?&gt;
-                                        &lt;/div&gt;&lt;!-- #entry-utility --&gt;
-                                &lt;/div&gt;&lt;!-- #post-&lt;?php the_ID(); ?&gt; --&gt;
-
-&lt;?php endwhile; ?&gt;
-
-&lt;?php global $wp_query; $total_pages = $wp_query-&gt;max_num_pages; if ( $total_pages &gt; 1 ) { ?&gt;
-                                &lt;div id=&quot;nav-below&quot; class=&quot;navigation&quot;&gt;
-                                        &lt;div class=&quot;nav-previous&quot;&gt;&lt;?php next_posts_link(__( '&lt;span class=&quot;meta-nav&quot;&gt;&amp;larr;&lt;/span&gt; Older posts', 'twentyten' )); ?&gt;&lt;/div&gt;
-                                        &lt;div class=&quot;nav-next&quot;&gt;&lt;?php previous_posts_link(__( 'Newer posts &lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten' )); ?&gt;&lt;/div&gt;
-                                &lt;/div&gt;&lt;!-- #nav-below --&gt;
-&lt;?php } ?&gt;
-
</del><span class="cx">                         &lt;/div&gt;&lt;!-- #content --&gt;
</span><span class="cx">                 &lt;/div&gt;&lt;!-- #container --&gt;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpcontentthemestwentytenfooterphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyten/footer.php (13140 => 13141)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/footer.php        2010-02-14 06:34:47 UTC (rev 13140)
+++ trunk/wp-content/themes/twentyten/footer.php        2010-02-14 07:13:34 UTC (rev 13141)
</span><span class="lines">@@ -6,7 +6,7 @@
</span><span class="cx"> &lt;?php get_sidebar( 'footer' ); ?&gt;
</span><span class="cx"> 
</span><span class="cx">                         &lt;div id=&quot;site-info&quot;&gt;
</span><del>-                                &lt;a href=&quot;&lt;?php echo home_url() ?&gt;/&quot; title=&quot;&lt;?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?&gt;&quot; rel=&quot;home&quot;&gt;&lt;?php bloginfo( 'name' ); ?&gt;&lt;/a&gt;
</del><ins>+                                &lt;a href=&quot;&lt;?php echo home_url('/') ?&gt;&quot; title=&quot;&lt;?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?&gt;&quot; rel=&quot;home&quot;&gt;&lt;?php bloginfo( 'name' ); ?&gt;&lt;/a&gt;
</ins><span class="cx">                         &lt;/div&gt;
</span><span class="cx"> 
</span><span class="cx">                         &lt;div id=&quot;site-generator&quot;&gt;
</span></span></pre></div>
<a id="trunkwpcontentthemestwentytenheaderphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyten/header.php (13140 => 13141)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/header.php        2010-02-14 06:34:47 UTC (rev 13140)
+++ trunk/wp-content/themes/twentyten/header.php        2010-02-14 07:13:34 UTC (rev 13141)
</span><span class="lines">@@ -39,14 +39,13 @@
</span><span class="cx">                 &lt;div id=&quot;masthead&quot;&gt;
</span><span class="cx"> 
</span><span class="cx">                         &lt;div id=&quot;branding&quot;&gt;
</span><del>-                                &lt;div id=&quot;site-title&quot;&gt;&lt;span&gt;&lt;a href=&quot;&lt;?php echo home_url(); ?&gt;/&quot; title=&quot;&lt;?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?&gt;&quot; rel=&quot;home&quot;&gt;&lt;?php bloginfo( 'name' ); ?&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
</del><ins>+                                &lt;div id=&quot;site-title&quot;&gt;&lt;span&gt;&lt;a href=&quot;&lt;?php echo home_url('/'); ?&gt;&quot; title=&quot;&lt;?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?&gt;&quot; rel=&quot;home&quot;&gt;&lt;?php bloginfo( 'name' ); ?&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
</ins><span class="cx">                                 &lt;div id=&quot;site-description&quot;&gt;&lt;?php bloginfo( 'description' ); ?&gt;&lt;/div&gt;
</span><span class="cx"> 
</span><span class="cx">                                 &lt;?php
</span><del>-                                        global $post;
-                                        if ( is_singular() &amp;&amp; has_post_thumbnail( $post-&gt;ID ) ) {
-                                                echo get_the_post_thumbnail( $post-&gt;ID, 'post-thumbnail' );
-                                        } else { ?&gt;
</del><ins>+                                if ( is_singular() &amp;&amp; has_post_thumbnail( $post-&gt;ID ) ) {
+                                        echo get_the_post_thumbnail( $post-&gt;ID, 'post-thumbnail' );
+                                } else { ?&gt;
</ins><span class="cx">                                         &lt;img src=&quot;&lt;?php header_image(); ?&gt;&quot; width=&quot;&lt;?php echo HEADER_IMAGE_WIDTH; ?&gt;&quot; height=&quot;&lt;?php echo HEADER_IMAGE_HEIGHT; ?&gt;&quot; alt=&quot;&quot; /&gt;
</span><span class="cx">                                 &lt;?php } ?&gt;
</span><span class="cx">                         &lt;/div&gt;&lt;!-- #branding --&gt;
</span></span></pre></div>
<a id="trunkwpcontentthemestwentytenindexphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyten/index.php (13140 => 13141)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/index.php        2010-02-14 06:34:47 UTC (rev 13140)
+++ trunk/wp-content/themes/twentyten/index.php        2010-02-14 07:13:34 UTC (rev 13141)
</span><span class="lines">@@ -3,101 +3,9 @@
</span><span class="cx">                 &lt;div id=&quot;container&quot;&gt;
</span><span class="cx">                         &lt;div id=&quot;content&quot;&gt;
</span><span class="cx"> 
</span><del>-&lt;?php global $wp_query; $total_pages = $wp_query-&gt;max_num_pages; if ( $total_pages &gt; 1 ) { ?&gt;
-                                &lt;div id=&quot;nav-above&quot; class=&quot;navigation&quot;&gt;
-                                        &lt;div class=&quot;nav-previous&quot;&gt;&lt;?php next_posts_link(__( '&lt;span class=&quot;meta-nav&quot;&gt;&amp;larr;&lt;/span&gt; Older posts', 'twentyten' )); ?&gt;&lt;/div&gt;
-                                        &lt;div class=&quot;nav-next&quot;&gt;&lt;?php previous_posts_link(__( 'Newer posts &lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten' )); ?&gt;&lt;/div&gt;
-                                &lt;/div&gt;&lt;!-- #nav-above --&gt;
-&lt;?php } ?&gt;
-
-    &lt;?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?&gt;
-    &lt;?php if ( in_category( 'Gallery' ) ) { ?&gt;
-            &lt;div id=&quot;post-&lt;?php the_ID(); ?&gt;&quot; &lt;?php post_class(); ?&gt;&gt;
-                        &lt;h2 class=&quot;entry-title&quot;&gt;&lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; title=&quot;&lt;?php printf( esc_attr__('Permalink to %s', 'twentyten'), the_title_attribute('echo=0') ); ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h2&gt;
-
-                        &lt;div class=&quot;entry-meta&quot;&gt;
-                                &lt;span class=&quot;meta-prep meta-prep-author&quot;&gt;&lt;?php _e( 'Posted on ', 'twentyten' ); ?&gt;&lt;/span&gt;
-                                &lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; title=&quot;&lt;?php the_time(); ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;span class=&quot;entry-date&quot;&gt;&lt;?php echo get_the_date(); ?&gt;&lt;/span&gt;&lt;/a&gt;
-                                &lt;span class=&quot;meta-sep&quot;&gt; &lt;?php _e( 'by ', 'twentyten' ); ?&gt; &lt;/span&gt;
-                                &lt;span class=&quot;author vcard&quot;&gt;&lt;a class=&quot;url fn n&quot; href=&quot;&lt;?php echo get_author_posts_url( $authordata-&gt;ID ); ?&gt;&quot; title=&quot;&lt;?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ); ?&gt;&quot;&gt;&lt;?php the_author(); ?&gt;&lt;/a&gt;&lt;/span&gt;
-                        &lt;/div&gt;&lt;!-- .entry-meta --&gt;
-
-                        &lt;div class=&quot;entry-content&quot;&gt;
-                                &lt;div class=&quot;gallery-thumb&quot;&gt;
-                                        &lt;a class=&quot;size-thumbnail&quot; href=&quot;&lt;?php the_permalink(); ?&gt;&quot;&gt;&lt;?php
-                                        $images =&amp; get_children( array('post_parent' =&gt; $post-&gt;ID, 'post_type' =&gt; 'attachment', 'post_mime_type' =&gt; 'image', 'orderby' =&gt; 'menu_order', 'order' =&gt; 'ASC', 'numberposts' =&gt; 999) );
-                                        $total_images = count($images);
-                                        $image = array_shift($images);
-                                        echo wp_get_attachment_image( $image-&gt;ID, 'thumbnail' );
-                                        ?&gt;&lt;/a&gt;
-                                &lt;/div&gt;
-                                &lt;p&gt;&lt;em&gt;&lt;?php printf( __('This gallery contains &lt;a %1$s&gt;%2$s photos&lt;/a&gt;.', 'twentyten'), 'href=&quot;' . get_permalink() . '&quot; title=&quot;' . sprintf( esc_attr__('Permalink to %s', 'twentyten'), the_title_attribute('echo=0') ) . '&quot; rel=&quot;bookmark&quot;', $total_images ); ?&gt;&lt;/em&gt;&lt;/p&gt;
-
-                                &lt;?php the_excerpt( '' ); ?&gt;
-                        &lt;/div&gt;&lt;!-- .entry-content --&gt;
-
-                        &lt;div class=&quot;entry-utility&quot;&gt;
-                                &lt;?php
-                                    $category_id = get_cat_ID( 'Gallery' );
-                                    $category_link = get_category_link( $category_id );
-                                ?&gt;
-                                &lt;a href=&quot;&lt;?php echo $category_link; ?&gt;&quot; title=&quot;&lt;?php esc_attr_e('View posts in the Gallery category', 'twentyten'); ?&gt;&quot;&gt;&lt;?php _e('More Galleries', 'twentyten'); ?&gt;&lt;/a&gt;
-                                &lt;span class=&quot;meta-sep&quot;&gt;&lt;?php __( ' | ', 'twentyten' ); ?&gt;&lt;/span&gt;
-                                &lt;span class=&quot;comments-link&quot;&gt;&lt;?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?&gt;&lt;/span&gt;
-                                &lt;?php edit_post_link( __( 'Edit', 'twentyten' ), &quot;&lt;span class=\&quot;meta-sep\&quot;&gt;|&lt;/span&gt;\n\t\t\t\t\t\t&lt;span class=\&quot;edit-link\&quot;&gt;&quot;, &quot;&lt;/span&gt;\n\t\t\t\t\t\n&quot; ); ?&gt;
-                        &lt;/div&gt;&lt;!-- #entry-utility --&gt;
-                &lt;/div&gt;
-
-
-        &lt;?php } elseif ( in_category( 'asides' ) ) { ?&gt;
-                &lt;div id=&quot;post-&lt;?php the_ID(); ?&gt;&quot; &lt;?php post_class(); ?&gt;&gt;
-                        &lt;div class=&quot;entry-content&quot;&gt;
-                                &lt;?php the_content( __( 'Continue&amp;nbsp;reading&amp;nbsp;&lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten' ) ); ?&gt;
-                        &lt;/div&gt;&lt;!-- .entry-content --&gt;
-
-                        &lt;div class=&quot;entry-utility&quot;&gt;
-                                &lt;span class=&quot;meta-prep meta-prep-author&quot;&gt;&lt;?php _e( 'Posted on ', 'twentyten' ); ?&gt;&lt;/span&gt;
-                                &lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; title=&quot;&lt;?php the_time(); ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;span class=&quot;entry-date&quot;&gt;&lt;?php echo get_the_date(); ?&gt;&lt;/span&gt;&lt;/a&gt;
-                                &lt;span class=&quot;meta-sep&quot;&gt; &lt;?php _e( 'by ', 'twentyten' ); ?&gt; &lt;/span&gt;
-                                &lt;span class=&quot;author vcard&quot;&gt;&lt;a class=&quot;url fn n&quot; href=&quot;&lt;?php echo get_author_posts_url( $authordata-&gt;ID ); ?&gt;&quot; title=&quot;&lt;?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ); ?&gt;&quot;&gt;&lt;?php the_author(); ?&gt;&lt;/a&gt;&lt;/span&gt;
-                                &lt;span class=&quot;meta-sep&quot;&gt;&lt;?php __( ' | ', 'twentyten' ); ?&gt;&lt;/span&gt;
-                                &lt;span class=&quot;comments-link&quot;&gt;&lt;?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?&gt;&lt;/span&gt;
-                                &lt;?php edit_post_link( __( 'Edit', 'twentyten' ), &quot;&lt;span class=\&quot;meta-sep\&quot;&gt;|&lt;/span&gt;\n\t\t\t\t\t\t&lt;span class=\&quot;edit-link\&quot;&gt;&quot;, &quot;&lt;/span&gt;\n\t\t\t\t\t\n&quot; ); ?&gt;
-                        &lt;/div&gt;&lt;!-- #entry-utility --&gt;
-                &lt;/div&gt;&lt;!-- #post-&lt;?php the_ID(); ?&gt; --&gt;
-
-
-    &lt;?php } else { ?&gt;
-                &lt;div id=&quot;post-&lt;?php the_ID(); ?&gt;&quot; &lt;?php post_class(); ?&gt;&gt;
-                        &lt;h2 class=&quot;entry-title&quot;&gt;&lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; title=&quot;&lt;?php printf( esc_attr__('Permalink to %s', 'twentyten'), the_title_attribute('echo=0') ); ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h2&gt;
-
-                        &lt;div class=&quot;entry-meta&quot;&gt;
-                                &lt;span class=&quot;meta-prep meta-prep-author&quot;&gt;&lt;?php _e('Posted on ', 'twentyten'); ?&gt;&lt;/span&gt;
-                                &lt;a href=&quot;&lt;?php
-the_permalink(); ?&gt;&quot; title=&quot;&lt;?php the_time(); ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;span class=&quot;entry-date&quot;&gt;&lt;?php echo get_the_date(); ?&gt;&lt;/span&gt;&lt;/a&gt;
-                                &lt;span class=&quot;meta-sep&quot;&gt;&lt;?php _e( ' by ', 'twentyten' ); ?&gt;&lt;/span&gt;
-                                &lt;span class=&quot;author vcard&quot;&gt;&lt;a class=&quot;url fn n&quot; href=&quot;&lt;?php echo get_author_posts_url( $authordata-&gt;ID ); ?&gt;&quot; title=&quot;&lt;?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ); ?&gt;&quot;&gt;&lt;?php the_author(); ?&gt;&lt;/a&gt;&lt;/span&gt;
-                        &lt;/div&gt;&lt;!-- .entry-meta --&gt;
-
-                        &lt;div class=&quot;entry-content&quot;&gt;
-                                &lt;?php the_content( __( 'Continue&amp;nbsp;reading&amp;nbsp;&lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten' ) ); ?&gt;
-                                &lt;?php wp_link_pages('before=&lt;div class=&quot;page-link&quot;&gt;' . __( 'Pages:', 'twentyten' ) . '&amp;after=&lt;/div&gt;'); ?&gt;
-                        &lt;/div&gt;&lt;!-- .entry-content --&gt;
-
-                        &lt;div class=&quot;entry-utility&quot;&gt;
-                                &lt;span class=&quot;cat-links&quot;&gt;&lt;span class=&quot;entry-utility-prep entry-utility-prep-cat-links&quot;&gt;&lt;?php _e( 'Posted in ', 'twentyten' ); ?&gt;&lt;/span&gt;&lt;?php echo get_the_category_list( ', ' ); ?&gt;&lt;/span&gt;
-                                &lt;span class=&quot;meta-sep&quot;&gt;&lt;?php __( ' | ', 'twentyten' ); ?&gt;&lt;/span&gt;
-                                &lt;?php the_tags( '&lt;span class=&quot;tag-links&quot;&gt;&lt;span class=&quot;entry-utility-prep entry-utility-prep-tag-links&quot;&gt;' . __('Tagged ', 'twentyten' ) . '&lt;/span&gt;', &quot;, &quot;, &quot;&lt;/span&gt;\n\t\t\t\t\t\t&lt;span class=\&quot;meta-sep\&quot;&gt;|&lt;/span&gt;\n&quot; ); ?&gt;
-                                &lt;span class=&quot;comments-link&quot;&gt;&lt;?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?&gt;&lt;/span&gt;
-                                &lt;?php edit_post_link( __( 'Edit', 'twentyten' ), &quot;&lt;span class=\&quot;meta-sep\&quot;&gt;|&lt;/span&gt;\n\t\t\t\t\t\t&lt;span class=\&quot;edit-link\&quot;&gt;&quot;, &quot;&lt;/span&gt;\n\t\t\t\t\t\n&quot; ); ?&gt;
-                        &lt;/div&gt;&lt;!-- #entry-utility --&gt;
-                &lt;/div&gt;&lt;!-- #post-&lt;?php the_ID(); ?&gt; --&gt;
-
-                &lt;?php comments_template( '', true ); ?&gt;
-
-    &lt;?php } ?&gt;
-    &lt;?php endwhile; ?&gt;
-    &lt;?php else : ?&gt;
</del><ins>+    &lt;?php if ( have_posts() ) : 
+                include 'loop.php';
+    else : ?&gt;
</ins><span class="cx">                 &lt;h2&gt;&lt;?php _e( 'Not Found', 'twentyten' ); ?&gt;&lt;/h2&gt;
</span><span class="cx">                 &lt;div class=&quot;entry-content&quot;&gt;
</span><span class="cx">                         &lt;p&gt;&lt;?php _e( 'Apologies, but we were unable to find what you were looking for. Perhaps searching will help.', 'twentyten' ); ?&gt;&lt;/p&gt;
</span><span class="lines">@@ -105,13 +13,6 @@
</span><span class="cx">                 &lt;/div&gt;
</span><span class="cx">     &lt;?php endif; ?&gt;
</span><span class="cx"> 
</span><del>-&lt;?php global $wp_query; $total_pages = $wp_query-&gt;max_num_pages; if ( $total_pages &gt; 1 ) { ?&gt;
-                                &lt;div id=&quot;nav-below&quot; class=&quot;navigation&quot;&gt;
-                                        &lt;div class=&quot;nav-previous&quot;&gt;&lt;?php next_posts_link(__( '&lt;span class=&quot;meta-nav&quot;&gt;&amp;larr;&lt;/span&gt; Older posts', 'twentyten' )); ?&gt;&lt;/div&gt;
-                                        &lt;div class=&quot;nav-next&quot;&gt;&lt;?php previous_posts_link(__( 'Newer posts &lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten' )); ?&gt;&lt;/div&gt;
-                                &lt;/div&gt;&lt;!-- #nav-below --&gt;
-&lt;?php } ?&gt;
-
</del><span class="cx">                         &lt;/div&gt;&lt;!-- #content --&gt;
</span><span class="cx">                 &lt;/div&gt;&lt;!-- #container --&gt;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpcontentthemestwentytenloopphp"></a>
<div class="addfile"><h4>Added: trunk/wp-content/themes/twentyten/loop.php (0 => 13141)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/loop.php                                (rev 0)
+++ trunk/wp-content/themes/twentyten/loop.php        2010-02-14 07:13:34 UTC (rev 13141)
</span><span class="lines">@@ -0,0 +1,107 @@
</span><ins>+&lt;?php if ( $wp_query-&gt;max_num_pages &gt; 1 ) { ?&gt;
+        &lt;div id=&quot;nav-above&quot; class=&quot;navigation&quot;&gt;
+                &lt;div class=&quot;nav-previous&quot;&gt;&lt;?php next_posts_link(__( '&lt;span class=&quot;meta-nav&quot;&gt;&amp;larr;&lt;/span&gt; Older posts', 'twentyten' )); ?&gt;&lt;/div&gt;
+                &lt;div class=&quot;nav-next&quot;&gt;&lt;?php previous_posts_link(__( 'Newer posts &lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten' )); ?&gt;&lt;/div&gt;
+        &lt;/div&gt;&lt;!-- #nav-above --&gt;
+&lt;?php } ?&gt;
+
+&lt;?php while ( have_posts() ) : the_post(); ?&gt;
+&lt;?php if ( in_category( 'Gallery' ) ) { ?&gt;
+        &lt;div id=&quot;post-&lt;?php the_ID(); ?&gt;&quot; &lt;?php post_class(); ?&gt;&gt;
+                &lt;h2 class=&quot;entry-title&quot;&gt;&lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; title=&quot;&lt;?php printf( esc_attr__('Permalink to %s', 'twentyten'), the_title_attribute('echo=0') ); ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h2&gt;
+
+                &lt;div class=&quot;entry-meta&quot;&gt;
+                        &lt;span class=&quot;meta-prep meta-prep-author&quot;&gt;&lt;?php _e( 'Posted on ', 'twentyten' ); ?&gt;&lt;/span&gt;
+                        &lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; title=&quot;&lt;?php the_time(); ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;span class=&quot;entry-date&quot;&gt;&lt;?php echo get_the_date(); ?&gt;&lt;/span&gt;&lt;/a&gt;
+                        &lt;span class=&quot;meta-sep&quot;&gt; &lt;?php _e( 'by ', 'twentyten' ); ?&gt; &lt;/span&gt;
+                        &lt;span class=&quot;author vcard&quot;&gt;&lt;a class=&quot;url fn n&quot; href=&quot;&lt;?php echo get_author_posts_url( $authordata-&gt;ID ); ?&gt;&quot; title=&quot;&lt;?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ); ?&gt;&quot;&gt;&lt;?php the_author(); ?&gt;&lt;/a&gt;&lt;/span&gt;
+                &lt;/div&gt;&lt;!-- .entry-meta --&gt;
+
+                &lt;div class=&quot;entry-content&quot;&gt;
+                        &lt;div class=&quot;gallery-thumb&quot;&gt;
+                                &lt;a class=&quot;size-thumbnail&quot; href=&quot;&lt;?php the_permalink(); ?&gt;&quot;&gt;&lt;?php
+                                $images =&amp; get_children( array('post_parent' =&gt; $post-&gt;ID, 'post_type' =&gt; 'attachment', 'post_mime_type' =&gt; 'image', 'orderby' =&gt; 'menu_order', 'order' =&gt; 'ASC', 'numberposts' =&gt; 999) );
+                                $total_images = count($images);
+                                $image = array_shift($images);
+                                echo wp_get_attachment_image( $image-&gt;ID, 'thumbnail' );
+                                ?&gt;&lt;/a&gt;
+                        &lt;/div&gt;
+                        &lt;p&gt;&lt;em&gt;&lt;?php printf( __('This gallery contains &lt;a %1$s&gt;%2$s photos&lt;/a&gt;.', 'twentyten'), 'href=&quot;' . get_permalink() . '&quot; title=&quot;' . sprintf( esc_attr__('Permalink to %s', 'twentyten'), the_title_attribute('echo=0') ) . '&quot; rel=&quot;bookmark&quot;', $total_images ); ?&gt;&lt;/em&gt;&lt;/p&gt;
+
+                        &lt;?php the_excerpt( '' ); ?&gt;
+                &lt;/div&gt;&lt;!-- .entry-content --&gt;
+
+                &lt;div class=&quot;entry-utility&quot;&gt;
+                        &lt;?php
+                                $category_id = get_cat_ID( 'Gallery' );
+                                $category_link = get_category_link( $category_id );
+                        ?&gt;
+                        &lt;a href=&quot;&lt;?php echo $category_link; ?&gt;&quot; title=&quot;&lt;?php esc_attr_e('View posts in the Gallery category', 'twentyten'); ?&gt;&quot;&gt;&lt;?php _e('More Galleries', 'twentyten'); ?&gt;&lt;/a&gt;
+                        &lt;span class=&quot;meta-sep&quot;&gt;&lt;?php __( ' | ', 'twentyten' ); ?&gt;&lt;/span&gt;
+                        &lt;span class=&quot;comments-link&quot;&gt;&lt;?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?&gt;&lt;/span&gt;
+                        &lt;?php edit_post_link( __( 'Edit', 'twentyten' ), &quot;&lt;span class=\&quot;meta-sep\&quot;&gt;|&lt;/span&gt;\n\t\t\t\t\t\t&lt;span class=\&quot;edit-link\&quot;&gt;&quot;, &quot;&lt;/span&gt;\n\t\t\t\t\t\n&quot; ); ?&gt;
+                &lt;/div&gt;&lt;!-- #entry-utility --&gt;
+        &lt;/div&gt;
+
+
+&lt;?php } elseif ( in_category( 'asides' ) ) { ?&gt;
+        &lt;div id=&quot;post-&lt;?php the_ID(); ?&gt;&quot; &lt;?php post_class(); ?&gt;&gt;
+                &lt;div class=&quot;entry-content&quot;&gt;
+                        &lt;?php the_content( __( 'Continue&amp;nbsp;reading&amp;nbsp;&lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten' ) ); ?&gt;
+                &lt;/div&gt;&lt;!-- .entry-content --&gt;
+
+                &lt;div class=&quot;entry-utility&quot;&gt;
+                        &lt;span class=&quot;meta-prep meta-prep-author&quot;&gt;&lt;?php _e( 'Posted on ', 'twentyten' ); ?&gt;&lt;/span&gt;
+                        &lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; title=&quot;&lt;?php the_time(); ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;span class=&quot;entry-date&quot;&gt;&lt;?php echo get_the_date(); ?&gt;&lt;/span&gt;&lt;/a&gt;
+                        &lt;span class=&quot;meta-sep&quot;&gt; &lt;?php _e( ' by ', 'twentyten' ); ?&gt; &lt;/span&gt;
+                        &lt;span class=&quot;author vcard&quot;&gt;&lt;a class=&quot;url fn n&quot; href=&quot;&lt;?php echo get_author_posts_url( $authordata-&gt;ID ); ?&gt;&quot; title=&quot;&lt;?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ); ?&gt;&quot;&gt;&lt;?php the_author(); ?&gt;&lt;/a&gt;&lt;/span&gt;
+                        &lt;span class=&quot;meta-sep&quot;&gt;&lt;?php __( ' | ', 'twentyten' ); ?&gt;&lt;/span&gt;
+                        &lt;span class=&quot;comments-link&quot;&gt;&lt;?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?&gt;&lt;/span&gt;
+                        &lt;?php edit_post_link( __( 'Edit', 'twentyten' ), &quot;&lt;span class=\&quot;meta-sep\&quot;&gt;|&lt;/span&gt;\n\t\t\t\t\t\t&lt;span class=\&quot;edit-link\&quot;&gt;&quot;, &quot;&lt;/span&gt;\n\t\t\t\t\t\n&quot; ); ?&gt;
+                &lt;/div&gt;&lt;!-- #entry-utility --&gt;
+        &lt;/div&gt;&lt;!-- #post-&lt;?php the_ID(); ?&gt; --&gt;
+
+
+&lt;?php } else { ?&gt;
+        &lt;div id=&quot;post-&lt;?php the_ID(); ?&gt;&quot; &lt;?php post_class(); ?&gt;&gt;
+                &lt;h2 class=&quot;entry-title&quot;&gt;&lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; title=&quot;&lt;?php printf( esc_attr__('Permalink to %s', 'twentyten'), the_title_attribute('echo=0') ); ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h2&gt;
+
+                &lt;div class=&quot;entry-meta&quot;&gt;
+                        &lt;span class=&quot;meta-prep meta-prep-author&quot;&gt;&lt;?php _e('Posted on ', 'twentyten'); ?&gt;&lt;/span&gt;
+                        &lt;a href=&quot;&lt;?php
+the_permalink(); ?&gt;&quot; title=&quot;&lt;?php the_time(); ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;span class=&quot;entry-date&quot;&gt;&lt;?php echo get_the_date(); ?&gt;&lt;/span&gt;&lt;/a&gt;
+                        &lt;span class=&quot;meta-sep&quot;&gt;&lt;?php _e( ' by ', 'twentyten' ); ?&gt;&lt;/span&gt;
+                        &lt;span class=&quot;author vcard&quot;&gt;&lt;a class=&quot;url fn n&quot; href=&quot;&lt;?php echo get_author_posts_url( $authordata-&gt;ID ); ?&gt;&quot; title=&quot;&lt;?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ); ?&gt;&quot;&gt;&lt;?php the_author(); ?&gt;&lt;/a&gt;&lt;/span&gt;
+                &lt;/div&gt;&lt;!-- .entry-meta --&gt;
+
+&lt;?php if ( is_archive() || is_search() ) : //Only display Excerpts for archives &amp; search ?&gt;
+                &lt;div class=&quot;entry-summary&quot;&gt;
+                        &lt;?php the_excerpt( __( 'Continue reading &lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten' ) ); ?&gt;
+                &lt;/div&gt;&lt;!-- .entry-summary --&gt;
+&lt;?php else : ?&gt;
+                &lt;div class=&quot;entry-content&quot;&gt;
+                        &lt;?php the_content( __( 'Continue&amp;nbsp;reading&amp;nbsp;&lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten' ) ); ?&gt;
+                        &lt;?php wp_link_pages('before=&lt;div class=&quot;page-link&quot;&gt;' . __( 'Pages:', 'twentyten' ) . '&amp;after=&lt;/div&gt;'); ?&gt;
+                &lt;/div&gt;&lt;!-- .entry-content --&gt;
+&lt;?php endif; ?&gt;
+
+                &lt;div class=&quot;entry-utility&quot;&gt;
+                        &lt;span class=&quot;cat-links&quot;&gt;&lt;span class=&quot;entry-utility-prep entry-utility-prep-cat-links&quot;&gt;&lt;?php _e( 'Posted in ', 'twentyten' ); ?&gt;&lt;/span&gt;&lt;?php echo get_the_category_list( ', ' ); ?&gt;&lt;/span&gt;
+                        &lt;span class=&quot;meta-sep&quot;&gt;&lt;?php __( ' | ', 'twentyten' ); ?&gt;&lt;/span&gt;
+                        &lt;?php the_tags( '&lt;span class=&quot;tag-links&quot;&gt;&lt;span class=&quot;entry-utility-prep entry-utility-prep-tag-links&quot;&gt;' . __('Tagged ', 'twentyten' ) . '&lt;/span&gt;', &quot;, &quot;, &quot;&lt;/span&gt;\n\t\t\t\t\t\t&lt;span class=\&quot;meta-sep\&quot;&gt;|&lt;/span&gt;\n&quot; ); ?&gt;
+                        &lt;span class=&quot;comments-link&quot;&gt;&lt;?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?&gt;&lt;/span&gt;
+                        &lt;?php edit_post_link( __( 'Edit', 'twentyten' ), &quot;&lt;span class=\&quot;meta-sep\&quot;&gt;|&lt;/span&gt;\n\t\t\t\t\t\t&lt;span class=\&quot;edit-link\&quot;&gt;&quot;, &quot;&lt;/span&gt;\n\t\t\t\t\t\n&quot; ); ?&gt;
+                &lt;/div&gt;&lt;!-- #entry-utility --&gt;
+        &lt;/div&gt;&lt;!-- #post-&lt;?php the_ID(); ?&gt; --&gt;
+
+        &lt;?php comments_template( '', true ); ?&gt;
+
+&lt;?php } ?&gt;
+&lt;?php endwhile; ?&gt;
+
+&lt;?php if (  $wp_query-&gt;max_num_pages &gt; 1 ) { ?&gt;
+                                &lt;div id=&quot;nav-below&quot; class=&quot;navigation&quot;&gt;
+                                        &lt;div class=&quot;nav-previous&quot;&gt;&lt;?php next_posts_link(__( '&lt;span class=&quot;meta-nav&quot;&gt;&amp;larr;&lt;/span&gt; Older posts', 'twentyten' )); ?&gt;&lt;/div&gt;
+                                        &lt;div class=&quot;nav-next&quot;&gt;&lt;?php previous_posts_link(__( 'Newer posts &lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten' )); ?&gt;&lt;/div&gt;
+                                &lt;/div&gt;&lt;!-- #nav-below --&gt;
+&lt;?php } ?&gt;
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpcontentthemestwentytensearchphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyten/search.php (13140 => 13141)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/search.php        2010-02-14 06:34:47 UTC (rev 13140)
+++ trunk/wp-content/themes/twentyten/search.php        2010-02-14 07:13:34 UTC (rev 13141)
</span><span class="lines">@@ -4,57 +4,9 @@
</span><span class="cx">                         &lt;div id=&quot;content&quot;&gt;
</span><span class="cx"> 
</span><span class="cx"> &lt;?php if ( have_posts() ) : ?&gt;
</span><del>-
</del><span class="cx">                                 &lt;h1 class=&quot;page-title&quot;&gt;&lt;?php _e( 'Search Results for: ', 'twentyten' ); ?&gt;&lt;span&gt;&lt;?php the_search_query(); ?&gt;&lt;/span&gt;&lt;/h1&gt;
</span><del>-
-&lt;?php global $wp_query; $total_pages = $wp_query-&gt;max_num_pages; if ( $total_pages &gt; 1 ) { ?&gt;
-                                &lt;div id=&quot;nav-above&quot; class=&quot;navigation&quot;&gt;
-                                        &lt;div class=&quot;nav-previous&quot;&gt;&lt;?php next_posts_link(__( '&lt;span class=&quot;meta-nav&quot;&gt;&amp;larr;&lt;/span&gt; Older posts', 'twentyten' )); ?&gt;&lt;/div&gt;
-                                        &lt;div class=&quot;nav-next&quot;&gt;&lt;?php previous_posts_link(__( 'Newer posts &lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten' )); ?&gt;&lt;/div&gt;
-                                &lt;/div&gt;&lt;!-- #nav-above --&gt;
-&lt;?php } ?&gt;
-
-&lt;?php while ( have_posts() ) : the_post(); ?&gt;
-
-                                &lt;div id=&quot;post-&lt;?php the_ID(); ?&gt;&quot; &lt;?php post_class(); ?&gt;&gt;
-                                        &lt;h2 class=&quot;entry-title&quot;&gt;&lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; title=&quot;&lt;?php printf( esc_attr__('Permalink to %s', 'twentyten'), the_title_attribute('echo=0') ); ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h2&gt;
-
-&lt;?php if ( $post-&gt;post_type != 'page' ) : ?&gt;
-                                        &lt;div class=&quot;entry-meta&quot;&gt;
-                                                &lt;span class=&quot;meta-prep meta-prep-author&quot;&gt;&lt;?php _e( 'Posted on ', 'twentyten' ); ?&gt;&lt;/span&gt;
-                                                &lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; title=&quot;&lt;?php the_time(); ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;span class=&quot;entry-date&quot;&gt;&lt;?php echo get_the_date(); ?&gt;&lt;/span&gt;&lt;/a&gt;
-                                                &lt;span class=&quot;meta-sep&quot;&gt; &lt;?php _e( 'by ', 'twentyten' ); ?&gt; &lt;/span&gt;
-                                                &lt;span class=&quot;author vcard&quot;&gt;&lt;a class=&quot;url fn n&quot; href=&quot;&lt;?php echo get_author_posts_url( $authordata-&gt;ID ); ?&gt;&quot; title=&quot;&lt;?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ); ?&gt;&quot;&gt;&lt;?php the_author(); ?&gt;&lt;/a&gt;&lt;/span&gt;
-                                        &lt;/div&gt;&lt;!-- .entry-meta --&gt;
-&lt;?php endif; ?&gt;
-
-                                        &lt;div class=&quot;entry-summary&quot;&gt;
-                                                &lt;?php the_excerpt( __( 'Continue reading &lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten' ) ); ?&gt;
-                                                &lt;?php wp_link_pages( 'before=&lt;div class=&quot;page-link&quot;&gt;' . __( 'Pages:', 'twentyten' ) . '&amp;after=&lt;/div&gt;' ); ?&gt;
-                                        &lt;/div&gt;&lt;!-- .entry-summary --&gt;
-
-&lt;?php if ( $post-&gt;post_type != 'page' ) : ?&gt;
-                                        &lt;div class=&quot;entry-utility&quot;&gt;
-                                                &lt;span class=&quot;cat-links&quot;&gt;&lt;span class=&quot;entry-utility-prep entry-utility-prep-cat-links&quot;&gt;&lt;?php _e( 'Posted in ', 'twentyten' ); ?&gt;&lt;/span&gt;&lt;?php echo get_the_category_list(', '); ?&gt;&lt;/span&gt;
-                                                &lt;span class=&quot;meta-sep&quot;&gt; | &lt;/span&gt;
-                                                &lt;?php the_tags( '&lt;span class=&quot;tag-links&quot;&gt;&lt;span class=&quot;entry-utility-prep entry-utility-prep-tag-links&quot;&gt;' . __('Tagged ', 'twentyten' ) . '&lt;/span&gt;', &quot;, &quot;, &quot;&lt;/span&gt;\n\t\t\t\t\t\t&lt;span class=\&quot;meta-sep\&quot;&gt;|&lt;/span&gt;\n&quot; ); ?&gt;
-                                                &lt;span class=&quot;comments-link&quot;&gt;&lt;?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?&gt;&lt;/span&gt;
-                                                &lt;?php edit_post_link( __( 'Edit', 'twentyten' ), &quot;&lt;span class=\&quot;meta-sep\&quot;&gt;|&lt;/span&gt;\n\t\t\t\t\t\t&lt;span class=\&quot;edit-link\&quot;&gt;&quot;, &quot;&lt;/span&gt;\n\t\t\t\t\t\n&quot; ); ?&gt;
-                                        &lt;/div&gt;&lt;!-- #entry-utility --&gt;
-&lt;?php endif; ?&gt;
-                                &lt;/div&gt;&lt;!-- #post-&lt;?php the_ID(); ?&gt; --&gt;
-
-&lt;?php endwhile; ?&gt;
-
-&lt;?php global $wp_query; $total_pages = $wp_query-&gt;max_num_pages; if ( $total_pages &gt; 1 ) { ?&gt;
-                                &lt;div id=&quot;nav-below&quot; class=&quot;navigation&quot;&gt;
-                                        &lt;div class=&quot;nav-previous&quot;&gt;&lt;?php next_posts_link(__( '&lt;span class=&quot;meta-nav&quot;&gt;&amp;larr;&lt;/span&gt; Older posts', 'twentyten' )); ?&gt;&lt;/div&gt;
-                                        &lt;div class=&quot;nav-next&quot;&gt;&lt;?php previous_posts_link(__( 'Newer posts &lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten' )); ?&gt;&lt;/div&gt;
-                                &lt;/div&gt;&lt;!-- #nav-below --&gt;
-&lt;?php } ?&gt;
-
</del><ins>+        &lt;?php include 'loop.php'; ?&gt;
</ins><span class="cx"> &lt;?php else : ?&gt;
</span><del>-
</del><span class="cx">                                 &lt;div id=&quot;post-0&quot; class=&quot;post no-results not-found&quot;&gt;
</span><span class="cx">                                         &lt;h2 class=&quot;entry-title&quot;&gt;&lt;?php _e( 'Nothing Found', 'twentyten' ); ?&gt;&lt;/h2&gt;
</span><span class="cx">                                         &lt;div class=&quot;entry-content&quot;&gt;
</span><span class="lines">@@ -62,9 +14,7 @@
</span><span class="cx">                                                 &lt;?php get_search_form(); ?&gt;
</span><span class="cx">                                         &lt;/div&gt;&lt;!-- .entry-content --&gt;
</span><span class="cx">                                 &lt;/div&gt;
</span><del>-
</del><span class="cx"> &lt;?php endif; ?&gt;
</span><del>-
</del><span class="cx">                         &lt;/div&gt;&lt;!-- #content --&gt;
</span><span class="cx">                 &lt;/div&gt;&lt;!-- #container --&gt;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpcontentthemestwentytentagphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyten/tag.php (13140 => 13141)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/tag.php        2010-02-14 06:34:47 UTC (rev 13140)
+++ trunk/wp-content/themes/twentyten/tag.php        2010-02-14 07:13:34 UTC (rev 13141)
</span><span class="lines">@@ -9,49 +9,8 @@
</span><span class="cx"> 
</span><span class="cx"> &lt;?php rewind_posts(); ?&gt;
</span><span class="cx"> 
</span><del>-&lt;?php global $wp_query; $total_pages = $wp_query-&gt;max_num_pages; if ( $total_pages &gt; 1 ) { ?&gt;
-                                &lt;div id=&quot;nav-above&quot; class=&quot;navigation&quot;&gt;
-                                        &lt;div class=&quot;nav-previous&quot;&gt;&lt;?php next_posts_link(__( '&lt;span class=&quot;meta-nav&quot;&gt;&amp;larr;&lt;/span&gt; Older posts', 'twentyten' )); ?&gt;&lt;/div&gt;
-                                        &lt;div class=&quot;nav-next&quot;&gt;&lt;?php previous_posts_link(__( 'Newer posts &lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten' )); ?&gt;&lt;/div&gt;
-                                &lt;/div&gt;&lt;!-- #nav-above --&gt;
-&lt;?php } ?&gt;
</del><ins>+&lt;?php include 'loop.php'; ?&gt;
</ins><span class="cx"> 
</span><del>-&lt;?php while ( have_posts() ) : the_post(); ?&gt;
-
-                                &lt;div id=&quot;post-&lt;?php the_ID(); ?&gt;&quot; &lt;?php post_class(); ?&gt;&gt;
-                                        &lt;h2 class=&quot;entry-title&quot;&gt;&lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; title=&quot;&lt;?php printf( esc_attr__('Permalink to %s', 'twentyten'), the_title_attribute('echo=0') ); ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h2&gt;
-
-                                        &lt;div class=&quot;entry-meta&quot;&gt;
-                                                &lt;span class=&quot;meta-prep meta-prep-author&quot;&gt;&lt;?php _e( 'Posted on ', 'twentyten' ); ?&gt;&lt;/span&gt;
-                                                &lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; title=&quot;&lt;?php the_time(); ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;span class=&quot;entry-date&quot;&gt;&lt;?php echo get_the_date(); ?&gt;&lt;/span&gt;&lt;/a&gt;
-                                                &lt;span class=&quot;meta-sep&quot;&gt;&lt;?php _e( ' by ', 'twentyten' ); ?&gt;&lt;/span&gt;
-                                                &lt;span class=&quot;author vcard&quot;&gt;&lt;a class=&quot;url fn n&quot; href=&quot;&lt;?php echo get_author_posts_url( $authordata-&gt;ID ); ?&gt;&quot; title=&quot;&lt;?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ); ?&gt;&quot;&gt;&lt;?php the_author(); ?&gt;&lt;/a&gt;&lt;/span&gt;
-                                        &lt;/div&gt;&lt;!-- .entry-meta --&gt;
-
-                                        &lt;div class=&quot;entry-summary&quot;&gt;
-                                                &lt;?php the_excerpt( __( 'Continue reading &lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten' ) ); ?&gt;
-                                        &lt;/div&gt;&lt;!-- .entry-summary --&gt;
-
-                                        &lt;div class=&quot;entry-utility&quot;&gt;
-                                                &lt;span class=&quot;cat-links&quot;&gt;&lt;span class=&quot;entry-utility-prep entry-utility-prep-cat-links&quot;&gt;&lt;?php _e( 'Posted in ', 'twentyten' ); ?&gt;&lt;/span&gt;&lt;?php echo get_the_category_list( ', ' ); ?&gt;&lt;/span&gt;
-                                                &lt;span class=&quot;meta-sep&quot;&gt;&lt;?php _e( ' | ', 'twentyten' ); ?&gt;&lt;/span&gt;
-&lt;?php if ( $tag_ur_it = tag_ur_it(', ') ) : // Returns tags other than the one queried ?&gt;
-                                                &lt;span class=&quot;tag-links&quot;&gt;&lt;?php printf( __( 'Also tagged %s', 'twentyten' ), $tag_ur_it ); ?&gt;&lt;/span&gt;
-&lt;?php endif; ?&gt;
-                                                &lt;span class=&quot;comments-link&quot;&gt;&lt;?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?&gt;&lt;/span&gt;
-                                                &lt;?php edit_post_link( __( 'Edit', 'twentyten' ), &quot;&lt;span class=\&quot;meta-sep\&quot;&gt;|&lt;/span&gt;\n\t\t\t\t\t\t&lt;span class=\&quot;edit-link\&quot;&gt;&quot;, &quot;&lt;/span&gt;\n\t\t\t\t\t\n&quot; ); ?&gt;
-                                        &lt;/div&gt;&lt;!-- #entry-utility --&gt;
-                                &lt;/div&gt;&lt;!-- #post-&lt;?php the_ID(); ?&gt; --&gt;
-
-&lt;?php endwhile; ?&gt;
-
-&lt;?php global $wp_query; $total_pages = $wp_query-&gt;max_num_pages; if ( $total_pages &gt; 1 ) { ?&gt;
-                                &lt;div id=&quot;nav-below&quot; class=&quot;navigation&quot;&gt;
-                                        &lt;div class=&quot;nav-previous&quot;&gt;&lt;?php next_posts_link(__( '&lt;span class=&quot;meta-nav&quot;&gt;&amp;larr;&lt;/span&gt; Older posts', 'twentyten' )); ?&gt;&lt;/div&gt;
-                                        &lt;div class=&quot;nav-next&quot;&gt;&lt;?php previous_posts_link(__( 'Newer posts &lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten' )); ?&gt;&lt;/div&gt;
-                                &lt;/div&gt;&lt;!-- #nav-below --&gt;
-&lt;?php } ?&gt;
-
</del><span class="cx">                         &lt;/div&gt;&lt;!-- #content --&gt;
</span><span class="cx">                 &lt;/div&gt;&lt;!-- #container --&gt;
</span><span class="cx"> 
</span></span></pre>
</div>
</div>

</body>
</html>