Ticket #3767: changes.diff
| File changes.diff, 3.8 KB (added by johnbillion, 6 years ago) |
|---|
-
archive.php
34 34 <?php while (have_posts()) : the_post(); ?> 35 35 <div class="post"> 36 36 <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3> 37 <small><?php the_ time('l, F jS, Y') ?></small>37 <small><?php the_date('') ?></small> 38 38 39 39 <div class="entry"> 40 40 <?php the_content() ?> -
attachment.php
26 26 You'll need to download this plugin, and follow the instructions: 27 27 http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */ 28 28 /* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?> 29 on <?php the_ time('l, F jS, Y') ?> at <?php the_time() ?>29 on <?php the_date() ?> at <?php the_time() ?> 30 30 and is filed under <?php the_category(', ') ?>. 31 31 You can follow any responses to this entry through the <?php comments_rss_link('RSS 2.0'); ?> feed. 32 32 -
comments.php
33 33 <?php endif; ?> 34 34 <br /> 35 35 36 <small class="commentmetadata"><a href="#comment-<?php comment_ID() ?>" title=""><?php comment_date( 'F jS, Y') ?> at <?php comment_time() ?></a> <?php edit_comment_link('e','',''); ?></small>36 <small class="commentmetadata"><a href="#comment-<?php comment_ID() ?>" title=""><?php comment_date() ?> at <?php comment_time() ?></a> <?php edit_comment_link('e','',''); ?></small> 37 37 38 38 <?php comment_text() ?> 39 39 -
index.php
8 8 9 9 <div class="post" id="post-<?php the_ID(); ?>"> 10 10 <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2> 11 <small><?php the_ time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>11 <small><?php the_date() ?> <!-- by <?php the_author() ?> --></small> 12 12 13 13 <div class="entry"> 14 14 <?php the_content('Read the rest of this entry »'); ?> -
search.php
16 16 17 17 <div class="post"> 18 18 <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3> 19 <small><?php the_ time('l, F jS, Y') ?></small>19 <small><?php the_date() ?></small> 20 20 21 21 <p class="postmetadata">Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p> 22 22 </div> -
single.php
24 24 You'll need to download this plugin, and follow the instructions: 25 25 http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */ 26 26 /* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?> 27 on <?php the_ time('l, F jS, Y') ?> at <?php the_time() ?>27 on <?php the_date() ?> at <?php the_time() ?> 28 28 and is filed under <?php the_category(', ') ?>. 29 29 You can follow any responses to this entry through the <?php comments_rss_link('RSS 2.0'); ?> feed. 30 30