Change date format in events list widget

Home Forums Calendar Products Events Calendar PRO Change date format in events list widget

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #9892
    Andrew
    Participant

    Hi,

    I’d like to shorten the date format in the events list widget, as it’s currently too long for the footer column in the site design I’m working with. Can you please explain how I do this, as I see no place to do it in the events-list-load-widget-display.php file (copied to my theme folder).

    Thanks, Ab

    #9913
    Rob
    Member

    Sure thing Andrew. That’s a bit outside my area of expertise too, but I’ve got our developer taking a look at this and should be able to get you a response shortly. Stay tuned.

    #10045
    Wesley E Childers
    Participant

    Looking for this function as well.. it used to be clear how to override it.. but now it appears to use the default date format under general settings.

    #10063
    Rob
    Member

    Hey guys, I talked to the developer about this today. Looks like you can pass a date format to tribe_get_start_date to make this happen.

    #10083
    Wesley E Childers
    Participant

    Any chance of a code sample?

    #10087
    Rob
    Member

    Sure, I can see what the dev suggests. Give me a day or so to get a response from him on this.

    #10350
    Rob
    Member

    Hey Wes, sure. Here’s an example:

    tribe_get_start_date( get_the_ID(), false, ‘d/m/y’)

    This is obviously a very generic example and most likely will need to be changed depending on what exactly you’re aiming to do, but that’s the direction to take.

    #974577
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Change date format in events list widget’ is closed to new replies.