Customise Event Widget output
-
Hi
I have just upgraded the plugin to version 1.5.7. I can’t figure out how to customise the widget output like I had it before.
In the previous version I replaced line 132 in the “class-eo-event-list-widget.php” file:
echo '<li><a title="'.the_title_attribute(array('echo'=>false)).'" href="'.get_permalink().'">'.esc_html(get_the_title()).'</a> '.__('on','eventorganiser').' '.eo_format_date($post->StartDate.' '.$post->StartTime, $format).'</li>';
with
echo '<div class="newsdate"><p style="padding: 0; margin: -10px 0 -20px; font: 45px Impact">'.eo_get_the_start('d').'</p><p>'.eo_get_the_start('M').'</p></div><p style="color: #fff; padding-right: 20px"><a style="color: #fff;text-decoration: none;font-size:14px;" title="'.the_title_attribute(array('echo'=>false)).'" href="'.get_permalink().'">'.esc_html(get_the_title()).'</a></p><br clear=all>';
I would like to know how to do this in the new version. I have tried a few ways of getting rid of the bullet list and changing the date format, but it has not worked.
I am using the widget to display a list of upcoming training – right now it looks shocking.
The display is next to the picture on the right on the homepage at https://skillsafrica.com
Please help!
https://www.ads-software.com/extend/plugins/event-organiser/
- The topic ‘Customise Event Widget output’ is closed to new replies.