Beginner's Guide for WordPress - Start your WordPress Blog in minutes.
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
Recommended
WordPress Plugins
View all Guides

How to Create A Question and Answers Site in WordPress

Last updated on by
Special WordPress Hosting offer for WPBeginner Readers
How to Create A Question and Answers Site in WordPress

Online question and answer communities like Yahoo Answers, Quora, Stackoverflow are fun and easy way to learn from others. Q&A sites allow users to ask specific questions on selected topics which are answered by other community members. In this article, we will show you how to create a question and answers site in WordPress. You can create a whole site dedicated to question and answers or you can add a Q&A section to your existing WordPress site.

Question and Answer Sites

Video Tutorial

If you don’t like the video or need more instructions, then continue reading.

First thing you need to do is install and activate the DW Question Answers plugin. Upon activation, the plugin creates two new pages in your WordPress site: DWQA Questions and DWQA Submit Question. To edit title and slug of these pages, you need to go to Pages » All Pages and click Quick Edit link below each link.

Change the default page title and slug

The next thing you need to do is to allow user registration on your website. This can be achieved by going to Settings » General. Scroll down to the membership section and check the box next to Anyone can register. Make sure that you choose Subscriber as the new user default role.

Open your site for user registration

Now that user registration is enabled, let’s configure the plugin settings. Start by going to DW Q&A » Settings. On the General tab, you can configure the basic plugin settings. Most options here are self-explanatory.

You need to choose the page that will display the Ask Question form and another page that will List All Questions. The time settings allow you to pick how long an individual question will be highlighted as a new question. You can do this by entering the number of hours next to the New Question Time Frame option. You can also set number of days after which a question will be marked as overdue. In the Custom Permalink section, you can enter page slug for single question, single Q&A category, and single Q&A tag.

DW Q&A General Settings

Now lets head over to the Notification tab. Here you can customize the emails sent to users when a question is asked, answered, or a new comment is added.

Notification settings screen

On the Permissions tab, you can choose user roles allowed to ask questions, answer questions, and leave comments. By default the plugin allows anonymous users to post answers, but questions can only be asked by registered users. This is a great incentive for users to register.

Permissions panel

Managing Your Question Answer Site

You can view all questions added to your site from DW Q&A » All Questions. As an administrator, you can edit or delete any questions submitted by any user on your site.

You can also add Question categories since users do not have permissions to create categories. However, users can add question tags when submitting a question on your site. To understand the difference check out our guide on Categories vs Tags.

Managing question and answers from admin area

The Front End Features of Your Q&A Site

DW Question Answers is designed to fit in with most WordPress themes. This is how your questions page will look:

Questions page

Questions can be searched or sorted by status, categories, views, and answers. Your users can vote on questions, answers and add their own comments. Users can also follow questions by clicking on the star icon next to each question.

Single question page

The user who has asked the question and the site administrator has the ability to mark a question as resolved. Users can also vote for answers, choose the best answer, and add comments to the questions and answers as well. This provides a much deeper interaction platform for your users to engage in discussions around the question topic.

Voting on Answers and Question Status

This plugin is free and performs very well during our tests. There are several Question and Answer WordPress themes out there, but those lock you in to using that theme forever. The advantage of using a plugin is that you can switch your theme without losing any data.

We hope this article helped you build your own Q&A community on your WordPress site. If you have any questions for us, then please don’t hesitate to leave us a comment below. Also don’t forget to follow us on Twitter and Google+.


Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Page maintained by Syed Balkhi.

WPBeginner's Video Icon
Our HD-Quality tutorial videos for WordPress Beginners will teach you how to use WordPress to create and manage your own website in about an hour. Get started now »

Comments

  1. Raju says:

    I had a website name. Now I want to create a page for the students where all question regarding maths, especially for engineering and other numerical questions well be in solved form.. can i use this plugin for numerical question or can i put HTML codes using this plugins? pls explain me . Thank you.

  2. Zain Javed says:

    Hi sir ,

    Can you please tell me some good free themes with this plugin to work .

    Thank You ,
    Zain

  3. dh danny says:

    How to design my own template for questions and answers…?

  4. Ajay Rathaur says:

    Hi,
    As I have checked on this plugin that user can login with the wordpress account only. is it possible i can modify it. so that people can login with their gmail, yahoo and other mail account also.

  5. syed Ismail Shah says:

    i want to create a website for the students where all question regarding maths, statistics and other numerical questions well be in solved form.. can i use this plugin for numercal question or can i put HTML codes using this plugins?

  6. WPBeginner Staff says:

    @designwall Thanks for dropping by :)

  7. designwall says:

    Hi everyone,
    Thanks WPBeginner for this awesome article about our DW Q&A plugin. We really appreciate it.
    @Everyone who is using our plugin and facing any issue or having questions, please feel free to raise it at our Support page: http://www.designwall.com/question/
    Our support staff will answer all the questions and issues.
    Thanks a lot
    Cheers,

  8. Harsha Sampath says:

    Toolbar not work. Please help me

  9. raunek says:

    Does this plugin affect website loading time?

  10. hiren patel says:

    hello, is there any way to show particular page related question and answer using wp-answers plugin.

    pls advice

    thanks.

  11. younes says:

    hello…my friend

    tanx a lot for this post…

    Vote option in Local working perfectly but in really host dont appear

    I disabled all plugin but vote dont appear

    please help me

  12. HUSSAIN says:

    please give me link how to set notification setting… with image

  13. Christian Trejo says:

    Awesome! I was going to spend $124 in the WP-Answers Pro plugin but I installed this and it is awesome. Any idea about how can I translate it? Thanks

  14. Ra Ek says:

    DWQA has DWQA in the “DWQA Questions” literal. Where can this be changed? I didn’t find it in the php code.

  15. Micheal Crols says:

    I love this plugin very much. Very awesome!

  16. Nicola says:

    Can I allow anonymous users to post a question without registering?

  17. marian says:

    A very good post! I just instaled dwqa plugin, and I came here from a google search ” what theme should I use with dwqa plugin” I read the all post, I read it how to instal from dw guide original page, but tour post is better then their post :)). Good Job. Checking my site http:// Just kiding, this isn’t a spam comment :). Is my feedback :)

  18. Sai says:

    Does WordPress.com support downloading plugins and installing them? I saw that it doesn’t. Does that mean all the plugins that are mentioned are for wordpress.org?

  19. ahsan karim says:

    HELLO SIR THANKS WELL DONE

  20. Kjetil says:

    Thanks for this info
    What is the main benefits with this (or this kind of) plugin compared with a forum plugin (like Simplepress) – apart that Q&A obviously is simpler to setup?

    • WPBeginner Support says:

      It depends on how you use a forum plugin. If you want to use it to create Q&A site, then you would need to set it up in a way so that your users can quickly understand what you want them to do. Using a Q&A specific plugin takes the guess work out of the equation and provides a better user experience.

  21. Charlie Sasser says:

    I have also been looking for something like this. Have not installed yet, but it wasn’t clear if Q&A could be “viewed” without a login. I would want everyone to view the information but have a login to ask a question or answer. Could this be integrated with a plugin that allows login via Facebook, Twitter, acccount, etc.?

  22. Arup Ghosh says:

    Great share I was looking something for free. There is a theme by wp-answer.com which allows importing of question and answers from Yahoo! answers.

  23. Andy says:

    how does this integrate with paid membership pro?

    • WPBeginner Support says:

      We tested it on default WordPress install. Check out plugin’s support forum to find out if it has any compatibility issue.

  24. Anna Coffin says:

    This plug in is perfect for my site. I followed your directions but the pages are not appearing on my site? Any suggestions on what might be wrong?

    • WPBeginner Support says:

      You can also create your own pages. Simply create two new pages and then go to plugin settings and use one page as Ask question page and the other page for listing questions.

  25. shamsher says:

    very informative..

  26. Mark H says:

    I had a Q&A page on our site for a while (plugin from WPMU) but it was constantly hit with spam. How does this plugin deal with it? Unchecking “anyone can register?” Then what?

    • WPBeginner Support says:

      According to plugin website they will soon release an update to the plugin which will enable captcha support.

    • Jin Matsumoto says:

      Hi Mark,

      DesignWall Team has updated the plugin and support reCAPTCHA from Google.

  27. Erik says:

    It also appears you need to use a redirect plugin.. after you submit a question you get a 404 page.

    • Erik says:

      Ok, my mess up you need to leave permalinks at default.

    • WPBeginner Support says:

      No ,you don’t. Just update your permalink settings.

    • Debra Dalgleish says:

      I was getting that 404 page too, and had to add forward slashes at the start of the permalinks.

      • Michael Crols says:

        @Debra Dalgleish
        Just go to Dashboard >> Q&A >> Settings -> Permalink -> Save Changes.

        You do not have to change anything just press “Save Changes”button at the bottom of the screen and the 404 issue will be resolved.

  28. Erik says:

    It would be nice if you could remove the questions category and tags option. Just have the title and question.

  29. Bob Dunn says:

    Wow, perfect timing, as I have been debating between a forum and this kind of a plugin for a new site. This helped make my decision :)

    After installing and testing, I did find a couple minor bugs with the theme I am using, but this plugin is in it’s first version I believe, and that is bound to happen. Overall it looks great. Also, going through the support questions it sounds as if they are working on some more specific features as people ask questions or find issues. I see a great future for this plugin… cheers!

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.