eyup ceylan
asked 4 years ago

Hello there
Ask question page you want to add an email.
I want them to ask questions without being a member of my site.
but the news I get people asking questions I replied.
Thank you

1 Answers
DominicStaff
answered 4 years ago

Hi,
About this issue, you can open the template-functions.php file then find the line 113:
Replace the following code:
<input type="email" name="_dwqa_anonymous_email" id="_dwqa_anonymous_email" class="large-text" placeholder="<?php _e( 'Email address ...','dwqa' ) ?>" required>

With new code:
<input type="email" name="_dwqa_anonymous_email" id="_dwqa_anonymous_email" class="large-text" placeholder="<?php _e( 'Email address ...','dwqa' ) ?>">

If you want to remove the Email section, you can add the following code to the style.css file:

.dwqa-submit-question .question-signin .user-email {
    display: none;
}

Hope this helps !

Powered by DW Question & Answer Pro