Hi,
Thanks for using this plugin, I’m glad you like it!
If you want to add the post excerpt to the Widget, or modify the widget in some way:
You could create a functionality plugin with your own variant of the widget.
The widget code is here: https://github.com/ms-studio/minimalistic-event-manager/blob/master/widgets/event-list.php
You would need only two little tweaks:
– After line 245, add a value to the array: "excerpt" => get_the_excerpt()
– After line 336, add the code that will output the excerpt. Something like this:
<?php echo $mem_event_list[$key]["excerpt"]; ?>
I hope this helps!
Hi Manuel,
Thank you.
The additions in the code didn’t help. Excerpt is not displayed. Maybe I have to activate it anywhere? In the widget I didn’t find a possibility.
I have another problem: The mem widget in the sidebar should not display the excerpts but in a special page named “event” I want to display them. If in the widget had an activation field for excerpt, this could be a solution.
Is there any possibility?
Thank You