CoursePress Pro - Registration Modal Window


I wanted to know if its possible to disable the registration from the modal/lightbox and instead always redirect to a registration page? I have made some custom fields for the registration process on the Dashboard section and can't seem to get them to show up in the lightbox, but the client requested a full registration page anyway.

Any insight would be great, thanks!

  • Vinod Dalvi

    Hi Danny Albeck,

    I hope you are well today and thank you for your question.

    To achieve this try adding the following code in the functions.php file of your child theme.

    function add_custom_scripts(){ ?>
    <style type="text/css">
    .cp-popup-window-cp-popup-overall-hide {
        display: none !important;
    body .cp_blur{
        -webkit-filter: blur(0px);
        -moz-filter: blur(0px);
        -o-filter: blur(0px);
        -ms-filter: blur(0px);
        filter: blur(0px);
    	<script type="text/javascript">
    			jQuery( '.cp_popup_window, .cp_popup_overall' ).addClass('cp-popup-window-cp-popup-overall-hide');
    			   /* Signup redirection */
    			   jQuery( 'button.apply-button.signup' ).on( 'click', function( e ) {
    			       window.location = "<?php echo wp_registration_url(); ?>";
    			   } );
    <?php }
    add_action('wp_footer', 'add_custom_scripts');

    Best Regards,
    Vinod Dalvi

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.