Home › Forums › Calendar Products › Events Calendar PRO › Calendar View
- This topic has 4 replies, 3 voices, and was last updated 10 years, 10 months ago by
Support Droid.
-
AuthorPosts
-
August 21, 2013 at 6:46 pm #62380
Donna
ParticipantOn the Calendar page View, on the date of the event, I need to put a short time next to the Title (description). We are currently using a google calendar as my pastor wanted the calendar removed until we figure out how to put the date in – much like how the google calendar does – for example 10a Worship Service. I am working locally on a wamp server until I figure out how to do this so I cannot give you a screen shot of what I have. I have all plugins deactivated while I work on this. I am working also within a child theme of twenty-eleven. I created a directory called /tribe-events in my child theme but I can’t see anything like wrapper.php or can’t see a calendar.php file anywhere. Our web site is http://www.rainbowtemple.com if you would like to see the google calendar. Also, the google calendar cuts off the titles so using google is a bad solution for us too.
August 22, 2013 at 7:18 am #62433Barry
MemberHi Donna – so a great starting point is our Themer’s Guide:
https://theeventscalendar.com/support/documentation/events-calendar-themers-guide/
If I’m understanding you correctly then the template you need to override here is month/single-event.php so your override would live at:
your_theme/tribe-events/month/single-event.php
Assuming that is initially a straight copy of the original, please locate this line of code:
<h3 class="tribe-events-month-event-title summary"><a href="<?php tribe_event_link( $post ); ?>" class="url"><?php the_title() ?></a></h3>Within that line – just before <?php the_title() ?> – could you try inserting:
<?php echo tribe_get_start_date(null, true, ' ') ?>So that the complete line looks like:
<h3 class="tribe-events-month-event-title summary"><a href="<?php tribe_event_link( $post ); ?>" class="url"><?php echo tribe_get_start_date(null, true, ' ') ?> <?php the_title() ?></a></h3>Does that accomplish what you need here?
August 25, 2013 at 4:28 pm #62756Donna
ParticipantI’m having a hard time finding the files I am suppose to edit. It says the files are located here “The Events Calendar Pro template files
/wp-content/plugins/events-premium/views/ -” in the documentation but I can’t find a events-premium/ folder. I can see an event-calendar-pro directory but not the one mentioned in the documentation. I also can’t find a month/single-event.php file anywhere. thanks for your helpAugust 26, 2013 at 12:35 pm #62848Barry
MemberSorry for the confusion Donna – looks like a mistake was made when the Themer’s Guide was put together (and we’ll make a note to correct that as soon as possible). Basically, though, if you replace events-premium with events-calendar-pro it should make sense.
I also can’t find a month/single-event.php file anywhere.
The original can be found in plugins/the-events-calendar/views/month/single-event.php (or certainly should live there!).
Does that help at all?
July 7, 2015 at 6:27 am #980340Support 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 ‘Calendar View’ is closed to new replies.
