Add time with event title on calendar?

Is there any way to add the time of the event in the calendar with the title instead of only seeing it in a popup upon mouse hover? This allows viewer to see the times of events at a glance. This is my page: http://coloradofitnessgunnison.com/index.php/events/

  • steve_haase
    • Design Lord, Child of Thor

    Hi Vinod,

    The code mentioned in the thread that you pointed me to, changes the way the the time displays in the popup when you mouse of the event title, but I wanted to know if there is a way to make the time appear WITH the event title without requiring the popup to show (see attached file). That way a visitor can see the event times without needing to know that they have to hover over the title.

    Can this be done.

    [attachments are only viewable by logged-in members]

  • Vinod Dalvi
    • WP Unicorn

    Hi @steve_haase,

    Thank you for your patience.

    You can try achieving this by adding the following CSS code in the style.css file of your child theme or add it in your site using the following plugin.

    http://wordpress.org/plugins/simple-custom-css

    span.wpmudevevents-calendar-event-info {
    display: block !important;
    border: 0;
    position: relative;
    min-width: 0;
    background: transparent;
    margin-top: 0;
    }

    The above code will display the event time below the event title. To display it viceversa we have to change the code in the following Events+ plugin file on line number 390.

    Before Editing:

    $this->_data[] = '<a class="wpmudevevents-calendar-event ' . $css_classes . '" href="' . $event_permalink . '">' .
    $event_info['title']

    After Editing:

    $this->_data[] = '<a class="wpmudevevents-calendar-event ' . $css_classes . '" href="' . $event_permalink . '">' .
    apply_filters('eab-calendar-event_archive-start_time', date_i18n($datetime_format, $event_tstamps['start']), $event_tstamps['start'], $event_info['id']).' - '.$event_info['title'] .

    Note:In the above last solution you are making changes in the plugin file and these changes will be overwritten and lost when you update the plugin and you will have to make these changes again after plugin updation.

    Best Regards,

    Vinod Dalvi

  • David
    • The Crimson Coder

    Hi.

    The CSS code works but how do I ONLY show the event name and time? This css code also shows the address which is overkill. (I’d like to show this info in the pop-up ot rollover text)

    Q: What file are you referring to re Events+ plugin file on line number 390? I do not see the code in events-and-bookings.php

    Q: Can you use Ultimate Branding to add the changes that are meant for Events+ plugin file on line number 390?

    If so can you please add instructions as to how to implement using Ultimate Branding Plugin so that one does not need to manually patch the Events+ plugin.

    If NOT: Can this be done using an MU plugin and if so how?

    Please advise.