WordPress.org

Make WordPress Core

Ticket #7250: timesince_plugin_url.diff

File timesince_plugin_url.diff, 736 bytes (added by Paveo, 6 years ago)
  • single.php

     
    2323                                                This entry was posted 
    2424                                                <?php /* This is commented, because it requires a little adjusting sometimes. 
    2525                                                        You'll need to download this plugin, and follow the instructions: 
    26                                                         http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */ 
     26                                                        http://binarybonsai.com/wordpress/time-since/ */ 
    2727                                                        /* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?> 
    2828                                                on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?> 
    2929                                                and is filed under <?php the_category(', ') ?>.