Changeset 64 for trunk/wp-content/themes/xpress_default/archive.php
- Timestamp:
- Jan 8, 2009, 9:20:19 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/xpress_default/archive.php
r47 r64 25 25 <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?> 26 26 <?php /* If this is a category archive */ if (is_category()) { ?> 27 <p class="xpress_pagetitle"><?php printf(__('Archive for the ‘%s’ Category', ' kubrick'), single_cat_title('', false)); ?></p>27 <p class="xpress_pagetitle"><?php printf(__('Archive for the ‘%s’ Category', 'xpress'), single_cat_title('', false)); ?></p> 28 28 <?php /* If this is a tag archive */ } elseif( is_tag() ) { ?> 29 <p class="xpress_pagetitle"><?php printf(__('Posts Tagged ‘%s’', ' kubrick'), single_tag_title('', false) ); ?></p>29 <p class="xpress_pagetitle"><?php printf(__('Posts Tagged ‘%s’', 'xpress'), single_tag_title('', false) ); ?></p> 30 30 <?php /* If this is a daily archive */ } elseif (is_day()) { ?> 31 <p class="xpress_pagetitle"><?php printf(_c('Archive for %s|Daily archive page', ' kubrick'), get_the_time(__('F jS, Y', 'kubrick'))); ?></p>31 <p class="xpress_pagetitle"><?php printf(_c('Archive for %s|Daily archive page', 'xpress'), get_the_time(__('F jS, Y', 'xpress'))); ?></p> 32 32 <?php /* If this is a monthly archive */ } elseif (is_month()) { ?> 33 <p class="xpress_pagetitle"><?php printf(_c('Archive for %s|Monthly archive page', ' kubrick'), get_the_time(__('F, Y', 'kubrick'))); ?></p>33 <p class="xpress_pagetitle"><?php printf(_c('Archive for %s|Monthly archive page', 'xpress'), get_the_time(__('F, Y', 'xpress'))); ?></p> 34 34 <?php /* If this is a yearly archive */ } elseif (is_year()) { ?> 35 <p class="xpress_pagetitle"><?php printf(_c('Archive for %s|Yearly archive page', ' kubrick'), get_the_time(__('Y', 'kubrick'))); ?></p>35 <p class="xpress_pagetitle"><?php printf(_c('Archive for %s|Yearly archive page', 'xpress'), get_the_time(__('Y', 'xpress'))); ?></p> 36 36 <?php /* If this is an author archive */ } elseif (is_author()) { ?> 37 <p class="xpress_pagetitle"><?php echo get_author_name( get_query_var('author')); _e('Author Archive', ' kubrick'); ?></p>37 <p class="xpress_pagetitle"><?php echo get_author_name( get_query_var('author')); _e('Author Archive', 'xpress'); ?></p> 38 38 <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> 39 <p class="xpress_pagetitle"><?php _e('Blog Archives', ' kubrick'); ?></p>39 <p class="xpress_pagetitle"><?php _e('Blog Archives', 'xpress'); ?></p> 40 40 <?php } ?> 41 41 <?php else : ?> … … 69 69 <div class="post"> 70 70 <?php if (function_exists('hotDates')) { hotDates(); }?> 71 <h2 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" <?php if(function_exists('the_title_attribute')) : ?>title="<?php printf(__('Permanent Link to %s', ' kubrick'), the_title_attribute('echo=0')); ?>"<?php endif; ?>><?php the_title(); ?></a></h2>72 <small><?php the_time(__('l, F jS, Y', ' kubrick')) ?></small>71 <h2 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" <?php if(function_exists('the_title_attribute')) : ?>title="<?php printf(__('Permanent Link to %s', 'xpress'), the_title_attribute('echo=0')); ?>"<?php endif; ?>><?php the_title(); ?></a></h2> 72 <small><?php the_time(__('l, F jS, Y', 'xpress')) ?></small> 73 73 74 74 <div class="entry"> … … 76 76 </div> 77 77 78 <p class="postmetadata"><?php if(function_exists('the_tags')) : ?><?php the_tags(__('Tags:', ' kubrick'), ', ', '<br />'); ?><?php endif; ?> <?php printf(__('Posted in %s', 'kubrick'), get_the_category_list(', ')); ?> | <?php edit_post_link(__('Edit', 'kubrick'), '', ' | '); ?> <?php comments_popup_link(__('No Comments »', 'kubrick'), __('1 Comment »', 'kubrick'), __('% Comments »', 'kubrick'), '', __('Comments Closed', 'kubrick') ); ?></p>78 <p class="postmetadata"><?php if(function_exists('the_tags')) : ?><?php the_tags(__('Tags:', 'xpress'), ', ', '<br />'); ?><?php endif; ?> <?php printf(__('Posted in %s', 'xpress'), get_the_category_list(', ')); ?> | <?php edit_post_link(__('Edit', 'xpress'), '', ' | '); ?> <?php comments_popup_link(__('No Comments »', 'xpress'), __('1 Comment »', 'xpress'), __('% Comments »', 'xpress'), '', __('Comments Closed', 'xpress') ); ?></p> 79 79 80 80 </div> … … 87 87 <?php else : ?> 88 88 <div class="xpress_navigation"> 89 <div class="alignleft"><?php next_posts_link(__('« Older Entries', ' kubrick')) ?></div>90 <div class="alignright"><?php previous_posts_link(__('Newer Entries »', ' kubrick')) ?></div>89 <div class="alignleft"><?php next_posts_link(__('« Older Entries', 'xpress')) ?></div> 90 <div class="alignright"><?php previous_posts_link(__('Newer Entries »', 'xpress')) ?></div> 91 91 </div> 92 92 <?php endif; ?> 93 93 <?php else : ?> 94 94 95 <p class="center"><?php _e('Not Found', ' kubrick'); ?></p>95 <p class="center"><?php _e('Not Found', 'xpress'); ?></p> 96 96 <?php include (get_template_directory() . '/searchform.php'); ?> 97 97
Note: See TracChangeset
for help on using the changeset viewer.