Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    Open the following file in the plugin folder: all-in-one-event-calendar/public/themes-ai1ec/vortex/twig -> agenda-widget.twig, line 51:
    {{ event.filtered_title | truncate | raw }}
    change to:
    {{ event.filtered_title | truncate( 20 ) | raw }}

    20 is the number of characters.

    Take care,
    Ben

    Thread Starter cantonbecker

    (@cantonbecker)

    Works *perfectly* thank you so much. I would never have found that.

    How do I make sure updating the plugin doesn’t write over this change?

    Feel free to respond with RTFM. I haven’t learned myself up on themes yet.

    No problem, glad I could help. You can create a new theme: https://time.ly/document/user-guide/customize-calendar/create-new-calendar-theme/, or again change the code after the upgrade.

    Thread Starter cantonbecker

    (@cantonbecker)

    Thanks very much for the hand-holding.

    I had some trouble getting the custom theme to show up in the theme selection page, then realized there was an error (IMO) in the documentation.

    Immediately before step 3 is this line, telling us where to setup the “themes-ai1ec” folder:

    Copy this folder and paste it into a new folder in your Theme Directory called themes-ai1ec.

    I interpreted this as meaning copy it into my Theme Directory, as in /wp-content/themes/my-theme/themes-ai1ec

    In fact, the folder needs to be installed in the wp-content directory. I think the instruction should read:

    Copy this folder and paste it into a new folder in your wp-content directory called themes-ai1ec. For example: /wp-content/themes-ai1ec /gamma

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Possible to change length of excerpted title in widget?’ is closed to new replies.