Home › Forums › Calendar Products › Events Calendar PRO › How to show full name of the month?
- This topic has 7 replies, 4 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
December 22, 2013 at 3:22 pm #83235
petrivirta
ParticipantI’m using events calendar PRO and an mini-calendar widget.
How could I change that widget will show the full name of the month instead first three letters? (dec->december)
December 22, 2013 at 3:30 pm #83239elixirlab
ParticipantHello you just have to change the settings in wordpress general settings…the event calendar take the same format as the default settings of wordpress…for the full month it’s “F” january to december
for example l j F Y give you monday 24 december 2013December 22, 2013 at 3:32 pm #83240elixirlab
Participantthe F replace the M in the date format…look this link for all you need with date format http://php.net/manual/fr/function.date.php
December 23, 2013 at 10:12 am #83326petrivirta
ParticipantI wanna show full month in widgets month picker.
I changed ‘M’ to ‘F’ in file public/template-tags/widgets.php , but it’s not working. It shows nothing then. What is the right place to put that ‘F’ or what another files I need to change?What is
December 23, 2013 at 10:23 am #83332Barry
MemberHi petrivirta,
I’m guessing you mean the date at the top of the calendar widget and no where else – “Dec” in the example below?
If so, please review our Themer’s Guide first of all: you would probably in this case be interested in overriding and customizing pro/widgets/mini-calendar/grid.php – locate this piece of code:
<?php tribe_events_the_mini_calendar_title(); ?>Which you might change to:
<?php
$args = tribe_events_get_mini_calendar_args();
echo date_i18n( 'F Y', strtotime( $args['eventDate'] ) )
?>Does that help here?
December 23, 2013 at 10:29 am #83339petrivirta
ParticipantYes, that was the thing I was looking for!:)
Thaks for that and merry christmas.:)
December 23, 2013 at 10:50 am #83349Barry
MemberHappy to help … and merry christmas to you also!
If you have a moment and wished to post a review of The Events Calendar on our wordpress.org page that would certainly be appreciated.
Thanks again for posting and thanks also to @elixirlab for helping out here 🙂
July 7, 2015 at 6:30 am #982857Support Droid
KeymasterThis 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. -
AuthorPosts
- The topic ‘How to show full name of the month?’ is closed to new replies.

