Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Updated content notifications? Re: Updated content notifications?

#97452
Kahil
Member

Ummm… Ok… I don’t know how to do that…sorry, just learning some things. I’m pretty good at understanding javascript when analyzing completed script and then figuring out what does what, but I don’t know how to do so from scratch.

I don’t need a script that checks the page itself, WordPress already has a php code that does that. I’m looking for something more specific that pulls the timestamp for different custom fields on the page.

I’m trying to keep it real simple here. Just looking for a way to pull the timestamp for custom fields. If the custom field was added, edited or modified on today’s date, then instead of outputting date format it would output and display as “today”. That way can I use that outputted text as a css class. If the div has the class of “today” then it would display something a little different to signify that it is new.