Title: problem with template file
Last modified: August 20, 2016

---

# problem with template file

 *  Resolved [afreyer](https://wordpress.org/support/users/afreyer/)
 * (@afreyer)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/problem-with-template-file/)
 * hi,
 * i’m sure, that its possible to create an own template file like single-event.
   php, so i can show the entry of some event-fields, like event-date.
 * i cant find the way for this in the documentation.
 * i tried it with: `<?php echo $EM_Event->output("#_LOCATIONPOSTCODE"); ?>` but
   i got an error message:
 *  `Fatal error: Call to a member function output() on a non-object in /www/htdocs/
   w0100982/***/wp-content/themes/***/single-event.php on line 3`
 * has it called within the loop? how can i fix it and where is this point in documentation?
 * thank you for your answers.
 * [http://wordpress.org/extend/plugins/events-manager/](http://wordpress.org/extend/plugins/events-manager/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [agelonwl](https://wordpress.org/support/users/angelonwl/)
 * (@angelonwl)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/problem-with-template-file/#post-3580187)
 * maybe this previous thread can help you out – [http://wordpress.org/support/topic/events-manager-eventslocation-pages-cant-get-sidebar?replies=22](http://wordpress.org/support/topic/events-manager-eventslocation-pages-cant-get-sidebar?replies=22)
 *  Thread Starter [afreyer](https://wordpress.org/support/users/afreyer/)
 * (@afreyer)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/problem-with-template-file/#post-3580255)
 * great! thank you. This was exactly what i was looking for.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘problem with template file’ is closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=3550347)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [afreyer](https://wordpress.org/support/users/afreyer/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/problem-with-template-file/#post-3580255)
 * Status: resolved