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

 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.