Support » Plugin: Events Manager » [Plugin: Events Manager] How to customise Events List page?

  • Resolved debsch


    I’m using latest version of wordpress & events-manager and twenty-ten theme.

    I have copied events-manager/templates/templates/events-list.php to my theme folder and adjusted settings in events-manager (events-manager-options#pages > Override with Formats? > NO) so that it reads events-list.php for formatting.

    I know it is reading events-list.php because if I add “TEST” to the top of the file it displays at the top of the events list page.

    BUT I am stuck because I do not know how to “format” this single line on events-list.php which seems to display the list of events…

    I have successfully edited the template for a SINGLE event page by editing loop-single.php in my theme folder but, after hours of searching and reading, I am stuck as to how to edit events-list.php to customise my events list page. and does not help.

    Can someone please point me in the right direction?

    Thank you.

    (Please note – I do not want to change the output of EM_Events::output($args) – I want to format or add html code around each event in the list that is produced by EM_Events::output($args))

Viewing 11 replies - 1 through 11 (of 11 total)
  • So I figured it out myself. Don’t know if this is the correct/best way to do it but it works for me. NOTE: EVENTS MANAGER PLUGIN PEOPLE… it would be great if you could add this ‘how to’ to your documentation to help out other noobs who might be struggling like me – or if it IS there already, make it more obvious because I couldn’t find it. (But other than this issue I must say I am VERY HAPPY with your events plugin! Thank you.)

    I copied the events-list.php from the plugin directory to my theme:

    and then I changed this line:
    echo EM_Events::output( $args );


    echo EM_Events::output(array('format'=>
    '<a href="#_EVENTURL" border=0>$mycustomphpstuffiwantedherethatdoesntshowifiuseformats</a>
     'limit'=>20, 'pagination'=>1));


    Plugin Author Marcus


    NetWebLogic Support

    we’ll be making more tutorials in the near future, once we get through some of the major feature upgrades over the coming months.

    Thank you so much for your code Debsch! This saved me a lot of time and headaches.

    One question though, it works like a charm, the only thing I can’t get to work is the #_EVENTIMAGE or #_EVENTIMAGE{x,y} placeholders. I’ve tried both without luck.

    These show without a problem on the single event posts, but not elsewhere such as the homepage. Any idea how to get them working?

    Just to update my message = I discovered that images uploaded through the Events Manager default “Submit an Event” page showed. If added through the WP-admin using the upload media link, it does not show.

    Now to find out why #_EVENTEXCERPT shows ALL of the #_EVENTNOTES instead of just 40 or so words… 🙂

    Thank again Debsch!

    Plugin Author Marcus


    NetWebLogic Support

    sohum pls don’t double post.

    @sohum, are you using the Read More link in the WP WYSIWYG to create the break for the excerpt?

    Hi Chris, I wasn’t.

    The site will allow for readers to submit events and the WYSIWYG is disabled for this reason.

    I also didn’t want to rely on reader to include the break at the appropriate point. Could foresee readers wanting their event to standout, for example, and them not adding a break which would affect the site layout.

    My solution was to add a limited height to the div displaying the events, and then use css to control the overflow. Nasty hack…

    Thank you! This helped me out a lot.


    what help u?

    Great code, Debsch, thanks a lot!!

    THANK YOU WORDPRESS and thank you ME!
    12 months later and I had completely forgotten how/where to edit the events list page. So thanks for the reminder!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Plugin: Events Manager] How to customise Events List page?’ is closed to new replies.