Change month format in widget

Home Forums Calendar Products Events Calendar PRO Change month format in widget

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #16324
    Joseph
    Participant

    I’m using the template code to display the mini calendar on a page. I’ve got the CSS just the way I want, but I’d like to change the month format from short form (Mar, Apr) to standard (March, April). Is that possible – if so, how?

    Thanks – I’m really digging the calendar and looking forward to using it in more sites.

    Best – Joe

    #16380
    Rob
    Member

    Hey Joe. Thanks for the words! This should be doable but I’m not sure how; assume you’ve tried changing the overall WP settings to see if they have any impact? I’ve also asked our dev Jonah – a man more knowledgeable on these issues than I – to comment as well.

    #16385
    Joseph
    Participant

    I figured it out. First, I copied the files from the plugin Views folder to an Events folder in my theme. Then, I opened the table-mini.php file and changed line 24 from:

    monthsShort[date(‘M’,$date)]; echo date(‘ Y’,$date); ?>

    to

    monthsFull[date(‘F’,$date)]; echo date(‘ Y’,$date); ?>

    Took a little experimenting, but I’m glad to have sussed it out.

    Thanks for the response – I’m sure there will be more later.

    Best – Joe

    #16394
    Jonah
    Participant

    Bingo Joe, glad you figured it out!

    #975897
    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 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Change month format in widget’ is closed to new replies.