This time, we’d like to talk about the inserting of questions and answers (Q&A) section on a WordPress site. To be frank, this kind of site area simply acts as a community to better engage the communication among webmasters and online visitors. With it, people can raise the questions or offer the answers about or relate to your website based on their own experiences. If you are considering adding such kind of website section, simply move down to read this tutorial carefully.
Use Q&A WordPress Themes
If you search online, you can find that there are a large number of special WordPress themes that are designed to create the Q&A section, such as QAEngine, Q-and-A and Instant Q&A. You can choose one according to your website design and your preference, and then, install it.
Next, you need to create a new page and assign the particular WordPress theme to that page. It means that only this newly-created page is built with a Q&A framework, and others simply remain the current template decided by you.
To achieve this, you can make use of the Jonradio Multiple Theme plugin. After installing it, you need to go to your WordPress admin and find this plugin on the Appearance tab. Then, open it to enter its setting page.
You are under its main settings tab automatically, from which you can get an overview of this WordPress plugin. If you are not willing to learn it in detail, then simply scroll down to find the section as the image showed in below. From here, you need to click the box before the URL option, choose the Q&A theme you have installed, and enter the URL of your created page that is build for the Q&A section. After that, go to the bottom of the setting page and click the Save All Changes button.
Use DW Question & Answer Plugin
WordPress is backed by a large number of plugins for different purposes. When it comes to the adding of Q&A section, there are also some plugins that can help you achieve the goal with much ease. Here, we highly recommend you to have a look at DW Question & Answer plugin, with which you can build a Q&A section with a Quora and Yahoo Answers style to your WordPress site with great ease.
To make use of this plugin, you need to follow the below steps after successful installation and activation.
DW Question & Answer General Settings
From Settings > DW Q&A of your WordPress admin, you can find three main tabs – General, Notification and Permission. Now, let’s start from the General tab.
To begin with, you need to create two pages for the Question List Page and the Ask Question Page. Here, we’d like to take the creation of the first page as an example.
Log into your dashboard and create a new webpage from Pages > Add New. Name this page as Question or some others that can help you clarify it easily. Then, add the following shortcode into the body section of this page.
[ dwqa-list-questions ]
After publishing the Question webpage, you need to add it to your menus. To do this, you can go to the Appearance tab from dashboard and choose the Menus option. Then, find the Pages box from the left-side. Here, you can find your newly-published Question page by clicking the View All button. Check the box before this page, and click the Add to Menu button.
Now, you can back to the General settings page of DWQA plugin, and find the option of Question List Page. Click the drop-down menu next to it, and choose the Question page you have just created.
As for the creation of Ask Question Page, you can follow the same procedure. The only difference is that you need to copy and paste another shortcode into the webpage like the one showed as below.
[ dwqa-submit-question-form ]
Here, you must notice an option named as “Archive Pages Show at Most”. This one simply allows you to decide the number of questions that can be listed in one webpage.
Besides this, there is also a Private Question option that allows your visitors to post private questions. You can determine to check this option or not based on your own needs.
Now, let’s scroll down to the Time Settings option. This option helps you decide how long a question can be held as a new question, as well as how long a question needs to be showed as overdue. You can choose the time frame according to your preference by entering the number of hours.
Below the Time Settings, you now need to configure the Permalink Settings. From here, you can decide the slug for the single question, category and Q&A tag. By default, we recommend you to do this as the image showed in the following.
Then, you can move to the last configuration of the General Settings – CAPTCHA Settings. This can help you prevent spam and malicious abuse effectively.
Here, you only to enable the CAPTCHA for the Submit Question Page and the Single Question Page by checking the boxes behind the options. Then, enter the public key and private key for your CAPTCHA system.
Note that this plugin utilizes Google reCAPTCHA. To get the keys for free, you can go to https://www.google.com/recaptcha/intro/index.html. Click the Get reCAPTCHA button. Then, register your site for using this system. Then, you can get the keys on the next page.
DW Question & Answer Notification Settings
To engage your readers to be active on your Q&A page, you’d better set up the Notification settings for the email sending to inform the successful posting of new questions, answers and comments.
Under the Notification tab, you can fill out the sender information including your website logo and your email address. If you think the message backup is necessary, you can also choose to send a mail copy to you.
As for the email templates, DW Question & Answer now offers 7 questions for you to choose, including New Question, New Answer, New Comment to Question, New Comment to Answer, New Answer to Followers, New Comment to Question to Followers and New Comment to Answer to Followers. Besides, you can choose to send the email in a CC or BCC way.
DW Question & Answer Permission Settings
This setting is used for you to determine who can interact with your Q&A page in what way. To put it simply, you can decide who is able to read, post, edit and delete the questions, answers and comments on your Q&A section.
Personally, we suggest you to allow all the permissions to yourself, and allow registered users to read, post and edit the words. As for the anonymous visitors, they can only read everything, but have no rights to post and edit. This way, you can encourage the user registration greatly.
Here, you need to make sure that your website is open for registration. To do this, you can go to the Settings > General Settings from your admin. In this page, you can find a Membership option. Simply check the box to enable the option of “Anyone can register”. Below that, there is a New User Default Role option. Choose Subscriber from the drop down menu.
Manage Q&A Section
Now, you have already started your Q&A section for your WordPress website. Its front end is simply like the image showed as below.
The Home Page
The Inner Page
In the back end, you can delete and edit all the questions, answers, categories and tags.