Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    Try adding this to the functions.php file of your theme, changing http://your-domain.com to the page you want as the thank you page.

    function my_em_booking_redirect(){
    	?>
    	jQuery(document).bind('em_booking_success', function() {
    		window.location.href = 'http://your-domain.com';
    	});
    	<?php
    }
    add_action('em_gateway_js', 'my_em_booking_redirect');
    Thread Starter Dr.Justin

    (@drjustin)

    Oops, I did not do my due dilagence before trying this and got a syntax error. I deleted the code I pasted but the error persists. Anyway you can help? Below is were the problem would be…

    /**
    * Sets the post excerpt length to 40 characters.
    * Next few lines are adopted from Coraline
    */
    function responsive_excerpt_length($length) {
    return 40;
    }
    add_filter(‘excerpt_length’, ‘responsive_excerpt_length’);

    /**
    * Returns a “Read more” link for excerpts
    */
    function responsive_read_more() {
    return ‘ ‘ . __(‘<div class=”read-more”>Read more ›</div><!– end of .read-more –>’, ‘responsive’) . ‘‘;
    }

    /**
    * Replaces “[…]” (appended to automatically generated excerpts) with an ellipsis and responsive_read_more_link().
    */
    function responsive_auto_excerpt_more($more) {
    return ‘<span class=”ellipsis”>…</span>’ . responsive_read_more();
    }

    Thread Starter Dr.Justin

    (@drjustin)

    Whelp, it was about time I learned how to use FileZilla haha

    I fixed my problem. I will update after I figure out the correct way to add that to my website without crashing it again.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Adwords Conversion Tracking’ is closed to new replies.