stefano pek
asked 10 years ago

Hi, I’ve just discovered your plugin and looks like one of the best our there for this kind of things, so congratulations for your work.
I want embed via shortcode (or classic code) specific category or tag in a page, is it possible? Could you help me?

2 Answers
answered 10 years ago

Dear Stefano,
You can use shortcodes to display listing of questions, ask question form and list of popular and related questions and latest answers. 
You can use the DWQA Embed plugin to allow you to embed questions anywhere on an html page.
But if you are looking for something specific, please explain a bit more in detail!

stefano pek
replied 10 years ago

I want to embed questions of a specific category or tag. That’s it.

answered 10 years ago

Hi guys, 
I made a shortcode here, you can use tag or category slug to specify what tag / category you want to use to listing the questions in there. 
Hope this helps.

Andrew Stas
replied 10 years ago

hi BigHug,

This is exactly what we need!

But i see that my post URL is replacing by question category link, is there a way not to replace it? Also my WP doesn’t like “ob_start( array( $this, ‘sanitize_output’ ) );”

Thanks a lot!

replied 10 years ago

you can go to folder dw-question-answer/inc/templates/default/assets/js
and open the file dwqa-question-list.js, find and remove these lines of code :
window.history.pushState(null, document.title,;
Hope this help!

Powered by DW Question & Answer Pro