WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] How to implement just the booking form on custom page? (7 posts)

  1. slowmove
    Member
    Posted 2 years ago #

    I have a completely different single event template page and just want to lift over the booking form.

    How can I do that?

    http://wordpress.org/extend/plugins/events-manager/

  2. agelonwl
    Member
    Posted 2 years ago #

    This tutorials might help you do that http://wp-events-plugin.com/tutorials/

  3. slowmove
    Member
    Posted 2 years ago #

    I really can't find them helpful. Why don't they just expose functions for me to use, like get_event_form($event_id) or such?!

    Anyone else?

    Now I see the problem is that it can't find EM.ajaxurl...anyone else with that problem?

  4. agelonwl
    Member
    Posted 2 years ago #

  5. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    you could do it with shortcodes e.g. [event event=x]#_BOOKINGFORM[/event]

    otherwise you could use objects, e.g.

    $EM_Event = new EM_Event($id);
    $EM_Event->output('#_BOOKINGFORM');
  6. slowmove
    Member
    Posted 2 years ago #

    Oh I solved the issues that I had. There had become som issues with the wp_head hook and therefore the javascript that the form needed wasn't printed.

    Thanks anyway guys.

  7. agelonwl
    Member
    Posted 2 years ago #

    that's great then.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic