-
Author
-
November 3, 2013 at 04:15 #5767hughmParticipant
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!November 3, 2013 at 12:28 #5776JohnDoeParticipantIn child folder modify header php ,
find SIGN UP
a little above you will find :
<a href=”#”
Change the # to your link.
November 3, 2013 at 18:58 #5790hughmParticipantThanks 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!November 3, 2013 at 19:05 #5791JohnDoeParticipantin 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.)
November 3, 2013 at 20:41 #5794hughmParticipantThanks 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.November 3, 2013 at 21:15 #5799JohnDoeParticipantOoops, you are right haha i’m sorry , was kinda busy with 10 things at the same time..
Anyways glad you worked it out 🙂
November 3, 2013 at 21:43 #5800JohnDoeParticipantChange the post to “Resolved” please. Less work for admin then 😉
November 4, 2013 at 13:58 #5843SQadminKeymasterThanks @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 -
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.