Hi There, I have followed the instructions elsewhere on the forum and copied the content of the upcoming event widget into my own custom plugin. Which is working OK, but I’m stuggling to remove the time from the event list. All I want to display with my custom widget is the list of upcoming events and their dates in a list. Can you point me how to achive this? Thanks
You actually do not need to copy the content of the upcoming event widget into your own custom plugin to accomplish this. Instead, you can add the following to your custom plugin:
Thanks, thats almost what I need, I’ve added this code to the plugin, but its still got the ical icon which I don’t need and the event name gets repeated twice, see https://www.bloominggreenflowers.co.uk/flower-arranging-courses/ Is it possible to use addfliter to remove these too?
That’s actually not the event name being repeated, it’s the event name followed by the datetime name. If you edit the events and remove the titles that were input for the datetimes those will no longer display. The iCal icon can be removed by adding this code to your functions plugin:
The support post ‘Customizing the upcoming event widget’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.