BuddyBoss Home – Web › Support Forums › Solutions › Social Learner › Remove wp-login and redirect to current page after login tips.
- This topic has 5 replies, 4 contibutors, and was last updated 8 years, 8 months ago by Anonymous.
Question
February 23, 2016 at 5:43 pm #60021@wp_flamingoHi Social Learner,
I write to share how i remove wp-login and also redirect to current page after login in the dummies way, just in case someone is also looking for solution,
1. install this plugin to remove wp-login, https://wordpress.org/plugins/sf-move-login/
2. put these code into function.php in your child themefunction childtheme_remove_filters(){
remove_filter( ‘login_redirect’, ‘buddyboss_redirect_previous_page’, 10 , 3 );
}
add_action( ‘after_setup_theme’, ‘childtheme_remove_filters’ );3. install this plugin for redirect to current page after login
https://wordpress.org/plugins/sky-login-redirect/That is work for me. I don’t know if it’s the best way to do it, but i finally found the way to make it, if someone know the best practice for this please share…
Thank you and good luck social learner.
SuchAnswers
February 23, 2016 at 6:25 pm #60023@familybudgetingHi @wp_flamingo, I haven’t chosen to hide wp-admin but I have redirected after login. I wanted to redirect to the user’s course list, so I chose this plugin: https://wordpress.org/plugins/buddypress-login-redirect/
I wonder if a number of people wanted this functionality, maybe the Social Learner team could add it to the feature request list? Save us all having to install a separate plugin 🙂
February 24, 2016 at 6:15 am #60085@
AnonymousHi @familybudgeting, @wp_flamingo
I have suggested to add this feature inside Boss theme and hopefully it will added in our next update
Regards
Varun DubeyFebruary 27, 2016 at 2:09 pm #60499@wp_flamingo@familybudgeting
I don’t know if anyone will need to redirect user to current page.. but I just want the users can get around easier in the site. that is all..they don’t have to find the course in course directory again after login. they want to learn when they hit sign up and start the course right away…@vapvarun, Thanks, would social learner also consider to have course creation on front-end as well? It would be super great and powerful theme ever for Learndash…
Best Regards,
duchFebruary 29, 2016 at 5:37 am #60720@
AnonymousHi @wp_flamingo, I have suggested to add option in Boss theme options and it will help to Boss, Social Learner both.
Regards
February 29, 2016 at 5:44 am #60723@
AnonymousHi @wp_flamingo, Thanks for your input..it will help others to get their solution on this topic…and it is already added in our next to-do and will be included in our future updates.
Regards
- The question ‘Remove wp-login and redirect to current page after login tips.’ is closed to new replies.