Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    hi,

    at the moment you need custom placeholder for this to work – https://wp-events-plugin.com/tutorials/create-a-custom-placeholder-for-event-formatting/

    Thread Starter PhillipR

    (@phillipr)

    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.

    Thread Starter PhillipR

    (@phillipr)

    Thanks for that Caimin

    When I’ve got the code into functions
    Pho, how do I create the custom placeholder?

    Thread Starter PhillipR

    (@phillipr)

    Hello Guys

    what’s the best program to edit the functions.php file correctly

    many thanks

    Phillip

    Thread Starter PhillipR

    (@phillipr)

    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?

    Thread Starter PhillipR

    (@phillipr)

    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:

    https://wp-events-plugin.com/documentation/event-attributes/

    Thread Starter PhillipR

    (@phillipr)

    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

    Plugin Support angelo_nwl

    (@angelo_nwl)

    if you want to display the custom event attribute you can use placeholder like #_ATT{Coffee} or #_ATT{Lunch}

    Thread Starter PhillipR

    (@phillipr)

    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

    Plugin Support angelo_nwl

    (@angelo_nwl)

    did you already check this tutorial https://wp-events-plugin.com/documentation/event-attributes/ ?

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Comments Placeholder’ is closed to new replies.