This topic has 8 replies, 3 voices, and was last updated 11 years by SQadmin.

  • Author
  • #5767
     hughm
    Participant

    I used WP User Front End Pro and their Buddypress Integration Add On to create a custom registration page called “registration-form”. I would like to redirect the Sign Up and Create a New Account Buttons to this custom registration page.
    Could you advise me on the best way to do this.
    Thanks you very much!

    #5776
     JohnDoe
    Participant

    In child folder modify header php ,

    find SIGN UP

    a little above you will find :

    <a href=”#”

    Change the # to your link.

    #5790
     hughm
    Participant

    Thanks for pointing me in the right direction. I had to play around with it a bit but managed to get the Sign Up button to redirect. Here are my steps in case someone else is trying to do the same:
    To redirect the Sign Up button on the home page to a custom registration page:
    1.Copy the header.php file from the Sweetdate theme folder to the sweetdate-child folder
    2.Search for the term “Sign Up” or find the code around line 138
    3.On the same line, change the <a href=”#” to your new registration page. For example <a href=”http://mysite.com/registration-form”
    4. Also remove the term: data-reveal-id=”register_panel” so that the login panel does not display and you go straight to your custom registration page.

    I am working on changing the Create a New Account button in the Login Panel to also redirect to the custom registration page. Could you point me to the php file with this code.
    Thanks!

    #5791
     JohnDoe
    Participant

    in Sweetdate folder , find the folder : Page-parts , then open general-register-modal.php

    Edit this part .

    <?php } ?>
    <button type=”submit” id=”signup” name=”submit” class=”radius alert button”><i class=”icon-<?php echo apply_filters(‘kleo_register_button_icon’,’heart’); ?>”></i>  <?php _e(“CREATE MY ACCOUNT”, ‘kleo_framework’);?></button>  
    <?php do_action(‘fb_popup_register_button’); ?>

    (Don’t forget to copy the general-register-modal.php to your child folder and don’t modify your original sweetdate folder.)

    #5794
     hughm
    Participant

    Thanks again for pointing me down the right path. The file I needed to edit was the general-login-modal.php file but it was in the folder that you led me to. For posterity here are the steps:
    1. Copy the general-login-modal.php file from the sweetdate/page-parts folder into the same folder structure in the sweetdate-child folder.
    2. On the same line, change the <a href=”#” to your new registration page. For example <a href=”http://mysite.com/registration-form”
    4. Also remove the term: data-reveal-id=”register_panel” so that you go straight to your custom registration page.

    #5799
     JohnDoe
    Participant

    Ooops, you are right haha i’m sorry , was kinda busy with 10 things at the same time..

    Anyways glad you worked it out 🙂

    #5800
     JohnDoe
    Participant

    Change the post to “Resolved” please. Less work for admin then 😉

    #5805
     hughm
    Participant

    Cool. All resolved thanks!

    #5843
     SQadmin
    Keymaster

    Thanks @hughm and @JohnDoe 😉

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 9 posts - 1 through 9 (of 9 total)

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?