I want to authenticate the user If he/she press the button Ask A Question.
If the user is not logged in he/she should navigate on login page and once he is logged in, he should redirected here.
I have below code to navigate the user on authentication page.
Can you please suggest how we can achieve it using above script or by any different way.
Hi Harsh !
Please copy “dw-question-answer/inc/templates/default/archive-questions.php” to “<your-theme-folder>/dwqa-templates/archive-questions.php”
Then at line 30 and 242 you can modify the code with your own one.
Please try and let us know the results!
Bighug have answered your question here:
Please login or Register to submit your answer