From 2b8a6d8cdf7bc96d9eaa924673f5cda7f76520c6 Mon Sep 17 00:00:00 2001 From: Tom Nowell Date: Sat, 11 Feb 2012 00:16:39 +0000 Subject: [PATCH] added a home template and put hr tags in places to separate out posts and comments --- home.php | 187 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ index.php | 1 + 2 files changed, 188 insertions(+) create mode 100644 home.php diff --git a/home.php b/home.php new file mode 100644 index 0000000..240f8a1 --- /dev/null +++ b/home.php @@ -0,0 +1,187 @@ +get_template_part( 'loop', 'index' ); + * + * @package WordPress + * @subpackage Twenty_Ten + * @since Twenty Ten 1.0 + */ +?> +
+

+

+
+ +max_num_pages > 1 ) : ?> + + + + + +
+

+
+

+ +
+
+ + + + + + + + ID ) ) || in_category( _x( 'gallery', 'gallery category slug', 'twentyten' ) ) ) : ?> +
> +

+ + + +
+ + + + $post->ID, 'post_type' => 'attachment', 'post_mime_type' => 'image', 'orderby' => 'menu_order', 'order' => 'ASC', 'numberposts' => 999 ) ); + if ( $images ) : + $total_images = count( $images ); + $image = array_shift( $images ); + $image_img_tag = wp_get_attachment_image( $image->ID, 'thumbnail' ); + ?> + +

%2$s photo.', 'This gallery contains %2$s photos.', $total_images, 'twentyten' ), + 'href="' . get_permalink() . '" title="' . sprintf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ) . '" rel="bookmark"', + number_format_i18n( $total_images ) + ); ?>

+ + + +
+ +
+ ID ) ) : ?> + + | + + + | + + + | ', '' ); ?> +
+
+ + + + ID ) ) || in_category( _x( 'asides', 'asides category slug', 'twentyten' ) ) ) : ?> +
> + + +
+ +
+ +
+ →', 'twentyten' ) ); ?> +
+ + +
+ + | + + | ', '' ); ?> +
+
+ + + + +
+
> +

+ + + + +
+ +
+ +
+ →', 'twentyten' ) ); ?> + '' ) ); ?> +
+ + + +
+ + + Posted in %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-cat-links', get_the_category_list( ', ' ) ); ?> + + | + + + + Tagged %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); ?> + + | + + + | ', '' ); ?> +
+
+ + + + + + + + + +max_num_pages > 1 ) : ?> + + diff --git a/index.php b/index.php index 7290fbe..e874387 100644 --- a/index.php +++ b/index.php @@ -165,6 +165,7 @@ | ', '' ); ?> +