Title: Absolute date?
Last modified: August 21, 2016

---

# Absolute date?

 *  Resolved [naoeobvio](https://wordpress.org/support/users/naoeobvio/)
 * (@naoeobvio)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/absolute-date/)
 * Hi, buddy. To me, your plugin is the best Recent Posts plugin already, lacking
   one feature, I dare to say: absolutre date. Is it possible to implement that?
 * Thanks.
 * [http://wordpress.org/extend/plugins/recent-posts-widget-extended/](http://wordpress.org/extend/plugins/recent-posts-widget-extended/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [troy7890](https://wordpress.org/support/users/troy7890/)
 * (@troy7890)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/absolute-date/#post-3916178)
 * Same request for me.
 * I see the code here is what needs to be edited – perhaps someone can figure out
   what to change it to.
 * widget-recent-posts-extended.php
 *     ```
       <?php if ($date == true) { ?>
       							<span class="rpwe-time"><?php echo human_time_diff(get_the_time('U'), current_time('timestamp')) . __(' ago', 'rpwe'); ?></span>
       						<?php } ?>
       ```
   
 *  [troy7890](https://wordpress.org/support/users/troy7890/)
 * (@troy7890)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/absolute-date/#post-3916181)
 * Follow up – after tinkering I’ve figured it out.
 * Change the above code to
 *     ```
       <?php if ($date == true) { ?>
       	<span class="rpwe-time"><?php echo get_the_date(); ?></span>current_time('timestamp')) . __(' ago', 'rpwe'); ?></span>
       	<?php } ?>
       ```
   
 *  Thread Starter [naoeobvio](https://wordpress.org/support/users/naoeobvio/)
 * (@naoeobvio)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/absolute-date/#post-3916185)
 * Thanks troy7890 for the response. In fact, there’s a leftover in your code, probably
   a copy/paste error. This code works.
 * <?php if ($date == true) { ?>
    <span class=”rpwe-time”><?php echo get_the_date();?
   > <?php } ?>
 * Thank you very much.
 *  [troy7890](https://wordpress.org/support/users/troy7890/)
 * (@troy7890)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/absolute-date/#post-3916186)
 * Wow yeah, I really did paste that in wrong and didn’t bother to check it afterwards.
   Sorry about that.
 * So just replace what’s on line 104 of widget-recent-posts-extended.php with this
   `
   <span class="rpwe-time"><?php echo get_the_date(); ?></span>`
 * Glad I could help.
 *  Plugin Author [satrya](https://wordpress.org/support/users/satrya/)
 * (@satrya)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/absolute-date/#post-3916188)
 * Hmmm.. Maybe in the future I should offer to change the date settings. For everyone
   who needs to change the date output, the code from [@troy7890](https://wordpress.org/support/users/troy7890/)
   and [@naoeobvio](https://wordpress.org/support/users/naoeobvio/) should works.
 * Thanks to both of you.
 *  Thread Starter [naoeobvio](https://wordpress.org/support/users/naoeobvio/)
 * (@naoeobvio)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/absolute-date/#post-3916193)
 * [@troy7890](https://wordpress.org/support/users/troy7890/)
 * Ops, I cut the span tag in the end. Thanks for the corrected code.
 * [@satrya](https://wordpress.org/support/users/satrya/)
 * An option would be nice, since your plugin is the best Recent Posts I could find.
   But I can’t ask for more, it’s great as it is. And as a workaround I made a copy
   of the plugin, renamed the plugin and widget adding ´Fixed Date´ to both, so 
   I can use them in diffenrent ocasions.
    Thank you very much for your support.
 *  Plugin Author [satrya](https://wordpress.org/support/users/satrya/)
 * (@satrya)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/absolute-date/#post-3916266)
 * Please update to 0.8, I already added the absolute date option 😉

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Absolute date?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/recent-posts-widget-extended_3384ca.
   svg)
 * [Recent Posts Widget Extended](https://wordpress.org/plugins/recent-posts-widget-extended/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/recent-posts-widget-extended/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/recent-posts-widget-extended/)
 * [Active Topics](https://wordpress.org/support/plugin/recent-posts-widget-extended/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/recent-posts-widget-extended/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/recent-posts-widget-extended/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [satrya](https://wordpress.org/support/users/satrya/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/absolute-date/#post-3916266)
 * Status: resolved