Forum Replies Created

Viewing 1 replies (of 1 total)
  • Dears,

    I applied the method described here. I have a separate form-register.php file in my child theme. However, when I click on the register link I created as described above; I get a blank page (with my header).

    I also added the following code to my child theme functions.php

    /*// Separete Login form and registration form */
    add_action(‘woocommerce_before_customer_login_form’,’load_registration_form’, 2);
    function load_registration_form(){
    if(isset($_GET[‘action’])==’register’){
    woocommerce_get_template( ‘myaccount/form-registration.php’ );
    }
    }

    Did I miss anyting? Can you help me please? I’m starting with wordpress and php!

    Thank you,
    Younes M.

    • This reply was modified 9 years, 6 months ago by ymeknassi.
Viewing 1 replies (of 1 total)