• Resolved rogue9607

    (@rogue9607)


    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 ‘[Plugin: Events Manager] How to loop through events in PHP?’ is closed to new replies.