Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
440 views
in Q2A Core by
edited by
hi2all.

i using an integrated Q2A withwordpress.

i changed the login address for wordpress by using plugins.but when users click in Login link in my Q2A, they are redirected to main wordpress login page.

how i can change the Login link in Q2A with a custom link?

i know php and i can edit Q2A codes.

tnx.

site address:

http://kasnb-iran.com

http://kasnb-iran.com/questions/

1 Answer

0 votes
by

in your q2a\qa-external\qa-external-users.php file find the function . There you could find some code like below . 

function qa_get_login_links($relative_url_prefix, $redirect_back_to_url) {

   return array(
        'login' => 'http://www.mysite.com/login',
        'register' => 'http://www.mysite.com/register',
        'logout' => 'http://www.mysite.com/logout',
   );

}

just change the login link with your costum link . I hope this will work for you . 

 

Thanks 

...