Genesis Latest Tweets: How to Remove the Year & Hour

Community Forums Forums General Discussion Genesis Latest Tweets: How to Remove the Year & Hour

This topic is: resolved

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  Anthony Galli 12 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #52072

    Anthony Galli
    Participant
    Post count: 71

    Hi there,

    I’d like to keep the month and day and remove the year and hour. For example right now after every tweet it shows:

    July 21, 2013 5:37 am

    but I would just like it to show:

    July 21

    Can you help me? I would greatly appreciate it! Thank you in advance for taking the time to help.

    http://ChallengeHabit.com
    #52131

    Bill Murray
    Participant
    Post count: 572

    Interesting question. There are 2 ways:

    1) Change your date and time formats on Settings->General. The downside here is that the change will be global to your site, and maybe you don’t want that. But if that’s acceptable to you, it’s easy to do.

    2) Write some custom code that adds a filter to glt_render_date to adjust the format. You can look in the plugin code and read Nick’s tutorials on using filters in Genesis. If you’re not a programmer, this might be more than you want to tackle. It’s not a lot of code, but using filters like this is more of an intermediate skill.


    Web: http://wpperform.com or Twitter: @wpperform

    We do managed WordPress hosting.

    #52801

    Anthony Galli
    Participant
    Post count: 71

    Thanks Bill! I went with your first suggestion, but I will definitely keep your second point i the back of my mind. Thanks again!

    iRuleMan.com

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Genesis Latest Tweets: How to Remove the Year & Hour’ is closed to new replies.