Support » Plugins and Hacks » Hacks » Displaying 'days since first post' on each post

  • Resolved newyorkgeek

    (@newyorkgeek)


    Hi all,

    For each post, rather than display the date it was posted, I’d like to display the number of days since the first post. I’m happy to hardcode in the variable for the first post, and the maths/php to calculate ‘days since’ is fine, but I can’t figure out how to get the_time() (per post) as a variable, rather than simply printing it to screen.

    Any ideas?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Displaying 'days since first post' on each post’ is closed to new replies.