Title: [Plugin: Events Manager] PHP Code in &quot;Default single event format&quot;
Last modified: August 20, 2016

---

# [Plugin: Events Manager] PHP Code in "Default single event format"

 *  Resolved [PvdH](https://wordpress.org/support/users/pvdh/)
 * (@pvdh)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-events-manager-php-code-in-default-single-event-format/)
 * Hi,
 * i have a little problem. I wanna add custom field to my single event page, but
   i can’t add php code to “Default single event format” in Events settings (it 
   doesnt work)…
 * Do u have any idea for it?
 * Sorry for my english, im from Poland..
 * Thanks
 * [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, 10 months ago](https://wordpress.org/support/topic/plugin-events-manager-php-code-in-default-single-event-format/#post-2897396)
 * you can enable that using the options page at Settings > General > General Options
   > Enable event attributes? then define the attributes at Event Attributes (same
   page)
 * to use: Settings > Formats/Layouts > Events Format > Default single event format
   then use #_ATT{att1} where att1 is your attribute name
 *  Thread Starter [PvdH](https://wordpress.org/support/users/pvdh/)
 * (@pvdh)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-events-manager-php-code-in-default-single-event-format/#post-2897410)
 * I’ts working!
 * Thank you so much!

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

The topic ‘[Plugin: Events Manager] PHP Code in "Default single event format"’ is
closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=1039078)
 * [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: [PvdH](https://wordpress.org/support/users/pvdh/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-events-manager-php-code-in-default-single-event-format/#post-2897410)
 * Status: resolved