Documentation for DW Question & Answer Plugin

This is quick notes for DW Questions & Answer Plugin

Short codes:

Ask Question page : [dwqa-submit-question-form]

List of Questions:  [dwqa-list-questions]

using shortcode in php code:

<?php echo do_shortcode(‘[dwqa-popular-questions number=”3″ title=””]’); ?>

 

Code:

List of categories

<ul><?php wp_list_categories('taxonomy=dwqa-question_category&hide_empty=0&show_count=1&orderby=id&title_li=');?></ul>

 

Custome Post type is

dwqa-question

dwqa-answer

 

CategoriesUncategorized

Leave a Reply

Your email address will not be published. Required fields are marked *