0

Events Manager Pro Redirect After Booking

Events Manager Pro Redirect After Booking

Events Manager Pro Redirect After Booking. Past the following code in your functions.php file and modify the url below, it’ll redirect on successful bookings. function icode_em_booking_redirect(){ ?> jQuery(document).bind(’em_booking_success’, function() { window.location.href = ‘http://your-domain.com’; });

0

Add custom css within head section using wp_head and wp_footer action.

//INCLUDE IN HEADER [code language=”css”] add_action(‘wp_head’,’hook_css’); function hook_css() { $output="<style> .wp_head_example { background-color : #f1f1f1; } </style>"; echo $output; } [/code] //INCLUDE IN FOOTER [code language=”css”] add_action(‘wp_footer’,’hook_css’); function hook_css() { $output="<style> .wp_head_example { background-color : #f1f1f1; } </style>"; echo $output;… Continue Reading