Advertisement
eventsmanager

Custom events-list.php template

Aug 16th, 2015
1,320
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  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 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement