bbayle
asked 7 years ago

Hello,
On my website I only use category for question. How I can disable the tag when somebody ask a question ? I use wordpress with the divi and .dwqa-single-question .dwqa-question .dwqa-tags {display: none;} or .dwqa-submit-question .question-meta .input-tag {display: none;} doesn\’t work.
 
Thanks for your help

1 Answers
DominicStaff
answered 7 years ago

You can open the question-submit-form.php file and find/remove the following code:


 <p>
 <label for="question-tag"><?php _e( 'Tag', 'dwqa' ) ?></label>
 <?php $tags = isset( $_POST['question-tag'] ) ? sanitize_text_field( $_POST['question-tag'] ) : ''; ?>
 <input type="text" class="" name="question-tag" value="<?php echo $tags ?>" >
 </p>
Powered by DW Question & Answer Pro