[Resolved] Code to display the latest post publication time in "time ago"
ve been trying and failing for 2 days to get a code working and as a last resort i ask for your help.. usually i like to solve my own problems but this is beyond me because its a two step one and also i`m not a php literate.
What i want: in a sidebar widget to have something like “latest post: 2 minutes ago”.. there are other stats aswell in the same widget like the total posts, but those i managed to make them work..
so the first step is to get the latest post publication time and the second is to convert it in time ago with that human_diff function.. i just could not blend these two together.. any help much appreciated
- The topic ‘[Resolved] Code to display the latest post publication time in "time ago"’ is closed to new replies.