Home › Forums › Calendar Products › Events Calendar PRO › How can I include the abbreviated month in the Event List Shortcode view?
- This topic has 4 replies, 3 voices, and was last updated 8 years, 2 months ago by Support Droid.
-
AuthorPosts
-
January 20, 2016 at 10:22 am #1059362Robert HicklingParticipant
Hi there,
Thanks for the great plugins. I’d really like to include the 3-letter abbreviated month in the thumbnail calendar graphics to the left of each event in the event list in the shortcode view. Having just the day and date is a bit confusing from a user point of view. I’d even prefer to include the 3-letter month instead of the 3-letter day if that’s what’s possible. I’ve included some screenshots to help clarify my needs. Thanks for the support!Current and Desired Displays
http://173.254.111.227/ritesofpassagevisionquest/wp-content/uploads/2016/01/Screen-Shot-2016-01-20-at-10.12.00-AM.pngRobert
- This topic was modified 8 years, 3 months ago by Robert Hickling.
January 20, 2016 at 10:00 pm #1059643CliffMemberHi Robert. Thanks for your question.
Please look in this file: /wp-content/plugins/events-calendar-pro/src/views/pro/widgets/modules/single-event.php
You may use the tribe-mini_helper_tribe_events_ajax_list_dayname filter to change “D” to “D M” (reference: http://php.net/manual/en/function.date.php)
Or you may want to override this template in your own theme by creating a file at [your-child-theme]/tribe-events/pro/widgets/modules/single-event.php, according to our Themer’s Guide.
I hope this information helps. Please let me know how it goes for you.
January 21, 2016 at 11:36 am #1060047Robert HicklingParticipantThat works splendidly. Thanks so much! I’m able to get the month and the date. I’m curious how I would create the Month and the Day name with a line break as in the mock? Right now they sit side by side if I put “D M”.
January 22, 2016 at 5:25 am #1060298CliffMemberIf you give me a link, I may be able to help, but I’d imagine there’s some way to do it via CSS. This may help: http://stackoverflow.com/questions/4212909/can-css-force-a-line-break-after-each-word-in-an-element
Let me know.
February 19, 2016 at 8:35 am #1078169Support DroidKeymasterThis 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 can I include the abbreviated month in the Event List Shortcode view?’ is closed to new replies.