Adding summary of full text to [tribe_events_list] shortcode

Home Forums Calendar Products Events Calendar PRO Adding summary of full text to [tribe_events_list] shortcode

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1193151
    Jeffrey
    Participant

    I would like to display a summary of the full text of an event. Is there a way to do that using [tribe_events_list] ?

    #1193802
    Josh
    Participant

    Hey Jeffrey,

    Thanks for reaching out to us!

    There isn’t a setting within the shortcode that you could use directly, however you could hook into one of the hooks available in the list widget single event template there and output the content where you’d like.

    For example, the following snippet would work to output the content before the additional event meta for each event in your list widget:

    
    add_action( 'tribe_events_list_widget_before_the_meta', 'tribe_list_widget_add_event_summary' );
    function tribe_list_widget_add_event_summary() {
    the_content();
    }
    

    Let me know if this helps.

    Thanks!

    #1203888
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Adding summary of full text to [tribe_events_list] shortcode’ is closed to new replies.