Kate ZH
asked 9 years ago

I need to remove the box ‘tags’ on the question page. Instead of this, I need to add boxes named ‘Your neme’, ‘Your age’ and ‘Your sex’. How can I do it?

4 Answers
answered 9 years ago

To remove the Tags box on the question page, you can add the following cooe:

.dwqa-single-question .dwqa-question .dwqa-tags {
   display: none;

Also, our plugin do not support to add boxes named ‘Your neme’, ‘Your age’ and ‘Your sex’ as you want.

Memon Juned
replied 8 years ago

But in which file????

answered 8 years ago

At the moment, we have released the latest version and have some change about the layout and it does not display Tag box in the question page as the old version. In this case, you can create a new question and let me know detail about your question, we will check and help you.

answered 8 years ago


I want to remove the Tags box AND the category box on the question page. How can this be done?

answered 8 years ago

If you want to remove the categories and tag box in the question submit form, you can create a folder is “dwqa-templates” in the wp-content/themes folder and copy the question-submit-form.php in the templates folder of the plugin paste it into the new folder then open this file remove the line 31 to line 49: 
Need to remove the following Code: 

<label for="question-category"><?php _e( 'Category', 'dwqa' ) ?></label>
wp_dropdown_categories( array(
'name' => 'question-category',
'id' => 'question-category',
'taxonomy' => 'dwqa-question_category',
'show_option_none' => __( 'Select question category', 'dwqa' ),
'hide_empty' => 0,
'quicktags' => array( 'buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,spell,close' ),
'selected' => isset( $_POST['question-category'] ) ? sanitize_text_field( $_POST['question-category'] ) : false,
) );
<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 ?>" >
Powered by DW Question & Answer Pro