WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Events Manager] Manage my bookings shortcode

[Resolved] [Plugin: Events Manager] Manage my bookings shortcode

Viewing 2 replies - 1 through 2 (of 2 total)
  • try to paste this to your theme functions.php

    function em_my_bookings_shortcode( $args = array() ){
    	ob_start();
    	em_locate_template('templates/my-bookings.php',true, array('args'=>$args));
    	return ob_get_clean();
    }
    add_shortcode ( 'my_bookings', 'em_my_bookings_shortcode');

    usage:[my_bookings]

    Also, try to revert to default theme or deactivate other plugins first.

    ericsil24, did it work for you?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: Events Manager] Manage my bookings shortcode’ is closed to new replies.