Autocomplete is set to "off" in the ‘question title’ field, however it still loads ‘results’ or blank
<div class="input-title">
<label for="question-title"><?php _e( 'Your question title- Please include genders/ages. Ex: Problems with my (Male/32) girlfriend (Female/33)', 'dwqa' ) ?> *</label>
<input type="text" name="question-title" id="question-title" placeholder="<?php _e( 'How should I...', 'dwqa' ) ?>" autocomplete="off" data-nonce="<?php echo wp_create_nonce( '_dwqa_filter_nonce' ) ?>" value="<?php echo isset( $_POST['question-title'] ) ? esc_html( $_POST['question-title'] ) : ''; ?>" />
<span class="dwqa-search-loading dwqa-hide"></span>
<span class="dwqa-search-clear fa fa-times dwqa-hide"></span>
</div>
1 Answers
Hi,
To resolve this issue, you can add the following code to the style.css file:
.dwqa-submit-question .input-title .dwqa-search-loading {
display: none !important;
}
.dwqa-submit-question .search-results-suggest {
display: none !important;
}
Hope this helps !
It works perfectly!
I did want to preserve the search suggestions in the ‘All Questions’ page so I added a plugin "CSS Plug" and only added the above css to the assigned ‘Ask’ page in WordPress.
Please login or Register to submit your answer