Archived topic
Post Time Under Title?
7 replies · Started by Aaron on March 25, 2016
Hi there. I was searching through the forums on how to do something like this, and came across this post:
https://generatepress.com/forums/topic/modified-post-date/
I created a plugin with the PHP given and was pretty pleased, but I was wondering if the code was modifiable so I could get a specific format. What I'm going for is "DATE at TIME (hour:minute AM/PM) by AUTHOR".
It's partially there, I'm just trying to figure out how to add the time.
This might help: https://gist.github.com/generatepress/a2e15b0eaae6edca8324
Let me know :)
Works perfectly! Thanks Tom.
You're welcome :)
Hey Tom, I tried doing this again recently and it seems to not be working. Am I doing something wrong or did something change?
It should still work the exact same as before - are you sure everything is the same as when you did it before?
For some reason my plugin wasn't being listed and I couldn't activate it. Made a new one and it showed up and I was able to get it to work. Apologies!
No worries! :)
