I have a customised list-widget.php file to which I have added the line
<?php echo tribe_events_get_the_excerpt() ?>
in order to display extract text.
The full segment code is as follows
<div class="<?php tribe_events_event_classes() ?>">
<?php club_tribe_events_list_the_date_headers() ?>
<?php tribe_get_template_part( 'pro/widgets/modules/single-event', null, $instance ) ?>
<?php echo tribe_events_get_the_excerpt() ?>
</div>
Below you can see how this looks and how I want it to be changed..

Also – is there a way of making the excerpt return nothing if there is no text in the actual ‘excerpt’ field? At present it takes rather too long a chunk of text from the main text if there is nothing in the field.
-
This topic was modified 11 years ago by
Ian.
-
This topic was modified 11 years ago by
Ian.
-
This topic was modified 11 years ago by
Ian.
-
This topic was modified 11 years ago by
Brian.