1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Dynamic comment dates in Wordpress?

Discussion in 'Blogging' started by meathead1234, May 26, 2011.

  1. meathead1234

    meathead1234 Moderator Staff Member Moderator Premium Member

    Joined:
    Sep 24, 2008
    Messages:
    3,816
    Likes Received:
    13,935
    Hey guys,

    Probably a stupid question, but currently working on a site where I want to have a number of blog comments with a dynamic date.... the same way it works on flogs.

    So I'll have:

    Fake comment one, date [today]

    Fake comment two, date [today-2]

    etc.

    Does anyone know an easy way to do this? Any plugins? I don't want my coder to spend all day on it if possible.

    Thanks!
     
  2. BHLurker

    BHLurker Junior Member

    Joined:
    Mar 30, 2011
    Messages:
    172
    Likes Received:
    74
    Location:
    Antarctica
    You could try to post the comments one after another and then change the date on the db!
    Its kinda tedious but it might work
     
  3. meathead1234

    meathead1234 Moderator Staff Member Moderator Premium Member

    Joined:
    Sep 24, 2008
    Messages:
    3,816
    Likes Received:
    13,935
    Yeah... that's what we've done so far.

    But ideally I want it to be dynamic so we can leave the site running and the comments will always look recent.
     
  4. neakoner

    neakoner Newbie

    Joined:
    Aug 12, 2009
    Messages:
    25
    Likes Received:
    4
    Do you want the date randomised each load of the page, or just them changed one time for a random date?
     
  5. meathead1234

    meathead1234 Moderator Staff Member Moderator Premium Member

    Joined:
    Sep 24, 2008
    Messages:
    3,816
    Likes Received:
    13,935
    I want the dates on the comments to be similar to the date they visit the site.

    So if it's 26th May 2011, I want all the comments to be from May 2011.

    If it's 26th May 2012, I want all the comments to be dated May 2012 so it all looks up to date.

    This is how it's done on flogs/farticles so wondered how they do it.