Ready to get started?Download WordPress


[Plugin: KB Advanced RSS] show relative dates (e.g. 2 hrs ago, 5 days ago)? (2 posts)

  1. estetson
    Posted 3 years ago #


    I'm using KB Advanced RSS widget -- http://wordpress.org/extend/plugins/kb-advanced-rss-widget/ -- and it's working great.

    There's a modification I want to make that I can't seem to figure out how to do myself. I'd like to display the pubdate for each item in an RSS feed as a relative date/time (e.g. how many minutes ago, hours ago, or days ago). I found these codes that can be used to display date/time in this kind of relative format:

    I have also found a couple of plugins that can be installed to do this kind of thing automatically, such as http://wordpress.org/extend/plugins/wp-relative-date/

    However, these are all for displaying the date/time of posts and comments, not items in an external RSS feed. I'm trying to figure out how to modify the code of the KB Advanced RSS widget so that pubdate will display in a similar way, but I'm stumped. The widget creator no longer provides support, but it's a popular plugin so there might be some people here who use it and have created mods for it already.

    Does anyone have any suggestions for how to do what I'm trying to do? Thanks for any help that anyone can provide!


  2. estetson
    Posted 3 years ago #

    Anyone interested?

    I'm willing to pay someone for code that will do what I need, if nobody wants to look at this without compensation.

Topic Closed

This topic has been closed to new replies.

About this Topic