Thanks for your answer for my previous question!
I want to remove \”Your Email\” form and I edit \”question-submit-form.php\”.
but,I remove after 60 line by mistake.
Please teach me to the code of question-submit-form.php\” after 60 line.
At the moment, you can not remove the \”Your Email\” form. The anonymous will need to insert the email to submit a question. In this case, you can hide this form, by the way, replace the code in the line 60 with the following code:
<p style="display: none;">
<label for="_dwqa_anonymous_email"><?php _e( 'Your Email', 'dwqa' ) ?></label>
<?php $email = isset( $_POST['_dwqa_anonymous_email'] ) ? $_POST['_dwqa_anonymous_email'] : ''; ?>
<input type="email" class="dwqa-question-anonymous-email" name="_dwqa_anonymous_email" value="[email protected]" >
</p>
Thanks for your kindness,
But the code don’t work.
Error message is “Parse error: syntax error, unexpected end of file, expecting elseif (T_ELSEIF) or else (T_ELSE) or endif (T_ENDIF) in question-submit-form.php on line 66 .
My question-submit-form.php on line56-65 is
<input type="text" class="" name="_dwqa_anonymous_name" value="” >
Is it correct?
<input type="text" class="" name="_dwqa_anonymous_name" value="” >
Oh,line 56-65 don’t correctly appeared.
I realized problem.
Thanks.
Yes, Please let me know if you have any questions or issues.
I downloaded new DWQA one. And I replaced old php file to new php file.
Please login or Register to submit your answer