I have managed to use shortcodes [dwqa-submit-question-form] and [dwqa-list-questions] in two pages of my website intended for this functinality. The pages display correctly, i.e, both form and list display below my text. However, It works only if I keep DW Q&A Settings for “Question List Page” and “Ask Question Page” directing to other webpages. This of cource means that the ‘Ask a Question’ button on the list page produces a 404 error (it directs to a page other than the actual ‘ask a question’ page.
If I try to change DW Q&A settings (Question List Page and Ask Question Page) to link to the correct pages, my text in the two pages does not display anymore and the pages appear as though I did not use the shortcode to accommodate for text in these two pages. I have spent hours trying to figure out a way to overcome this but with no success.
Hy Kyriacos,
By default, the shortcode allows you to put the question form and questions list into another positions. After inserting the shortcode of the DWQA, settings of two main pages (Question list page and ask question page ) let WordPress override the default template and print out questions, question form as well on the new pages and posts. However, whenever, you click on any question or submit a new question from the pages/posts that were inserted the shordcode, you will be redirected to the original questions list page of the DWQA, not the page/post contained the shortcode. We will update and let you assign the main page where you insert the shortcode in the next version of the DWQA plugin. Please stay tuned and will let you know once released.
Regards
Ok BigHug. Thank you!
Waiting for this update! When are you going to update this?
Waiting :(((
Please login or Register to submit your answer