WordPress.org

Ready to get started?Download WordPress

Forums

WP Calendar
odd / even css class (1 post)

  1. Jay August
    Member
    Posted 3 years ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic