diff --git a/wp-content/themes/twentyten/archive.php b/wp-content/themes/twentyten/archive.php
index c9a3e2cfd..d8c1e56a0 100644
--- a/wp-content/themes/twentyten/archive.php
+++ b/wp-content/themes/twentyten/archive.php
@@ -11,52 +11,13 @@
%s', 'twentyten' ), get_the_date('F Y') ); ?>
%s', 'twentyten' ), get_the_date('Y') ); ?>
-
+
-max_num_pages; if ( $total_pages > 1 ) { ?>
-
-
← Older posts', 'twentyten' )); ?>
-
→', 'twentyten' )); ?>
-
-
-
-
-
- >
-
-
-
-
-
-→', 'twentyten' ) ); ?>
-
-
-
-
-
- ' . __('Tagged ', 'twentyten' ) . '', ", ", "\n\t\t\t\t\t\t|\n" ); ?>
-
- |\n\t\t\t\t\t\t", "\n\t\t\t\t\t\n" ); ?>
-
-
-
-
-
-max_num_pages; if ( $total_pages > 1 ) { ?>
-
-
← Older posts', 'twentyten' )); ?>
-
→', 'twentyten' )); ?>
-
-
+
diff --git a/wp-content/themes/twentyten/author.php b/wp-content/themes/twentyten/author.php
index 7cbbec21c..6c27b3b91 100644
--- a/wp-content/themes/twentyten/author.php
+++ b/wp-content/themes/twentyten/author.php
@@ -5,7 +5,7 @@
-
+
@@ -13,7 +13,7 @@
-
+
@@ -21,44 +21,7 @@
-max_num_pages; if ( $total_pages > 1 ) { ?>
-
-
← Older posts', 'twentyten' )); ?>
-
→', 'twentyten' )); ?>
-
-
-
-
-
- >
-
-
-
-
-
- →', 'twentyten' ) ); ?>
-
-
-
-
- |
- ' . __('Tagged ', 'twentyten' ) . '', ", ", "\n\t\t\t\t\t\t|\n" ); ?>
-
- |\n\t\t\t\t\t\t", "\n\t\t\t\t\t\n" ); ?>
-
-
-
-
-
-max_num_pages; if ( $total_pages > 1 ) { ?>
-
-
← Older posts', 'twentyten' )); ?>
-
→', 'twentyten' )); ?>
-
-
+
diff --git a/wp-content/themes/twentyten/category.php b/wp-content/themes/twentyten/category.php
index 768a71429..4614cd156 100644
--- a/wp-content/themes/twentyten/category.php
+++ b/wp-content/themes/twentyten/category.php
@@ -10,48 +10,7 @@
-max_num_pages; if ( $total_pages > 1 ) { ?>
-
-
← Older posts', 'twentyten' )); ?>
-
→', 'twentyten' )); ?>
-
-
-
-
-
- >
-
-
-
-
-
- →', 'twentyten' ) ); ?>
-
-
-
-
-
-
-
- ' . __('Tagged ', 'twentyten' ) . '', ", ", "\n\t\t\t\t\t\t|\n" ); ?>
-
- |\n\t\t\t\t\t\t", "\n\t\t\t\t\t\n" ); ?>
-
-
-
-
-
-max_num_pages; if ( $total_pages > 1 ) { ?>
-
-
← Older posts', 'twentyten' )); ?>
-
→', 'twentyten' )); ?>
-
-
+
diff --git a/wp-content/themes/twentyten/footer.php b/wp-content/themes/twentyten/footer.php
index ac6f524ad..2bac7ad62 100644
--- a/wp-content/themes/twentyten/footer.php
+++ b/wp-content/themes/twentyten/footer.php
@@ -6,7 +6,7 @@
diff --git a/wp-content/themes/twentyten/header.php b/wp-content/themes/twentyten/header.php
index 371478b00..07e424e9e 100644
--- a/wp-content/themes/twentyten/header.php
+++ b/wp-content/themes/twentyten/header.php
@@ -39,14 +39,13 @@
diff --git a/wp-content/themes/twentyten/loop.php b/wp-content/themes/twentyten/loop.php
new file mode 100644
index 000000000..7d58d74f0
--- /dev/null
+++ b/wp-content/themes/twentyten/loop.php
@@ -0,0 +1,107 @@
+max_num_pages > 1 ) { ?>
+
+
← Older posts', 'twentyten' )); ?>
+
→', 'twentyten' )); ?>
+
+
+
+
+
+
>
+
+
+
+
+
+
+
%2$s photos.', 'twentyten'), 'href="' . get_permalink() . '" title="' . sprintf( esc_attr__('Permalink to %s', 'twentyten'), the_title_attribute('echo=0') ) . '" rel="bookmark"', $total_images ); ?>
+
+
+
+
+
+
+
+
+
+ |\n\t\t\t\t\t\t
", "\n\t\t\t\t\t\n" ); ?>
+
+
+
+
+
+
>
+
+ →', 'twentyten' ) ); ?>
+
+
+
+
+
+
+
+
+
+ |\n\t\t\t\t\t\t
", "\n\t\t\t\t\t\n" ); ?>
+
+
+
+
+
+
>
+
+
+
+
+
+
+ →', 'twentyten' ) ); ?>
+
+
+
+ →', 'twentyten' ) ); ?>
+ ' . __( 'Pages:', 'twentyten' ) . '&after=
'); ?>
+
+
+
+
+
+
+ ' . __('Tagged ', 'twentyten' ) . '', ", ", "\n\t\t\t\t\t\t|\n" ); ?>
+
+ |\n\t\t\t\t\t\t", "\n\t\t\t\t\t\n" ); ?>
+
+
+
+
+
+
+
+
+max_num_pages > 1 ) { ?>
+
+
← Older posts', 'twentyten' )); ?>
+
→', 'twentyten' )); ?>
+
+
\ No newline at end of file
diff --git a/wp-content/themes/twentyten/search.php b/wp-content/themes/twentyten/search.php
index 68477b0b3..7fa68a3f0 100644
--- a/wp-content/themes/twentyten/search.php
+++ b/wp-content/themes/twentyten/search.php
@@ -4,57 +4,9 @@
-
-
-max_num_pages; if ( $total_pages > 1 ) { ?>
-
-
← Older posts', 'twentyten' )); ?>
-
→', 'twentyten' )); ?>
-
-
-
-
-
-
>
-
-
-post_type != 'page' ) : ?>
-
-
-
-
- →', 'twentyten' ) ); ?>
- ' . __( 'Pages:', 'twentyten' ) . '&after=
' ); ?>
-
-
-post_type != 'page' ) : ?>
-
-
- |
- ' . __('Tagged ', 'twentyten' ) . '', ", ", "\n\t\t\t\t\t\t|\n" ); ?>
-
- |\n\t\t\t\t\t\t", "\n\t\t\t\t\t\n" ); ?>
-
-
-
-
-
-
-max_num_pages; if ( $total_pages > 1 ) { ?>
-
-
← Older posts', 'twentyten' )); ?>
-
→', 'twentyten' )); ?>
-
-
-
+
-
-
-
diff --git a/wp-content/themes/twentyten/tag.php b/wp-content/themes/twentyten/tag.php
index 99d596254..e768230c4 100644
--- a/wp-content/themes/twentyten/tag.php
+++ b/wp-content/themes/twentyten/tag.php
@@ -9,48 +9,7 @@
-max_num_pages; if ( $total_pages > 1 ) { ?>
-
-
← Older posts', 'twentyten' )); ?>
-
→', 'twentyten' )); ?>
-
-
-
-
-
- >
-
-
-
-
-
- →', 'twentyten' ) ); ?>
-
-
-
-
-
-
-
-
-
- |\n\t\t\t\t\t\t", "\n\t\t\t\t\t\n" ); ?>
-
-
-
-
-
-max_num_pages; if ( $total_pages > 1 ) { ?>
-
-
← Older posts', 'twentyten' )); ?>
-
→', 'twentyten' )); ?>
-
-
+