Formatting, Translations & Whitespace. Props ptahdunbar. See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
99c15de631
commit
f2799cb2e9
|
@ -4,9 +4,9 @@
|
|||
<div id="content">
|
||||
|
||||
<div id="post-0" class="post error404 not-found">
|
||||
<h1 class="entry-title">Not Found</h1>
|
||||
<h1 class="entry-title"><?php _e( 'Not Found', 'twentyten' ); ?></h1>
|
||||
<div class="entry-content">
|
||||
<p>Apologies, but the page you requested could not be found. Perhaps searching will help.</p>
|
||||
<p><?php _e( 'Apologies, but the page you requested could not be found. Perhaps searching will help.', 'twentyten' ); ?></p>
|
||||
<?php get_search_form(); ?>
|
||||
</div><!-- .entry-content -->
|
||||
</div><!-- #post-0 -->
|
||||
|
|
|
@ -6,21 +6,21 @@
|
|||
<?php the_post(); ?>
|
||||
|
||||
<?php if ( is_day() ) : ?>
|
||||
<h1 class="page-title"><?php printf( __( 'Daily Archives: <span>%s</span>', 'twentyten' ), get_the_date() ) ?></h1>
|
||||
<h1 class="page-title"><?php printf( __( 'Daily Archives: <span>%s</span>', 'twentyten' ), get_the_date() ); ?></h1>
|
||||
<?php elseif ( is_month() ) : ?>
|
||||
<h1 class="page-title"><?php printf( __( 'Monthly Archives: <span>%s</span>', 'twentyten' ), get_the_date('F Y') ) ?></h1>
|
||||
<h1 class="page-title"><?php printf( __( 'Monthly Archives: <span>%s</span>', 'twentyten' ), get_the_date('F Y') ); ?></h1>
|
||||
<?php elseif ( is_year() ) : ?>
|
||||
<h1 class="page-title"><?php printf( __( 'Yearly Archives: <span>%s</span>', 'twentyten' ), get_the_date('Y') ) ?></h1>
|
||||
<h1 class="page-title"><?php printf( __( 'Yearly Archives: <span>%s</span>', 'twentyten' ), get_the_date('Y') ); ?></h1>
|
||||
<?php elseif ( isset($_GET['paged']) && !empty($_GET['paged']) ) : ?>
|
||||
<h1 class="page-title"><?php _e( 'Blog Archives', 'twentyten' ) ?></h1>
|
||||
<h1 class="page-title"><?php _e( 'Blog Archives', 'twentyten' ); ?></h1>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php rewind_posts(); ?>
|
||||
|
||||
<?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?>
|
||||
<div id="nav-above" class="navigation">
|
||||
<div class="nav-previous"><?php next_posts_link(__( '<span class="meta-nav">←</span> Older posts', 'twentyten' )) ?></div>
|
||||
<div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' )) ?></div>
|
||||
<div class="nav-previous"><?php next_posts_link(__( '<span class="meta-nav">←</span> Older posts', 'twentyten' )); ?></div>
|
||||
<div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' )); ?></div>
|
||||
</div><!-- #nav-above -->
|
||||
<?php } ?>
|
||||
|
||||
|
@ -31,10 +31,9 @@
|
|||
|
||||
<div class="entry-meta">
|
||||
<span class="meta-prep meta-prep-author"><?php _e('Posted on ', 'twentyten'); ?></span>
|
||||
<a href="<?php
|
||||
the_permalink(); ?>" title="<?php echo esc_attr( get_the_time('Y-m-d\TH:i:sO') ); ?>" rel="bookmark"><span class="entry-date"><?php echo get_the_date(); ?></span></a>
|
||||
<a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( get_the_time() ); ?>" rel="bookmark"><span class="entry-date"><?php echo get_the_date(); ?></span></a>
|
||||
<span class="meta-sep"><?php _e(' by ', 'twentyten'); ?></span>
|
||||
<span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span>
|
||||
<span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID ); ?>" title="<?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ); ?>"><?php the_author(); ?></a></span>
|
||||
</div><!-- .entry-meta -->
|
||||
|
||||
<div class="entry-summary">
|
||||
|
@ -43,10 +42,10 @@
|
|||
|
||||
<div class="entry-utility">
|
||||
<span class="cat-links"><span class="entry-utility-prep entry-utility-prep-cat-links"><?php _e( 'Posted in ', 'twentyten' ); ?></span><?php echo get_the_category_list(', '); ?></span>
|
||||
<span class="meta-sep"> | </span>
|
||||
<?php the_tags( '<span class="tag-links"><span class="entry-utility-prep entry-utility-prep-tag-links">' . __('Tagged ', 'twentyten' ) . '</span>', ", ", "</span>\n\t\t\t\t\t\t<span class=\"meta-sep\">|</span>\n" ) ?>
|
||||
<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ) ?></span>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t\n" ) ?>
|
||||
<span class="meta-sep"><?php _e( ' | ', 'twentyten' ); ?></span>
|
||||
<?php the_tags( '<span class="tag-links"><span class="entry-utility-prep entry-utility-prep-tag-links">' . __('Tagged ', 'twentyten' ) . '</span>', ", ", "</span>\n\t\t\t\t\t\t<span class=\"meta-sep\">|</span>\n" ); ?>
|
||||
<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t\n" ); ?>
|
||||
</div><!-- #entry-utility -->
|
||||
</div><!-- #post-<?php the_ID(); ?> -->
|
||||
|
||||
|
@ -54,8 +53,8 @@
|
|||
|
||||
<?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?>
|
||||
<div id="nav-below" class="navigation">
|
||||
<div class="nav-previous"><?php next_posts_link(__( '<span class="meta-nav">←</span> Older posts', 'twentyten' )) ?></div>
|
||||
<div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' )) ?></div>
|
||||
<div class="nav-previous"><?php next_posts_link(__( '<span class="meta-nav">←</span> Older posts', 'twentyten' )); ?></div>
|
||||
<div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' )); ?></div>
|
||||
</div><!-- #nav-below -->
|
||||
<?php } ?>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
<?php the_post(); ?>
|
||||
|
||||
<p class="page-title"><a href="<?php echo get_permalink($post->post_parent) ?>" title="<?php printf( esc_attr__( 'Return to %s', 'twentyten' ), esc_html( get_the_title($post->post_parent), 1 ) ) ?>" rel="gallery">← <?php echo get_the_title($post->post_parent) ?></a></p>
|
||||
<p class="page-title"><a href="<?php echo get_permalink($post->post_parent); ?>" title="<?php printf( esc_attr__( 'Return to %s', 'twentyten' ), esc_html( get_the_title($post->post_parent), 1 ) ); ?>" rel="gallery">← <?php echo get_the_title($post->post_parent); ?></a></p>
|
||||
|
||||
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<h2 class="entry-title"><?php the_title(); ?></h2>
|
||||
|
@ -13,10 +13,10 @@
|
|||
<div class="entry-meta">
|
||||
<span class="meta-prep meta-prep-author"><?php _e( 'By ', 'twentyten' ); ?></span>
|
||||
<span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span>
|
||||
<span class="meta-sep"> | </span>
|
||||
<span class="meta-sep"><?php _e( ' | ', 'twentyten' ); ?></span>
|
||||
<span class="meta-prep meta-prep-entry-date"><?php _e( 'Published ', 'twentyten' ); ?></span>
|
||||
<span class="entry-date"><abbr class="published" title="<?php the_time('Y-m-d\TH:i:sO') ?>"><?php echo get_the_date(); ?></abbr></span>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t" ) ?>
|
||||
<span class="entry-date"><abbr class="published" title="<?php the_time() ?>"><?php echo get_the_date(); ?></abbr></span>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t" ); ?>
|
||||
</div><!-- .entry-meta -->
|
||||
|
||||
<div class="entry-content">
|
||||
|
@ -32,13 +32,13 @@
|
|||
<div class="nav-next"><?php next_image_link( false ); ?></div>
|
||||
</div><!-- #nav-below -->
|
||||
<?php else : ?>
|
||||
<a href="<?php echo wp_get_attachment_url($post->ID) ?>" title="<?php echo esc_attr( get_the_title($post->ID) ); ?>" rel="attachment"><?php echo basename(get_permalink()) ?></a>
|
||||
<a href="<?php echo wp_get_attachment_url($post->ID); ?>" title="<?php echo esc_attr( get_the_title($post->ID) ); ?>" rel="attachment"><?php echo basename(get_permalink()); ?></a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="entry-caption"><?php if ( !empty($post->post_excerpt) ) the_excerpt() ?></div>
|
||||
<div class="entry-caption"><?php if ( !empty($post->post_excerpt) ) the_excerpt(); ?></div>
|
||||
|
||||
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyten' ) ); ?>
|
||||
<?php wp_link_pages('before=<div class="page-link">' . __( 'Pages:', 'twentyten' ) . '&after=</div>') ?>
|
||||
<?php wp_link_pages( 'before=<div class="page-link">' . __( 'Pages:', 'twentyten' ) . '&after=</div>' ); ?>
|
||||
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
|
@ -48,18 +48,18 @@
|
|||
get_the_tag_list( __( ' and tagged ', 'twentyten' ), ', ', '' ),
|
||||
get_permalink(),
|
||||
the_title_attribute('echo=0'),
|
||||
get_post_comments_feed_link() ) ?>
|
||||
get_post_comments_feed_link() ); ?>
|
||||
|
||||
<?php if ( comments_open() && pings_open() ) : // Comments and trackbacks open ?>
|
||||
<?php printf( __( '<a class="comment-link" href="#respond" title="Post a comment">Post a comment</a> or leave a trackback: <a class="trackback-link" href="%s" title="Trackback URL for your post" rel="trackback">Trackback URL</a>.', 'twentyten' ), get_trackback_url() ) ?>
|
||||
<?php printf( __( '<a class="comment-link" href="#respond" title="Post a comment">Post a comment</a> or leave a trackback: <a class="trackback-link" href="%s" title="Trackback URL for your post" rel="trackback">Trackback URL</a>.', 'twentyten' ), get_trackback_url() ); ?>
|
||||
<?php elseif ( !comments_open() && pings_open() ) : // Only trackbacks open ?>
|
||||
<?php printf( __( 'Comments are closed, but you can leave a trackback: <a class="trackback-link" href="%s" title="Trackback URL for your post" rel="trackback">Trackback URL</a>.', 'twentyten' ), get_trackback_url() ) ?>
|
||||
<?php printf( __( 'Comments are closed, but you can leave a trackback: <a class="trackback-link" href="%s" title="Trackback URL for your post" rel="trackback">Trackback URL</a>.', 'twentyten' ), get_trackback_url() ); ?>
|
||||
<?php elseif ( comments_open() && !pings_open() ) : // Only comments open ?>
|
||||
<?php _e( 'Trackbacks are closed, but you can <a class="comment-link" href="#respond" title="Post a comment">post a comment</a>.', 'twentyten' ) ?>
|
||||
<?php _e( 'Trackbacks are closed, but you can <a class="comment-link" href="#respond" title="Post a comment">post a comment</a>.', 'twentyten' ); ?>
|
||||
<?php elseif ( !comments_open() && !pings_open() ) : // Comments and trackbacks closed ?>
|
||||
<?php _e( 'Both comments and trackbacks are currently closed.', 'twentyten' ) ?>
|
||||
<?php _e( 'Both comments and trackbacks are currently closed.', 'twentyten' ); ?>
|
||||
<?php endif; ?>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyten' ), "\n\t\t\t\t\t<span class=\"edit-link\">", "</span>" ) ?>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyten' ), "\n\t\t\t\t\t<span class=\"edit-link\">", "</span>" ); ?>
|
||||
</div><!-- .entry-utility -->
|
||||
</div><!-- #post-<?php the_ID(); ?> -->
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
<?php the_post(); ?>
|
||||
|
||||
<h1 class="page-title author"><?php printf( __( 'Author Archives: <span class="vcard">%s</span>', 'twentyten' ), "<a class='url fn n' href='$authordata->user_url' title='" . esc_attr($authordata->display_name) . "' rel='me'>" . esc_html($authordata->display_name) . "</a>" ) ?></h1>
|
||||
<h1 class="page-title author"><?php printf( __( 'Author Archives: <span class="vcard">%s</span>', 'twentyten' ), "<a class='url fn n' href='$authordata->user_url' title='" . esc_attr($authordata->display_name) . "' rel='me'>" . esc_html($authordata->display_name) . "</a>" ); ?></h1>
|
||||
|
||||
<?php if ( get_the_author_meta('description') ) : // If a user has filled out their decscription show a bio on their entries ?>
|
||||
<div id="entry-author-info">
|
||||
|
@ -23,8 +23,8 @@
|
|||
|
||||
<?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?>
|
||||
<div id="nav-above" class="navigation">
|
||||
<div class="nav-previous"><?php next_posts_link(__( '<span class="meta-nav">←</span> Older posts', 'twentyten' )) ?></div>
|
||||
<div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' )) ?></div>
|
||||
<div class="nav-previous"><?php next_posts_link(__( '<span class="meta-nav">←</span> Older posts', 'twentyten' )); ?></div>
|
||||
<div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' )); ?></div>
|
||||
</div><!-- #nav-above -->
|
||||
<?php } ?>
|
||||
|
||||
|
@ -35,8 +35,7 @@
|
|||
|
||||
<div class="entry-meta">
|
||||
<span class="meta-prep meta-prep-author"><?php _e( 'Posted on ', 'twentyten' ); ?></span>
|
||||
<a href="<?php
|
||||
the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><span class="entry-date"><?php echo get_the_date(); ?></span></a>
|
||||
<a href="<?php the_permalink(); ?>" title="<?php the_time(); ?>" rel="bookmark"><span class="entry-date"><?php echo get_the_date(); ?></span></a>
|
||||
</div><!-- .entry-meta -->
|
||||
|
||||
<div class="entry-summary">
|
||||
|
@ -46,9 +45,9 @@
|
|||
<div class="entry-utility">
|
||||
<span class="cat-links"><span class="entry-utility-prep entry-utility-prep-cat-links"><?php _e( 'Posted in ', 'twentyten' ); ?></span><?php echo get_the_category_list( ', ' ); ?></span>
|
||||
<span class="meta-sep"> | </span>
|
||||
<?php the_tags( '<span class="tag-links"><span class="entry-utility-prep entry-utility-prep-tag-links">' . __('Tagged ', 'twentyten' ) . '</span>', ", ", "</span>\n\t\t\t\t\t\t<span class=\"meta-sep\">|</span>\n" ) ?>
|
||||
<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ) ?></span>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t\n" ) ?>
|
||||
<?php the_tags( '<span class="tag-links"><span class="entry-utility-prep entry-utility-prep-tag-links">' . __('Tagged ', 'twentyten' ) . '</span>', ", ", "</span>\n\t\t\t\t\t\t<span class=\"meta-sep\">|</span>\n" ); ?>
|
||||
<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t\n" ); ?>
|
||||
</div><!-- #entry-utility -->
|
||||
</div><!-- #post-<?php the_ID(); ?> -->
|
||||
|
||||
|
@ -56,8 +55,8 @@
|
|||
|
||||
<?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?>
|
||||
<div id="nav-below" class="navigation">
|
||||
<div class="nav-previous"><?php next_posts_link(__( '<span class="meta-nav">←</span> Older posts', 'twentyten' )) ?></div>
|
||||
<div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' )) ?></div>
|
||||
<div class="nav-previous"><?php next_posts_link(__( '<span class="meta-nav">←</span> Older posts', 'twentyten' )); ?></div>
|
||||
<div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' )); ?></div>
|
||||
</div><!-- #nav-below -->
|
||||
<?php } ?>
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
<?php get_header(); ?>
|
||||
|
||||
<div id="container">
|
||||
|
@ -6,15 +5,15 @@
|
|||
|
||||
<?php the_post(); ?>
|
||||
|
||||
<h1 class="page-title"><?php _e( 'Category Archives:', 'twentyten' ) ?> <span><?php single_cat_title() ?></span></span></h1>
|
||||
<h1 class="page-title"><?php _e( 'Category Archives:', 'twentyten' ); ?> <span><?php single_cat_title(); ?></span></span></h1>
|
||||
<?php $categorydesc = category_description(); if ( !empty($categorydesc) ) echo apply_filters( 'archive_meta', '<div class="archive-meta">' . $categorydesc . '</div>' ); ?>
|
||||
|
||||
<?php rewind_posts(); ?>
|
||||
|
||||
<?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?>
|
||||
<div id="nav-above" class="navigation">
|
||||
<div class="nav-previous"><?php next_posts_link(__( '<span class="meta-nav">←</span> Older posts', 'twentyten' )) ?></div>
|
||||
<div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' )) ?></div>
|
||||
<div class="nav-previous"><?php next_posts_link(__( '<span class="meta-nav">←</span> Older posts', 'twentyten' )); ?></div>
|
||||
<div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' )); ?></div>
|
||||
</div><!-- #nav-above -->
|
||||
<?php } ?>
|
||||
|
||||
|
@ -25,10 +24,9 @@
|
|||
|
||||
<div class="entry-meta">
|
||||
<span class="meta-prep meta-prep-author"><?php _e( 'Posted on ', 'twentyten' ); ?></span>
|
||||
<a href="<?php
|
||||
the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><span class="entry-date"><?php echo get_the_date(); ?></span></a>
|
||||
<a href="<?php the_permalink(); ?>" title="<?php the_time(); ?>" rel="bookmark"><span class="entry-date"><?php echo get_the_date(); ?></span></a>
|
||||
<span class="meta-sep"><?php _e(' by ', 'twentyten'); ?></span>
|
||||
<span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span>
|
||||
<span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID ); ?>" title="<?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ); ?>"><?php the_author(); ?></a></span>
|
||||
</div><!-- .entry-meta -->
|
||||
|
||||
<div class="entry-summary">
|
||||
|
@ -37,12 +35,12 @@
|
|||
|
||||
<div class="entry-utility">
|
||||
<?php if ( $cats_meow = cats_meow( ', ' ) ) : // Returns categories other than the one queried ?>
|
||||
<span class="cat-links"><?php printf( __( 'Also posted in %s', 'twentyten' ), $cats_meow ) ?></span>
|
||||
<span class="meta-sep"> | </span>
|
||||
<span class="cat-links"><?php printf( __( 'Also posted in %s', 'twentyten' ), $cats_meow ); ?></span>
|
||||
<span class="meta-sep"><?php _e( ' | ', 'twentyten' ); ?></span>
|
||||
<?php endif ?>
|
||||
<?php the_tags( '<span class="tag-links"><span class="entry-utility-prep entry-utility-prep-tag-links">' . __('Tagged ', 'twentyten' ) . '</span>', ", ", "</span>\n\t\t\t\t\t\t<span class=\"meta-sep\">|</span>\n" ) ?>
|
||||
<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ) ?></span>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t\n" ) ?>
|
||||
<?php the_tags( '<span class="tag-links"><span class="entry-utility-prep entry-utility-prep-tag-links">' . __('Tagged ', 'twentyten' ) . '</span>', ", ", "</span>\n\t\t\t\t\t\t<span class=\"meta-sep\">|</span>\n" ); ?>
|
||||
<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t\n" ); ?>
|
||||
</div><!-- #entry-utility -->
|
||||
</div><!-- #post-<?php the_ID(); ?> -->
|
||||
|
||||
|
@ -50,8 +48,8 @@
|
|||
|
||||
<?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?>
|
||||
<div id="nav-below" class="navigation">
|
||||
<div class="nav-previous"><?php next_posts_link(__( '<span class="meta-nav">←</span> Older posts', 'twentyten' )) ?></div>
|
||||
<div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' )) ?></div>
|
||||
<div class="nav-previous"><?php next_posts_link(__( '<span class="meta-nav">←</span> Older posts', 'twentyten' )); ?></div>
|
||||
<div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' )); ?></div>
|
||||
</div><!-- #nav-below -->
|
||||
<?php } ?>
|
||||
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
// Do not delete these lines
|
||||
$req = get_option( 'require_name_email' ); // Checks if fields are required.
|
||||
if ( 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']) )
|
||||
die ( 'Please do not load this page directly. Thanks!' );
|
||||
die ( __( 'Please do not load this page directly. Thanks!', 'twentyten' ) );
|
||||
if ( post_password_required() ) :
|
||||
?>
|
||||
<div class="nopassword"><?php _e('This post is password protected. Enter the password to view any comments.', 'twentyten') ?></div>
|
||||
<div class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'twentyten' ); ?></div>
|
||||
</div><!-- .comments -->
|
||||
<?php
|
||||
return;
|
||||
|
@ -22,8 +22,8 @@
|
|||
|
||||
<?php $total_pages = get_comment_pages_count(); if ( $total_pages > 1 ) : // are there comments to navigate through ?>
|
||||
<div class="navigation">
|
||||
<div class="nav-previous"><?php previous_comments_link( __('← Older Comments', 'twentyten') ) ?></div>
|
||||
<div class="nav-next"><?php next_comments_link( __('Newer Comments →', 'twentyten') ) ?></div>
|
||||
<div class="nav-previous"><?php previous_comments_link( __('← Older Comments', 'twentyten') ); ?></div>
|
||||
<div class="nav-next"><?php next_comments_link( __('Newer Comments →', 'twentyten') ); ?></div>
|
||||
</div>
|
||||
<?php endif; // check for comment navigation ?>
|
||||
|
||||
|
@ -33,8 +33,8 @@
|
|||
|
||||
<?php $total_pages = get_comment_pages_count(); if ( $total_pages > 1 ) : // are there comments to navigate through ?>
|
||||
<div class="navigation">
|
||||
<div class="nav-previous"><?php previous_comments_link( __('← Older Comments', 'twentyten') ) ?></div>
|
||||
<div class="nav-next"><?php next_comments_link( __('Newer Comments →', 'twentyten') ) ?></div>
|
||||
<div class="nav-previous"><?php previous_comments_link( __('← Older Comments', 'twentyten') ); ?></div>
|
||||
<div class="nav-next"><?php next_comments_link( __('Newer Comments →', 'twentyten') ); ?></div>
|
||||
</div>
|
||||
<?php endif; // check for comment navigation ?>
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<?php get_sidebar( 'footer' ); ?>
|
||||
|
||||
<div id="site-info">
|
||||
<a href="<?php bloginfo( 'url' ) ?>/" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ) ?></a>
|
||||
<a href="<?php home_url() ?>/" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>
|
||||
</div>
|
||||
|
||||
<div id="site-generator">
|
||||
|
|
|
@ -47,73 +47,73 @@ if ( is_readable($locale_file) )
|
|||
require_once( $locale_file );
|
||||
|
||||
// Get the page number
|
||||
function get_page_number() {
|
||||
function twentyten_get_page_number() {
|
||||
if ( get_query_var('paged') )
|
||||
echo ' | ' . __( 'Page ' , 'twentyten' ) . get_query_var('paged');
|
||||
}
|
||||
|
||||
// Control excerpt length
|
||||
function new_excerpt_length($length) {
|
||||
function twentyten_new_excerpt_length( $length ) {
|
||||
return 40;
|
||||
}
|
||||
add_filter('excerpt_length', 'new_excerpt_length');
|
||||
add_filter( 'excerpt_length', 'twentyten_new_excerpt_length' );
|
||||
|
||||
|
||||
// Make a nice read more link on excerpts
|
||||
function new_excerpt_more($more) {
|
||||
function twentyten_new_excerpt_more($more) {
|
||||
return ' … <a href="'. get_permalink() . '">' . 'Continue reading <span class="meta-nav">→</span>' . '</a>';
|
||||
}
|
||||
add_filter('excerpt_more', 'new_excerpt_more');
|
||||
add_filter( 'excerpt_more', 'twentyten_new_excerpt_more' );
|
||||
|
||||
|
||||
// Template for comments and pingbacks
|
||||
function twentyten_comment($comment, $args, $depth) {
|
||||
function twentyten_list_comment( $comment, $args, $depth ) {
|
||||
$GLOBALS['comment'] = $comment; ?>
|
||||
<?php if ( '' == $comment->comment_type ) { ?>
|
||||
<li <?php comment_class(); ?> id="li-comment-<?php comment_ID() ?>">
|
||||
<li <?php comment_class(); ?> id="li-comment-<?php comment_ID(); ?>">
|
||||
<div id="comment-<?php comment_ID(); ?>">
|
||||
<div class="comment-author vcard">
|
||||
<?php echo get_avatar( $comment, 40 ); ?>
|
||||
|
||||
<?php printf(__('<cite class="fn">%s</cite> <span class="says">says:</span>'), get_comment_author_link()) ?>
|
||||
<?php printf( __('<cite class="fn">%s</cite> <span class="says">says:</span>'), get_comment_author_link() ); ?>
|
||||
</div>
|
||||
<?php if ( $comment->comment_approved == '0' ) : ?>
|
||||
<em><?php _e('Your comment is awaiting moderation.') ?></em>
|
||||
<em><?php _e( 'Your comment is awaiting moderation.', 'twentyten' ); ?></em>
|
||||
<br />
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="comment-meta commentmetadata"><a href="<?php echo esc_url( get_comment_link( $comment->comment_ID ) ) ?>"><?php printf(__('%1$s at %2$s'), get_comment_date(), get_comment_time()) ?></a><?php edit_comment_link(__('(Edit)'),' ','') ?></div>
|
||||
<div class="comment-meta commentmetadata"><a href="<?php echo esc_url( get_comment_link( $comment->comment_ID ) ); ?>"><?php printf(__('%1$s at %2$s'), get_comment_date(), get_comment_time()); ?></a><?php edit_comment_link(__('(Edit)', 'twentyten'),' ',''); ?></div>
|
||||
|
||||
<div class="comment-body"><?php comment_text() ?></div>
|
||||
<div class="comment-body"><?php comment_text(); ?></div>
|
||||
|
||||
<div class="reply">
|
||||
<?php comment_reply_link(array_merge( $args, array('depth' => $depth, 'max_depth' => $args['max_depth']))) ?>
|
||||
<?php comment_reply_link( array_merge( $args, array('depth' => $depth, 'max_depth' => $args['max_depth'])) ); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php } else { ?>
|
||||
<li class="post pingback">
|
||||
<p><?php _e('Pingback:') ?> <?php comment_author_link ()?><?php edit_comment_link ( 'edit', ' ', '' ); ?></p>
|
||||
<p><?php _e( 'Pingback: ', 'twentyten' ); ?><?php comment_author_link(); ?><?php edit_comment_link ( __('edit', 'twentyten'), ' ', '' ); ?></p>
|
||||
<?php }
|
||||
}
|
||||
|
||||
// Make the Visual Editor styles match the theme's styles
|
||||
function my_editor_style($url) {
|
||||
function twentyten_my_editor_style( $url ) {
|
||||
if ( !empty($url) )
|
||||
$url .= ',';
|
||||
|
||||
// Change the path here if using sub-directory
|
||||
$url .= trailingslashit( get_stylesheet_directory_uri() ) . 'editor-style.css';
|
||||
|
||||
return $url;
|
||||
}
|
||||
add_filter('mce_css', 'my_editor_style');
|
||||
add_filter( 'mce_css', 'twentyten_my_editor_style' );
|
||||
|
||||
|
||||
// Remove inline styles on gallery shortcode
|
||||
function remove_gallery_css() {
|
||||
function twentyten_remove_gallery_css() {
|
||||
return "<div class='gallery'>";
|
||||
}
|
||||
add_filter('gallery_style', 'remove_gallery_css');
|
||||
add_filter( 'gallery_style', 'twentyten_remove_gallery_css' );
|
||||
|
||||
|
||||
// For category lists on category archives: Returns other categories except the current one (redundant)
|
||||
function cats_meow( $glue ) {
|
||||
|
@ -132,6 +132,7 @@ function cats_meow($glue) {
|
|||
return trim( join( $glue, $cats ) );
|
||||
} // end cats_meow
|
||||
|
||||
|
||||
// For tag lists on tag archives: Returns other tags except the current one (redundant)
|
||||
function tag_ur_it( $glue ) {
|
||||
$current_tag = single_tag_title( '', '', false );
|
||||
|
@ -150,7 +151,7 @@ function tag_ur_it($glue) {
|
|||
} // end tag_ur_it
|
||||
|
||||
// Register widgetized areas
|
||||
function theme_widgets_init() {
|
||||
function twentyten_widgets_init() {
|
||||
// Area 1
|
||||
register_sidebar( array(
|
||||
'name' => 'Primary Widget Area',
|
||||
|
@ -220,4 +221,4 @@ function theme_widgets_init() {
|
|||
} // end theme_widgets_init
|
||||
|
||||
// Add all the groovy widget areas
|
||||
add_action( 'init', 'theme_widgets_init' );
|
||||
add_action( 'init', 'twentyten_widgets_init' );
|
||||
|
|
|
@ -5,15 +5,15 @@
|
|||
if ( is_single() ) {
|
||||
single_post_title(); echo ' | '; bloginfo('name');
|
||||
} elseif ( is_home() || is_front_page() ) {
|
||||
bloginfo('name'); echo ' | '; bloginfo('description'); get_page_number();
|
||||
bloginfo('name'); echo ' | '; bloginfo('description'); twentyten_get_page_number();
|
||||
} elseif ( is_page() ) {
|
||||
single_post_title(''); echo ' | '; bloginfo('name');
|
||||
} elseif ( is_search() ) {
|
||||
printf(__('Search results for "%s"', 'twentyten'), esc_html($s)); get_page_number(); echo ' | '; bloginfo('name');
|
||||
printf(__('Search results for "%s"', 'twentyten'), esc_html($s)); twentyten_get_page_number(); echo ' | '; bloginfo('name');
|
||||
} elseif ( is_404() ) {
|
||||
_e('Not Found', 'twentyten'); echo ' | '; bloginfo('name');
|
||||
} else {
|
||||
wp_title(''); echo ' | '; bloginfo('name'); get_page_number();
|
||||
wp_title(''); echo ' | '; bloginfo('name'); twentyten_get_page_number();
|
||||
}
|
||||
?></title>
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
|||
<?php wp_head(); ?>
|
||||
|
||||
<link rel="alternate" type="application/rss+xml" href="<?php bloginfo( 'rss2_url' ); ?>" title="<?php printf( esc_attr__( '%s latest posts', 'twentyten' ), esc_html( get_bloginfo('name') ) ); ?>" />
|
||||
<link rel="alternate" type="application/rss+xml" href="<?php bloginfo('comments_rss2_url') ?>" title="<?php printf( esc_attr__( '%s latest comments', 'twentyten' ), esc_html( get_bloginfo('name') ) ); ?>" />
|
||||
<link rel="alternate" type="application/rss+xml" href="<?php bloginfo( 'comments_rss2_url' ); ?>" title="<?php printf( esc_attr__( '%s latest comments', 'twentyten' ), esc_html( get_bloginfo('name') ) ); ?>" />
|
||||
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
|
||||
</head>
|
||||
|
||||
|
@ -39,8 +39,8 @@
|
|||
<div id="masthead">
|
||||
|
||||
<div id="branding">
|
||||
<div id="site-title"><span><a href="<?php bloginfo( 'url' ) ?>/" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ) ?></a></span></div>
|
||||
<div id="site-description"><?php bloginfo( 'description' ) ?></div>
|
||||
<div id="site-title"><span><a href="<?php home_url(); ?>/" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span></div>
|
||||
<div id="site-description"><?php bloginfo( 'description' ); ?></div>
|
||||
|
||||
<?php
|
||||
global $post;
|
||||
|
@ -52,7 +52,7 @@
|
|||
</div><!-- #branding -->
|
||||
|
||||
<div id="access">
|
||||
<div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentyten' ) ?>"><?php _e( 'Skip to content', 'twentyten' ) ?></a></div>
|
||||
<div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentyten' ); ?>"><?php _e( 'Skip to content', 'twentyten' ); ?></a></div>
|
||||
<?php wp_page_menu( 'sort_column=menu_order' ); ?>
|
||||
</div><!-- #access -->
|
||||
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
|
||||
<?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?>
|
||||
<div id="nav-above" class="navigation">
|
||||
<div class="nav-previous"><?php next_posts_link(__( '<span class="meta-nav">←</span> Older posts', 'twentyten' )) ?></div>
|
||||
<div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' )) ?></div>
|
||||
<div class="nav-previous"><?php next_posts_link(__( '<span class="meta-nav">←</span> Older posts', 'twentyten' )); ?></div>
|
||||
<div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' )); ?></div>
|
||||
</div><!-- #nav-above -->
|
||||
<?php } ?>
|
||||
|
||||
|
@ -17,19 +17,20 @@
|
|||
|
||||
<div class="entry-meta">
|
||||
<span class="meta-prep meta-prep-author"><?php _e( 'Posted on ', 'twentyten' ); ?></span>
|
||||
<a href="<?php
|
||||
the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><span class="entry-date"><?php echo get_the_date(); ?></span></a>
|
||||
<a href="<?php the_permalink(); ?>" title="<?php the_time(); ?>" rel="bookmark"><span class="entry-date"><?php echo get_the_date(); ?></span></a>
|
||||
<span class="meta-sep"> <?php _e( 'by ', 'twentyten' ); ?> </span>
|
||||
<span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span>
|
||||
<span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID ); ?>" title="<?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ); ?>"><?php the_author(); ?></a></span>
|
||||
</div><!-- .entry-meta -->
|
||||
|
||||
<div class="entry-content">
|
||||
<div class="gallery-thumb"><a class="size-thumbnail" href="<?php the_permalink() ?>"><?php
|
||||
<div class="gallery-thumb">
|
||||
<a class="size-thumbnail" href="<?php the_permalink(); ?>"><?php
|
||||
$images =& get_children( array('post_parent' => $post->ID, 'post_type' => 'attachment', 'post_mime_type' => 'image', 'orderby' => 'menu_order', 'order' => 'ASC', 'numberposts' => 999) );
|
||||
$total_images = count($images);
|
||||
$image = array_shift($images);
|
||||
echo wp_get_attachment_image( $image->ID, 'thumbnail' );
|
||||
?></a></div>
|
||||
?></a>
|
||||
</div>
|
||||
<p><em><?php printf( __('This gallery contains <a %1$s>%2$s photos</a>.', 'twentyten'), 'href="' . get_permalink() . '" title="' . sprintf( esc_attr__('Permalink to %s', 'twentyten'), the_title_attribute('echo=0') ) . '" rel="bookmark"', $total_images ); ?></em></p>
|
||||
|
||||
<?php the_excerpt( '' ); ?>
|
||||
|
@ -41,12 +42,9 @@ the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><
|
|||
$category_link = get_category_link( $category_id );
|
||||
?>
|
||||
<a href="<?php echo $category_link; ?>" title="<?php esc_attr_e('View posts in the Gallery category', 'twentyten'); ?>"><?php _e('More Galleries', 'twentyten'); ?></a>
|
||||
|
||||
<span class="meta-sep"> | </span>
|
||||
|
||||
<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ) ?></span>
|
||||
|
||||
<?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t\n" ) ?>
|
||||
<span class="meta-sep"><?php __( ' | ', 'twentyten' ); ?></span>
|
||||
<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t\n" ); ?>
|
||||
</div><!-- #entry-utility -->
|
||||
</div>
|
||||
|
||||
|
@ -59,13 +57,12 @@ the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><
|
|||
|
||||
<div class="entry-utility">
|
||||
<span class="meta-prep meta-prep-author"><?php _e( 'Posted on ', 'twentyten' ); ?></span>
|
||||
<a href="<?php
|
||||
the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><span class="entry-date"><?php echo get_the_date(); ?></span></a>
|
||||
<a href="<?php the_permalink(); ?>" title="<?php the_time(); ?>" rel="bookmark"><span class="entry-date"><?php echo get_the_date(); ?></span></a>
|
||||
<span class="meta-sep"> <?php _e( 'by ', 'twentyten' ); ?> </span>
|
||||
<span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span>
|
||||
<span class="meta-sep"> | </span>
|
||||
<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ) ?></span>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t\n" ) ?>
|
||||
<span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID ); ?>" title="<?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ); ?>"><?php the_author(); ?></a></span>
|
||||
<span class="meta-sep"><?php __( ' | ', 'twentyten' ); ?></span>
|
||||
<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t\n" ); ?>
|
||||
</div><!-- #entry-utility -->
|
||||
</div><!-- #post-<?php the_ID(); ?> -->
|
||||
|
||||
|
@ -77,26 +74,26 @@ the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><
|
|||
<div class="entry-meta">
|
||||
<span class="meta-prep meta-prep-author"><?php _e('Posted on ', 'twentyten'); ?></span>
|
||||
<a href="<?php
|
||||
the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><span class="entry-date"><?php echo get_the_date(); ?></span></a>
|
||||
the_permalink(); ?>" title="<?php the_time(); ?>" rel="bookmark"><span class="entry-date"><?php echo get_the_date(); ?></span></a>
|
||||
<span class="meta-sep"><?php _e( ' by ', 'twentyten' ); ?></span>
|
||||
<span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span>
|
||||
<span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID ); ?>" title="<?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ); ?>"><?php the_author(); ?></a></span>
|
||||
</div><!-- .entry-meta -->
|
||||
|
||||
<div class="entry-content">
|
||||
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyten' ) ); ?>
|
||||
<?php wp_link_pages('before=<div class="page-link">' . __( 'Pages:', 'twentyten' ) . '&after=</div>') ?>
|
||||
<?php wp_link_pages('before=<div class="page-link">' . __( 'Pages:', 'twentyten' ) . '&after=</div>'); ?>
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<div class="entry-utility">
|
||||
<span class="cat-links"><span class="entry-utility-prep entry-utility-prep-cat-links"><?php _e( 'Posted in ', 'twentyten' ); ?></span><?php echo get_the_category_list( ', ' ); ?></span>
|
||||
<span class="meta-sep"> | </span>
|
||||
<?php the_tags( '<span class="tag-links"><span class="entry-utility-prep entry-utility-prep-tag-links">' . __('Tagged ', 'twentyten' ) . '</span>', ", ", "</span>\n\t\t\t\t\t\t<span class=\"meta-sep\">|</span>\n" ) ?>
|
||||
<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ) ?></span>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t\n" ) ?>
|
||||
<span class="meta-sep"><?php __( ' | ', 'twentyten' ); ?></span>
|
||||
<?php the_tags( '<span class="tag-links"><span class="entry-utility-prep entry-utility-prep-tag-links">' . __('Tagged ', 'twentyten' ) . '</span>', ", ", "</span>\n\t\t\t\t\t\t<span class=\"meta-sep\">|</span>\n" ); ?>
|
||||
<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t\n" ); ?>
|
||||
</div><!-- #entry-utility -->
|
||||
</div><!-- #post-<?php the_ID(); ?> -->
|
||||
|
||||
<?php comments_template(); ?>
|
||||
<?php comments_template( '', true ); ?>
|
||||
|
||||
<?php } ?>
|
||||
<?php endwhile; ?>
|
||||
|
@ -110,8 +107,8 @@ the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><
|
|||
|
||||
<?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?>
|
||||
<div id="nav-below" class="navigation">
|
||||
<div class="nav-previous"><?php next_posts_link(__( '<span class="meta-nav">←</span> Older posts', 'twentyten' )) ?></div>
|
||||
<div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' )) ?></div>
|
||||
<div class="nav-previous"><?php next_posts_link(__( '<span class="meta-nav">←</span> Older posts', 'twentyten' )); ?></div>
|
||||
<div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' )); ?></div>
|
||||
</div><!-- #nav-below -->
|
||||
<?php } ?>
|
||||
|
||||
|
|
|
@ -9,12 +9,12 @@
|
|||
<h1 class="entry-title"><?php the_title(); ?></h1>
|
||||
<div class="entry-content">
|
||||
<?php the_content(); ?>
|
||||
<?php wp_link_pages('before=<div class="page-link">' . __( 'Pages:', 'twentyten' ) . '&after=</div>') ?>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="edit-link">', '</span>' ) ?>
|
||||
<?php wp_link_pages( 'before=<div class="page-link">' . __( 'Pages:', 'twentyten' ) . '&after=</div>'); ?>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</div><!-- .entry-content -->
|
||||
</div><!-- #post-<?php the_ID(); ?> -->
|
||||
|
||||
<?php comments_template(); ?>
|
||||
<?php comments_template( '', true ); ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
</div><!-- #container -->
|
||||
|
|
|
@ -9,55 +9,54 @@
|
|||
|
||||
<?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?>
|
||||
<div id="nav-above" class="navigation">
|
||||
<div class="nav-previous"><?php next_posts_link(__( '<span class="meta-nav">←</span> Older posts', 'twentyten' )) ?></div>
|
||||
<div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' )) ?></div>
|
||||
<div class="nav-previous"><?php next_posts_link(__( '<span class="meta-nav">←</span> Older posts', 'twentyten' )); ?></div>
|
||||
<div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' )); ?></div>
|
||||
</div><!-- #nav-above -->
|
||||
<?php } ?>
|
||||
|
||||
<?php while ( have_posts() ) : the_post() ?>
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
|
||||
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__('Permalink to %s', 'twentyten'), the_title_attribute('echo=0') ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
|
||||
|
||||
<?php if ( $post->post_type == 'post' ) { ?>
|
||||
<?php if ( $post->post_type != 'page' ) : ?>
|
||||
<div class="entry-meta">
|
||||
<span class="meta-prep meta-prep-author"><?php _e( 'Posted on ', 'twentyten' ); ?></span>
|
||||
<a href="<?php
|
||||
the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><span class="entry-date"><?php echo get_the_date(); ?></span></a>
|
||||
<a href="<?php the_permalink(); ?>" title="<?php the_time(); ?>" rel="bookmark"><span class="entry-date"><?php echo get_the_date(); ?></span></a>
|
||||
<span class="meta-sep"> <?php _e( 'by ', 'twentyten' ); ?> </span>
|
||||
<span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span>
|
||||
<span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID ); ?>" title="<?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ); ?>"><?php the_author(); ?></a></span>
|
||||
</div><!-- .entry-meta -->
|
||||
<?php } ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="entry-summary">
|
||||
<?php the_excerpt( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyten' ) ); ?>
|
||||
<?php wp_link_pages('before=<div class="page-link">' . __( 'Pages:', 'twentyten' ) . '&after=</div>') ?>
|
||||
<?php wp_link_pages( 'before=<div class="page-link">' . __( 'Pages:', 'twentyten' ) . '&after=</div>' ); ?>
|
||||
</div><!-- .entry-summary -->
|
||||
|
||||
<?php if ( $post->post_type == 'post' ) { ?>
|
||||
<?php if ( $post->post_type != 'page' ) : ?>
|
||||
<div class="entry-utility">
|
||||
<span class="cat-links"><span class="entry-utility-prep entry-utility-prep-cat-links"><?php _e( 'Posted in ', 'twentyten' ); ?></span><?php echo get_the_category_list(', '); ?></span>
|
||||
<span class="meta-sep"> | </span>
|
||||
<?php the_tags( '<span class="tag-links"><span class="entry-utility-prep entry-utility-prep-tag-links">' . __('Tagged ', 'twentyten' ) . '</span>', ", ", "</span>\n\t\t\t\t\t\t<span class=\"meta-sep\">|</span>\n" ) ?>
|
||||
<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ) ?></span>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t\n" ) ?>
|
||||
<?php the_tags( '<span class="tag-links"><span class="entry-utility-prep entry-utility-prep-tag-links">' . __('Tagged ', 'twentyten' ) . '</span>', ", ", "</span>\n\t\t\t\t\t\t<span class=\"meta-sep\">|</span>\n" ); ?>
|
||||
<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t\n" ); ?>
|
||||
</div><!-- #entry-utility -->
|
||||
<?php } ?>
|
||||
<?php endif; ?>
|
||||
</div><!-- #post-<?php the_ID(); ?> -->
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
<?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?>
|
||||
<div id="nav-below" class="navigation">
|
||||
<div class="nav-previous"><?php next_posts_link(__( '<span class="meta-nav">←</span> Older posts', 'twentyten' )) ?></div>
|
||||
<div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' )) ?></div>
|
||||
<div class="nav-previous"><?php next_posts_link(__( '<span class="meta-nav">←</span> Older posts', 'twentyten' )); ?></div>
|
||||
<div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' )); ?></div>
|
||||
</div><!-- #nav-below -->
|
||||
<?php } ?>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<div id="post-0" class="post no-results not-found">
|
||||
<h2 class="entry-title"><?php _e( 'Nothing Found', 'twentyten' ) ?></h2>
|
||||
<h2 class="entry-title"><?php _e( 'Nothing Found', 'twentyten' ); ?></h2>
|
||||
<div class="entry-content">
|
||||
<p><?php _e( 'Sorry, but nothing matched your search criteria. Please try again with some different keywords.', 'twentyten' ); ?></p>
|
||||
<?php get_search_form(); ?>
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
<?php
|
||||
if ( is_active_sidebar('first-footer-widget-area') || is_active_sidebar('second-footer-widget-area') || is_active_sidebar('third-footer-widget-area') || is_active_sidebar('fourth-footer-widget-area') ) :
|
||||
if ( is_active_sidebar('first-footer-widget-area') ||
|
||||
is_active_sidebar('second-footer-widget-area') ||
|
||||
is_active_sidebar('third-footer-widget-area') ||
|
||||
is_active_sidebar('fourth-footer-widget-area') ) :
|
||||
?>
|
||||
<div id="footer-widget-area">
|
||||
<?php if ( is_active_sidebar('first-footer-widget-area') ) : ?>
|
||||
|
|
|
@ -6,20 +6,18 @@
|
|||
</li>
|
||||
|
||||
<li id="archives" class="widget-container">
|
||||
<h3 class="widget-title"><?php _e('Archives', 'twentyten') ?></h3>
|
||||
<h3 class="widget-title"><?php _e( 'Archives', 'twentyten' ); ?></h3>
|
||||
<ul>
|
||||
<?php wp_get_archives('type=monthly') ?>
|
||||
<?php wp_get_archives( 'type=monthly' ); ?>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li id="meta" class="widget-container">
|
||||
<h3 class="widget-title"><?php _e('Meta', 'twentyten') ?></h3>
|
||||
<h3 class="widget-title"><?php _e( 'Meta', 'twentyten' ); ?></h3>
|
||||
<ul>
|
||||
<?php wp_register() ?>
|
||||
|
||||
<li><?php wp_loginout() ?></li>
|
||||
<?php wp_meta() ?>
|
||||
|
||||
<?php wp_register(); ?>
|
||||
<li><?php wp_loginout(); ?></li>
|
||||
<?php wp_meta(); ?>
|
||||
</ul>
|
||||
</li>
|
||||
<?php endif; // end primary widget area ?>
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
<?php the_post(); ?>
|
||||
|
||||
<div id="nav-above" class="navigation">
|
||||
<div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">←</span> %title' ) ?></div>
|
||||
<div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">→</span>' ) ?></div>
|
||||
<div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">←</span> %title' ); ?></div>
|
||||
<div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">→</span>' ); ?></div>
|
||||
</div><!-- #nav-above -->
|
||||
|
||||
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
|
@ -15,16 +15,15 @@
|
|||
|
||||
<div class="entry-meta">
|
||||
<span class="meta-prep meta-prep-author"><?php _e( 'Posted by ', 'twentyten' ); ?></span>
|
||||
<span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span>
|
||||
<span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ); ?>"><?php the_author(); ?></a></span>
|
||||
<span class="meta-sep"><?php _e( ' on ', 'twentyten' ); ?> </span>
|
||||
<a href="<?php
|
||||
the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><span class="entry-date"><?php echo get_the_date(); ?></span></a>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t" ) ?>
|
||||
<a href="<?php the_permalink(); ?>" title="<?php the_time(); ?>" rel="bookmark"><span class="entry-date"><?php echo get_the_date(); ?></span></a>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t" ); ?>
|
||||
</div><!-- .entry-meta -->
|
||||
|
||||
<div class="entry-content">
|
||||
<?php the_content(); ?>
|
||||
<?php wp_link_pages('before=<div class="page-link">' . __( 'Pages:', 'twentyten' ) . '&after=</div>') ?>
|
||||
<?php wp_link_pages( 'before=<div class="page-link">' . __( 'Pages:', 'twentyten' ) . '&after=</div>' ); ?>
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<?php if ( get_the_author_meta('description') ) : // If a user has filled out their decscription show a bio on their entries ?>
|
||||
|
@ -36,7 +35,7 @@ the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><
|
|||
<h2><?php _e( 'About ', 'twentyten' ); ?><?php the_author(); ?></h2>
|
||||
<?php the_author_meta('description'); ?>
|
||||
<div id="author-link">
|
||||
<a href="<?php echo get_author_posts_url( $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), $authordata->display_name ); ?>"><?php _e('View all posts by ', 'twentyten'); ?><?php the_author(); ?> →</a>
|
||||
<a href="<?php echo get_author_posts_url( $authordata->ID ); ?>" title="<?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ); ?>"><?php _e( 'View all posts by ', 'twentyten' ); ?><?php the_author(); ?> →</a>
|
||||
</div><!-- #author-link -->
|
||||
</div><!-- #author-description -->
|
||||
</div><!-- .entry-author-info -->
|
||||
|
@ -48,15 +47,15 @@ the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><
|
|||
get_the_tag_list( __( ' and tagged ', 'twentyten' ), ', ', '' ),
|
||||
get_permalink(),
|
||||
the_title_attribute('echo=0'),
|
||||
get_post_comments_feed_link() ) ?>
|
||||
get_post_comments_feed_link() ); ?>
|
||||
|
||||
<?php edit_post_link( __( 'Edit', 'twentyten' ), "\n\t\t\t\t\t<span class=\"edit-link\">", "</span>" ) ?>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyten' ), "\n\t\t\t\t\t<span class=\"edit-link\">", "</span>" ); ?>
|
||||
</div><!-- .entry-utility -->
|
||||
</div><!-- #post-<?php the_ID(); ?> -->
|
||||
|
||||
<div id="nav-below" class="navigation">
|
||||
<div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">←</span> %title' ) ?></div>
|
||||
<div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">→</span>' ) ?></div>
|
||||
<div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">←</span> %title' ); ?></div>
|
||||
<div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">→</span>' ); ?></div>
|
||||
</div><!-- #nav-below -->
|
||||
|
||||
<?php comments_template( '', true ); ?>
|
||||
|
|
|
@ -5,14 +5,14 @@
|
|||
|
||||
<?php the_post(); ?>
|
||||
|
||||
<h1 class="page-title"><?php _e( 'Tag Archives:', 'twentyten' ) ?> <span><?php single_tag_title() ?></span></h1>
|
||||
<h1 class="page-title"><?php _e( 'Tag Archives: ', 'twentyten' ); ?><span><?php single_tag_title(); ?></span></h1>
|
||||
|
||||
<?php rewind_posts(); ?>
|
||||
|
||||
<?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?>
|
||||
<div id="nav-above" class="navigation">
|
||||
<div class="nav-previous"><?php next_posts_link(__( '<span class="meta-nav">←</span> Older posts', 'twentyten' )) ?></div>
|
||||
<div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' )) ?></div>
|
||||
<div class="nav-previous"><?php next_posts_link(__( '<span class="meta-nav">←</span> Older posts', 'twentyten' )); ?></div>
|
||||
<div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' )); ?></div>
|
||||
</div><!-- #nav-above -->
|
||||
<?php } ?>
|
||||
|
||||
|
@ -23,9 +23,9 @@
|
|||
|
||||
<div class="entry-meta">
|
||||
<span class="meta-prep meta-prep-author"><?php _e( 'Posted on ', 'twentyten' ); ?></span>
|
||||
<a href="<?php the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><span class="entry-date"><?php echo get_the_date(); ?></span></a>
|
||||
<a href="<?php the_permalink(); ?>" title="<?php the_time(); ?>" rel="bookmark"><span class="entry-date"><?php echo get_the_date(); ?></span></a>
|
||||
<span class="meta-sep"><?php _e( ' by ', 'twentyten' ); ?></span>
|
||||
<span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span>
|
||||
<span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID ); ?>" title="<?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ); ?>"><?php the_author(); ?></a></span>
|
||||
</div><!-- .entry-meta -->
|
||||
|
||||
<div class="entry-summary">
|
||||
|
@ -34,12 +34,12 @@
|
|||
|
||||
<div class="entry-utility">
|
||||
<span class="cat-links"><span class="entry-utility-prep entry-utility-prep-cat-links"><?php _e( 'Posted in ', 'twentyten' ); ?></span><?php echo get_the_category_list( ', ' ); ?></span>
|
||||
<span class="meta-sep"> | </span>
|
||||
<span class="meta-sep"><?php _e( ' | ', 'twentyten' ); ?></span>
|
||||
<?php if ( $tag_ur_it = tag_ur_it(', ') ) : // Returns tags other than the one queried ?>
|
||||
<span class="tag-links"><?php printf( __( 'Also tagged %s', 'twentyten' ), $tag_ur_it ) ?></span>
|
||||
<span class="tag-links"><?php printf( __( 'Also tagged %s', 'twentyten' ), $tag_ur_it ); ?></span>
|
||||
<?php endif; ?>
|
||||
<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ) ?></span>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t\n" ) ?>
|
||||
<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t\n" ); ?>
|
||||
</div><!-- #entry-utility -->
|
||||
</div><!-- #post-<?php the_ID(); ?> -->
|
||||
|
||||
|
@ -47,8 +47,8 @@
|
|||
|
||||
<?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?>
|
||||
<div id="nav-below" class="navigation">
|
||||
<div class="nav-previous"><?php next_posts_link(__( '<span class="meta-nav">←</span> Older posts', 'twentyten' )) ?></div>
|
||||
<div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' )) ?></div>
|
||||
<div class="nav-previous"><?php next_posts_link(__( '<span class="meta-nav">←</span> Older posts', 'twentyten' )); ?></div>
|
||||
<div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' )); ?></div>
|
||||
</div><!-- #nav-below -->
|
||||
<?php } ?>
|
||||
|
||||
|
|
Loading…
Reference in New Issue