• Resolved rfree190

    (@rfree190)


    Currently using the FREE version.
    On the tooltip popup when you hover an event in the main calendar, is there a way to limit the number of characters or words to a specific length, without using the Excerpt section in the NEW EVENT in admin?

    I’d like to limit it without my users having to copy/paste into the Excerpt section. The less steps for my users, the better.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey, there! Have you looked at our Themer’s Guide?
    https://theeventscalendar.com/knowledgebase/themers-guide/

    There is a way to customize the tooltip to your liking. That would be the best way to go about doing what you’re asking.

    Mike

    Addition to what Mike said, this snippet works with some themes. Other times you’ll have to crack open the template files and follow the link Mike provided.

    // Changes the excerpt length for events to 100 words
    function custom_excerpt_length( $length ) {
      if( tribe_is_event() && is_archive() ) { 
        return 100;
      }
    }
    add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );
    Thread Starter rfree190

    (@rfree190)

    Thank you Mike and Ed. My theme works well with Ed’s suggestion, thank you.
    Follow up question to your suggestion, is there a way to add READ MORE… to those tooltips where the description length exceeds 100 words?

    Sorry about the wait, we’ve been seeing a surge in support requests lately. 

    This can definitely be done, but I don’t have a snippet on hand for this — so this would unfortunately land outside the scope of our free support.

    Take care,
    Ed 🤟

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Tooltip Popup Event, LImit characters’ is closed to new replies.