• Resolved Balders14

    (@balders14)


    Hi here,

    is there a placeholder for the Booking Cut-Off Date? If not how can I display it on the single events page?

    Cheers

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

    (@angelo_nwl)

    Hi,

    it’s not available at the moment however you can easily create this placeholder using this tutorial – https://wp-events-plugin.com/tutorials/create-a-custom-placeholder-for-event-formatting/

    you need to call $EM_Event->rsvp_end then do you date formatting

    e.g.

    
    date_i18n(get_option('dbem_date_format'), $EM_Event->rsvp_end)
    
    Thread Starter Balders14

    (@balders14)

    Hi angelo_nwl,

    Thanks for your help. Would you mind pushing me in the right direction of where would I place this code and how exactly would I change it from the style turorial to my needs? I’m actually a bit lost ??

    Is it possible to use placeholders for just placing text in event post? I need to put some chunk of text infront of every event post (same way you would do with the_event filter). That way it would help me just to put the placeholder like #_THISISMYTEXT in admin text box and the placeholder grabs the information from the code.

    Any idea?

    The code needs to go in the functions.php file of your theme.

    If all you need to to add text to the beginning of events content, it would be easier to just add the text to “Single event page format” under Events > Settings > Formatting > Events.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Placeholder for Booking Cut-Off Date’ is closed to new replies.