Title: WebmasterPRBE's Replies | WordPress.org

---

# WebmasterPRBE

  [  ](https://wordpress.org/support/users/webmasterprbe/)

 *   [Profile](https://wordpress.org/support/users/webmasterprbe/)
 *   [Topics Started](https://wordpress.org/support/users/webmasterprbe/topics/)
 *   [Replies Created](https://wordpress.org/support/users/webmasterprbe/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/webmasterprbe/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/webmasterprbe/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/webmasterprbe/engagements/)
 *   [Favorites](https://wordpress.org/support/users/webmasterprbe/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Calendar] [Plugin: Events Calendar] Don't show end time in widget and translation of bold text](https://wordpress.org/support/topic/plugin-events-calendar-dont-show-end-time-in-widget-and-translation-of-bold-text/)
 *  Thread Starter [WebmasterPRBE](https://wordpress.org/support/users/webmasterprbe/)
 * (@webmasterprbe)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-events-calendar-dont-show-end-time-in-widget-and-translation-of-bold-text/#post-2444327)
 * I found a way that the calendar does not show the end time onmouseover.
    It will
   still show in a post if you use the feature to create post for an event.
 * BethAc1 I would also recommend you to update to the latest version of WordPress.
   If you or your webmaster use the automatic update function of WordPress, nothing
   disastrous will happen ;).
 * Now how to avoid showing end time 00:00:00
 * Go to the file **ec_js.class.php** in folder **/wp-content/plugins/events-calendar**
 * Now look for the following code on line 399 and line 400
 *     ```
       if (!empty($endTime) && !empty($startTime) || !is_null($endTime) && !is_null($startTime))
       $output .= '<div class="EC-tt-endtime"><span class="EC-tt-label EC-tt-endtime-label">'._c('End Time','events-calendar').': </span><span class="EC-tt-data EC-tt-endtime-data">'.$endTime.'</span></div>';
       ```
   
 * simply put // before line 399 and line 400 so that it will look something like
   this
 *     ```
       //	 if (!empty($endTime) && !empty($startTime) || !is_null($endTime) && !is_null($startTime))
       //		$output .= '<div class="EC-tt-endtime"><span class="EC-tt-label EC-tt-endtime-label">'._c('End Time','events-calendar').': </span><span class="EC-tt-data EC-tt-endtime-data">'.$endTime.'</span></div>';
       ```
   
 * this will avoid the script to show the end time onmouseover in the sidebar widget
   or the large calendar. I am not sure about that. Hopefully in both.
    If it only
   works in one of them, it’s quite well possible I edited another file, too. I 
   just don’t remember which one
 * I thought there were four lines to comment out, but I see I only did two lol
 * The end time field in your backend does NOT require a numeric value, so I usually
   put a hyphen there, in “publish-event-as-post” it will show like this then:
 * End time:-

Viewing 1 replies (of 1 total)