Mauro Silvia
asked 9 years ago

I would like to change the url of the "ask question" button in the questions page when user is not logged.

1 Answers
DominicStaff
answered 9 years ago

Hi,

To resolve this issue, you can open the \wp-content\plugins\dw-question-answer\inc\template-functions.php file. Find the line 503:

Replace the following code:
$submit_question_link = wp_login_url( $submit_question_link );

With new code:
$submit_question_link ="Your URL";

Hope this helps !

mauro silvia
replied 9 years ago

thank you!!

Powered by DW Question & Answer Pro