eventsmanager

Custom events-list.php template

Aug 16th, 2015
741
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*Custom events-list.php template under events-manager/templates/templates/*/
  2. $args['format_header'] = '
  3. <table cellpadding="0" cellspacing="0" id="current-events" >
  4. <thead>
  5. <tr>
  6. <th id="event-time" width="150">Date/Time</th>
  7. <th id="event-description" width="*">Event</th>
  8. </tr>
  9. </thead>
  10. <tbody>
  11. ';
  12. $args['format'] = '
  13. <tr>
  14. <td>
  15. #_{d/m/Y} #@_{ - d/m/Y}<br/>
  16. #H:#i -#@H:#@i
  17. </td>
  18. <td>
  19. <div style="float:left; margin:0px 10px 0px 0px;">#_EVENTIMAGE{100,100}</div>
  20. #_EVENTLINK<br/>
  21. <i>#_LOCATIONNAME, #_LOCATIONTOWN #_LOCATIONSTATE</i>
  22. </td>
  23. </tr>
  24. ';
  25. $args['format_footer'] = '
  26. </tbody>
  27. </table>
  28. ';
  29. echo EM_Events::output( $args );
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×