a.hoereth
Member
Posted 1 year ago #
Hey Anan,
I really like your plugin, I am just missing some features:
- a widget to just display today's events. The widget should be hidden if there is no event today and only displayed if there is.
- multiple widgets: ive got more then one sidebar and want to display the events in 2 of them.
Hope these two are possible to add in feature releases! Thanks!
http://wordpress.org/extend/plugins/wp-events/
a.hoereth
Member
Posted 1 year ago #
I now ve got a way to manually display todays events in the sidebar by editing sidebar.php:
<?php
if(function_exists(events_sidebar)) {
if( strpos( $today = events_show( array( 'type' => 'today' ) ), 'SOMETHING IN THERE' ) !== false ) {
echo '<li>'.$today.'</li>'
}
}
?>
'something in there' is 'class="events_title' for me.
Multiple widgets work this way as well. You just need to add them manually..