Support » Plugin: WP Calendar » [Plugin: WP Calendar] odd / even css class

  • Hello,

    would it be possible to have an odd/even function in the list function, like this:

    <?php
              fse_print_events(
                array( 'number'   => 5,
                       'before'   => '',
                       'after'    => '',
                       'odd_class'    => 'item_odd',
                       'even_class'    => 'item_even',
                       'template' => '<div class="agenda_item item_odd"><a href="{event_url}"><span class="agenda_date">{event_startdate}</span><span class="agenda_excerpt">{event_subject}</span></a></div>'
                )
              );
    
              ?>

    that would totally spice up my upcoming events 🙂

    http://wordpress.org/extend/plugins/wp-calendar/

  • The topic ‘[Plugin: WP Calendar] odd / even css class’ is closed to new replies.