today's events widget & multiple widget (2 posts)

  1. Alex
    Posted 5 years 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!


  2. Alex
    Posted 5 years ago #

    I now ve got a way to manually display todays events in the sidebar by editing sidebar.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..

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Events
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic