[Resolved] Post Time Under Title?

Home Forums Support [Resolved] Post Time Under Title?

Home Forums Support Post Time Under Title?

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #181486
    Aaron

    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.

    #181610
    Tom
    Lead Developer
    Lead Developer

    This might help: https://gist.github.com/generatepress/a2e15b0eaae6edca8324

    Let me know πŸ™‚

    #181623
    Aaron

    Works perfectly! Thanks Tom.

    #181637
    Tom
    Lead Developer
    Lead Developer

    You’re welcome πŸ™‚

    #209843
    Aaron

    Hey Tom, I tried doing this again recently and it seems to not be working. Am I doing something wrong or did something change?

    #209884
    Tom
    Lead Developer
    Lead Developer

    It should still work the exact same as before – are you sure everything is the same as when you did it before?

    #209896
    Aaron

    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!

    #209898
    Tom
    Lead Developer
    Lead Developer

    No worries! πŸ™‚

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.