Thanks Angelo, but I’m not sure where the code mentioned goes and will it get
Overwritten with updates?
Thanks again
The code needs to go in the functions.php file of your theme. It’ll be safe when you upgrade the plugin.
Thanks for that Caimin
When I’ve got the code into functions
Pho, how do I create the custom placeholder?
Hello Guys
what’s the best program to edit the functions.php file correctly
many thanks
Phillip
Hi Again Guys
I’ve just seen Sterke-Jerke posting titled Functionality for #_BOOKINGCOMMENT ? and noticed that there is a placeholder for booking comments, although its not list in the placeholder list|
Thanks for all your help Guys
Phillip
Any plain text editor will work fine. If you’re on Windows, Notepad works fine.
Can you tell us exactly what you need to do / display?
Thanks Caimin
We have created an event for an AGM and there will coffee served on registration and lunch afterwards. Ww want attendees to confirm their choice of coffee and/or lunch in the bookings comment box. We then want these comments to appear in the pending email using the #_BOOKINNGCOMMENT placeholder!
Phillip
I think using a custom attribute will be easier in this situation:
http://wp-events-plugin.com/documentation/event-attributes/
Thanks Caimin
But can you explain how a custom attribute would be better in this situation.
Also is there something missing in the table example for creating the custom attribute, as I’ve used the following in the formatting page
#_ATT{Coffee}{Yes|No}
#_ATT{Lunch}{Yes|No}
and all I get is
Yes|No
Yes|No
in the place where it should be!
Also adding it to the formatting page, adds it to all events, where as I only want it on the AGM events.
Many Thanks
if you want to display the custom event attribute you can use placeholder like #_ATT{Coffee} or #_ATT{Lunch}
thanks Angelo
But as I stated in my last post when I use the following:-
#_ATT{Coffee}{Yes|No}
#_ATT{Lunch}{Yes|No}
all I get is
Yes|No
Yes|No
in the place where it should be!
Phillip