I am trying to remove the field that asks for users to enter tags, how do i do that? I can’t find the css file for the theme for some reason
1 Answers
If you want to remove the Tags field, you can create a new folder, named: “dwqa-templates”, and copy the question-submit-form.php file into this folder then open the file and find the line 45 to line 49 and remove it:
<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>
Please login or Register to submit your answer