[Resolved] Add Time to Byline

Home Forums Support [Resolved] Add Time to Byline

Home Forums Support Add Time to Byline

  • This topic has 5 replies, 2 voices, and was last updated 9 years ago by Tom.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #102047
    Amy Preston

    Is there a way to add the time to the byline, after the date? I have GP Premium installed, adding the time doesn’t seem to be an option (unless I’m just missing it, which is totally possible). Absolutely love GP !

    #102067
    Tom
    Lead Developer
    Lead Developer

    The time is added as a title tag to the date (hover over the date to see it).

    Are you wanting what you see when you hover to show up after the date?

    #102226
    Amy Preston

    Holy Hyperlink Batman !!! I hadn’t noticed that it showed up as a title ! Sweet !

    Yes, though, I was trying to get it to show up after the date, such as:

    April 24, 2015 @ 4:15PM by Amy

    It’s not that critical, it was just me being OCD on a project. πŸ™‚ I can tinker with it too, as I’m sure there’s more important requests. Thanks for everything Tom. GP and you rock !

    #102439
    Tom
    Lead Developer
    Lead Developer

    Give this function a try: https://gist.github.com/generatepress/478c1ce1addf0f4f9726

    It should overwrite the core function and add the time as you need it.

    How to add PHP: http://generatepress.com/knowledgebase/adding-php-functions/

    Let me know πŸ™‚

    #102694
    Amy Preston

    Tom !

    Thank you SO much ! Works perfect !!! Thank you Thank you Thank you !

    Amy

    #102805
    Tom
    Lead Developer
    Lead Developer

    You’re very welcome πŸ™‚

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