Title: Widget Titles
Last modified: August 22, 2016

---

# Widget Titles

 *  [aaron248](https://wordpress.org/support/users/aaron248/)
 * (@aaron248)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/widget-titles-8/)
 * On the All-in-One Event Calendar widget, it won’t allow me to have event titles
   longer than, it looks like 35 characters before it just adds … like the following:
 * 6:00 pm Coffee Event – Talking over coffe… @ Cafe Place
 * What can I alter (and/or what files should I look in) in the code to enable longer
   event titles in the widget to display properly. Thanks!
 * [https://wordpress.org/plugins/all-in-one-event-calendar/](https://wordpress.org/plugins/all-in-one-event-calendar/)

Viewing 1 replies (of 1 total)

 *  [cefiar](https://wordpress.org/support/users/cefiar/)
 * (@cefiar)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/widget-titles-8/#post-5328586)
 * If this is just the widget:
 * Edit **agenda-widget.twig** and on line 48 change:
 *     ```
       {{ event.get_runtime( 'filtered_title' ) | truncate | raw }}
       ```
   
 * To:
 *     ```
       {{ event.get_runtime( 'filtered_title' ) | raw }}
       ```
   
 * Notes:
    This applies to 2.1.5 and below. 2.1.6 (when released) will change this
   twig code, though the principle (removing the `truncate` filter) will be the 
   same. **agenda-widget.twig** is in **…../all-in-one-event-calendar/public/themes-
   ai1ec/vortex/twig/** though the best option here really is to create a calendar
   child theme (see for info), this might not be worth you doing till 2.1.6 is released,
   since a number of functions that twig files use will change. You may need to 
   clear the calendar cache directory if the change doesn’t appear to work. To do
   so, you need to delete the contents of **…../all-in-one-event-calendar/cache/
   twig/** (which will contain a bunch of directories). The cache will automatically
   rebuild and your change should then be visible.

Viewing 1 replies (of 1 total)

The topic ‘Widget Titles’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/all-in-one-event-calendar.svg)
 * [Timely All-in-One Events Calendar](https://wordpress.org/plugins/all-in-one-event-calendar/)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-event-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-event-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-event-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-event-calendar/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)
 * [widget](https://wordpress.org/support/topic-tag/widget/)

 * 1 reply
 * 2 participants
 * Last reply from: [cefiar](https://wordpress.org/support/users/cefiar/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/widget-titles-8/#post-5328586)
 * Status: not resolved