Noobie Help with modification
-
Have been trying for a few days now. If anyone can help it would be amazing. Firstly the Force Login plugin is fab. It does exactly what it says. My issue is I want heaven and earth and I don’t have the skills. I want to use it to login to a new login form, say called new_login. Also I wish to have one exception, the landing page which would have a link to the login page. That page is straight forward.
This is the starting code I have, but I don’t know how to modify it. Just know it is appended to the functions file.
// Custom Login URL function my_login_page( $login_url, $redirect ) { return site_url( ‘/custom-login/?redirect_to=’ . $redirect ); } add_filter( ‘login_url’, ‘my_login_page’, 10, 2 );If anyone could help? thank you
Paul
- The topic ‘Noobie Help with modification’ is closed to new replies.