All Good Things Must Come To An End

As you all know, I have been doing WordPress plugins and supporting it for the past 6 years. These 6 years of my life, I have been through my polytechnic education, my national service as well as my university education.

I just graduated from university in December 2009 and have been looking for full-time jobs. I am offered a full-time job and will be starting work on 1st February 2010.

I regret to say that I am NOT ABLE to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

However, I WILL still update my plugins whenever I can and you still can report bugs to me via email and I will try to fix it.

Author Topic: Is there a way to configure the automatic behavior ?  (Read 5194 times)

0 Members and 1 Guest are viewing this topic.

Offline ddeconin

  • Newbie
  • *
  • Posts: 4
    • View Profile
I would only like to have the relative date in places where I explicitly code  the relative date functions, not everywhere on my blog.
Can this be done ?

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: Is there a way to configure the automatic behavior ?
« Reply #1 on: 07 March 2009, 11:54 »
Nope. It will hook onto wp functions

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline ddeconin

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Is there a way to configure the automatic behavior ?
« Reply #2 on: 08 March 2009, 08:21 »
It would be nice if you could add an option to do just that.
Or altenatively get relativedate added as a built in feature of wordpess ?

Offline Archon810

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Is there a way to configure the automatic behavior ?
« Reply #3 on: 07 November 2010, 03:37 »
I just downloaded this plugin and was shocked that Lester made it fire by default. All I wanted to do was use the functions without any existing dates getting affected.

The fix is easy though. Here you go - stick this into your functions.php:

remove_filter('the_date', 'relative_post_date', 999, 4);
remove_filter('the_time', 'relative_post_time', 999);
remove_filter('get_comment_time', 'relative_comment_time', 999);
remove_filter('get_comment_date', 'relative_comment_date', 999);