WordPress.org

Support

Support » Plugins and Hacks » Events Manager » [Resolved] [Plugin: Events Manager] How to loop through events in PHP?

[Resolved] [Plugin: Events Manager] How to loop through events in PHP?

  • The small calendar file has a foreach loop that goes through each day looks to see if events are present.

    Is it possible to do something similar but with a full list of events (rather than calendar days) and access each attribute of the event (title, location, etc)?

    I’ve had some luck using:

    EM_Events::output( array(‘format’=>'<custom_format_here>’,’orderby’=>’event_start_date,event_start_time’,’pagination’=>0 ));

    but would like more control so I can apply different formatting based on attribute values.

    Thank you!
    Nick

    http://wordpress.org/extend/plugins/events-manager/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: Events Manager] How to loop through events in PHP?’ is closed to new replies.
Skip to toolbar