The Q&A will auto create 2 pages “DWQA Ask Question & DWQA Question” after install/active the plugin. The pages will include the following shortcodes:

dw

– DWQA Ask Question:  [dwqa-submit-question-form]

– DWQA Question: [dwqa-list-questions]
 

NOTE:
– Set up a menu link for this page. Go to Appearance >> Menus, select the pages on the left-hand side then click add to the menu button.
– Use the shortcode to show the submit form and question list in everywhere that you want to have it.
– If you want to insert the shortcode to the PHP file, you can use the following code:
<?php echo do_shortcode( '[DWQA Shortcode]' ); ?>
– If you want to add the shortcode to the widget, you need to add the following code to the functions.php file:
add_filter('widget_text', 'do_shortcode');