Calendar View

Home Forums Calendar Products Events Calendar PRO Calendar View

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #62380
    Donna
    Participant

    On 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.

    #62433
    Barry
    Member

    Hi 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?

    #62756
    Donna
    Participant

    I’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 help

    #62848
    Barry
    Member

    Sorry 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?

    #980340
    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 ‘Calendar View’ is closed to new replies.