Title: about category problem
Last modified: March 18, 2018

---

# about category problem

 *  [yj451549728](https://wordpress.org/support/users/yj451549728/)
 * (@yj451549728)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/about-category-problem/)
 * [https://mixcg-1256075144.cos.ap-guangzhou.myqcloud.com/tiwen-sdfsdg45.png](https://mixcg-1256075144.cos.ap-guangzhou.myqcloud.com/tiwen-sdfsdg45.png)
   
   [https://mixcg-1256075144.cos.ap-guangzhou.myqcloud.com/tiwen-sdfsdg45.jpg](https://mixcg-1256075144.cos.ap-guangzhou.myqcloud.com/tiwen-sdfsdg45.jpg)
 * i created many categories and sub-categories,but not sub-categories when i ask
   questions.what should I do?
    -  This topic was modified 8 years, 1 month ago by [yj451549728](https://wordpress.org/support/users/yj451549728/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fabout-category-problem%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [DesignWall](https://wordpress.org/support/users/designwall/)
 * (@designwall)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/about-category-problem/#post-10088912)
 * Hi,
    Please copy the template **question-submit-form.php** at _wp-content/plugins/
   dw-question-answer-pro_ to _wp-content/themes/your-theme-folder/dwqa-templates_
   then replace the code below from
 *     ```
       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,
       ) );
       ```
   
 * to
 *     ```
       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,
       	'hierarchical'  => true,
       ) );
       ```
   
 *  Thread Starter [yj451549728](https://wordpress.org/support/users/yj451549728/)
 * (@yj451549728)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/about-category-problem/#post-10089146)
 * ohh…good,thanks..
 *  Thread Starter [yj451549728](https://wordpress.org/support/users/yj451549728/)
 * (@yj451549728)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/about-category-problem/#post-10089182)
 * excuse me
    I have one more question. [https://mixcg-1256075144.cos.ap-guangzhou.myqcloud.com/question2.jpg](https://mixcg-1256075144.cos.ap-guangzhou.myqcloud.com/question2.jpg)
   I ask questions by category.but [https://mixcg-1256075144.cos.ap-guangzhou.myqcloud.com/question1.jpg](https://mixcg-1256075144.cos.ap-guangzhou.myqcloud.com/question1.jpg)
   there’s only one category，no parent。It should be “疑难杂症”“模型” sorry,my 
   english is bad.
 *  Plugin Author [DesignWall](https://wordpress.org/support/users/designwall/)
 * (@designwall)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/about-category-problem/#post-10093290)
 * Yes, the plugin does not support to show the parent categories as you mentioned
   here. Just show the categories name that you have selected to submit a question.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘about category problem’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/dw-question-answer_fefdf9.svg)
 * [DW Question & Answer](https://wordpress.org/plugins/dw-question-answer/)
 * [Support Threads](https://wordpress.org/support/plugin/dw-question-answer/)
 * [Active Topics](https://wordpress.org/support/plugin/dw-question-answer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dw-question-answer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dw-question-answer/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [DesignWall](https://wordpress.org/support/users/designwall/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/about-category-problem/#post-10093290)
 * Status: not resolved