Changeset 64 for trunk/wp-content/themes/xpress_default/single.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/single.php
r32 r64 20 20 <?php if (function_exists('hotDates')) { hotDates(); }?> 21 21 <h2><?php the_title(); ?></h2> 22 <small><?php the_time(__('F jS, Y', ' kubrick')) ?> <!-- by <?php the_author() ?> --></small>22 <small><?php the_time(__('F jS, Y', 'xpress')) ?> <!-- by <?php the_author() ?> --></small> 23 23 24 24 <div class="entry"> 25 <?php the_content('<p class="serif">' . __('Read the rest of this entry »', ' kubrick') . '</p>'); ?>25 <?php the_content('<p class="serif">' . __('Read the rest of this entry »', 'xpress') . '</p>'); ?> 26 26 27 <?php wp_link_pages(array('before' => '<p><strong>' . __('Pages:', ' kubrick') . '</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>28 <?php echo '<p class="postmeta">' ;/* _e('Posted:', ' kubrick'); echo ' '; the_author_posts_link(); echo '<br />' ; */?><?php if(function_exists('the_tags')) : ?><?php the_tags(__('Tags:', 'kubrick') . ' ', ', ', '<br />'); ?><?php endif; ?><?php printf(__('Posted in %s', 'kubrick'), get_the_category_list(' • ') . '</p>'); ?>27 <?php wp_link_pages(array('before' => '<p><strong>' . __('Pages:', 'xpress') . '</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> 28 <?php echo '<p class="postmeta">' ;/* _e('Posted:', 'xpress'); echo ' '; the_author_posts_link(); echo '<br />' ; */?><?php if(function_exists('the_tags')) : ?><?php the_tags(__('Tags:', 'xpress') . ' ', ', ', '<br />'); ?><?php endif; ?><?php printf(__('Posted in %s', 'xpress'), get_the_category_list(' • ') . '</p>'); ?> 29 29 30 30 <p class="postmetadata alt"> … … 33 33 You'll need to download this plugin, and follow the instructions: 34 34 http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */ 35 /* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); $time_since = sprintf(__('%s ago', ' kubrick'), time_since($entry_datetime)); */ ?>36 <?php printf(__('This entry was posted %1$s on %2$s at %3$s and is filed under %4$s.', ' kubrick'), $time_since, get_the_time(__('l, F jS, Y', 'kubrick')), get_the_time(), get_the_category_list(' • ')); ?>35 /* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); $time_since = sprintf(__('%s ago', 'xpress'), time_since($entry_datetime)); */ ?> 36 <?php printf(__('This entry was posted %1$s on %2$s at %3$s and is filed under %4$s.', 'xpress'), $time_since, get_the_time(__('l, F jS, Y', 'xpress')), get_the_time(), get_the_category_list(' • ')); ?> 37 37 <?php if (function_exists('get_post_comments_feed_link')) : ?> 38 <?php printf(__("You can follow any responses to this entry through the <a href='%s'>RSS 2.0</a> feed.", " kubrick"), get_post_comments_feed_link()); ?>38 <?php printf(__("You can follow any responses to this entry through the <a href='%s'>RSS 2.0</a> feed.", "xpress"), get_post_comments_feed_link()); ?> 39 39 <?php else : ?> 40 <?php _e('You can follow any responses to this entry through the', ' kubrick'); ?><?php comments_rss_link('RSS 2.0'); ?><?php _e('feed.', 'kubrick'); ?>40 <?php _e('You can follow any responses to this entry through the', 'xpress'); ?><?php comments_rss_link('RSS 2.0'); ?><?php _e('feed.', 'xpress'); ?> 41 41 <?php endif; ?> 42 42 43 43 <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) { 44 44 // Both Comments and Pings are open ?> 45 <?php printf(__('You can <a href="#respond">leave a response</a>, or <a href="%s" rel="trackback">trackback</a> from your own site.', ' kubrick'), trackback_url(false)); ?>45 <?php printf(__('You can <a href="#respond">leave a response</a>, or <a href="%s" rel="trackback">trackback</a> from your own site.', 'xpress'), trackback_url(false)); ?> 46 46 47 47 <?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) { 48 48 // Only Pings are Open ?> 49 <?php printf(__('Responses are currently closed, but you can <a href="%s" rel="trackback">trackback</a> from your own site.', ' kubrick'), trackback_url(false)); ?>49 <?php printf(__('Responses are currently closed, but you can <a href="%s" rel="trackback">trackback</a> from your own site.', 'xpress'), trackback_url(false)); ?> 50 50 51 51 <?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) { 52 52 // Comments are open, Pings are not ?> 53 <?php _e('You can skip to the end and leave a response. Pinging is currently not allowed.', ' kubrick'); ?>53 <?php _e('You can skip to the end and leave a response. Pinging is currently not allowed.', 'xpress'); ?> 54 54 55 55 <?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) { 56 56 // Neither Comments, nor Pings are open ?> 57 <?php _e('Both comments and pings are currently closed.', ' kubrick'); ?>57 <?php _e('Both comments and pings are currently closed.', 'xpress'); ?> 58 58 59 <?php } edit_post_link(__('Edit this entry', ' kubrick'),'','.'); ?>59 <?php } edit_post_link(__('Edit this entry', 'xpress'),'','.'); ?> 60 60 61 61 </small> … … 69 69 <?php endwhile; else: ?> 70 70 71 <p><?php _e('Sorry, no posts matched your criteria.', ' kubrick'); ?></p>71 <p><?php _e('Sorry, no posts matched your criteria.', 'xpress'); ?></p> 72 72 73 73 <?php endif; ?>
Note: See TracChangeset
for help on using the changeset viewer.