How to add a question and answer module to your WordPress

Source: Internet
Author: User
Keywords WordPress

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

Try a number of WordPress question and answer plug-ins are basically English version, and not a few good. Is the Q&a plug-in is relatively easy to use, but it is to be paid, the price is 19 dollars. Like Quora, Yahoo FAQ, StackOverflow, q&a can let your wordpress blog has a full-featured question and answer platform. One is English version, and another 19 dollars, I believe that we write Chinese WordPress blog users, not a few need. Fortunately the site also offers a Q&a lite version of the plugin q&a Lite, completely free download.

WordPress FAQ Plug-in Q&a and Q&a Lite function difference

As shown below, both of the previous four features are supported, and the following four features are only supported by the Q&a version.

WYSIWYG foreground editing function

Customizable and easy to integrate into various topics

Integrated voting system in plug-in

Built-in credit score system and user profile

Problem classification

Support Anonymous User FAQ

e-Mail subscription issues

Full Service and plugin update

Here only the free version of the Q&a Lite introduced, because I am very poor, no use of the fee version. At the same time, the plug-in has been made by Lei son students at the front of the Chinese, for WP Chinese users, will be more conducive to user experience. Anyway, there is no better use of WordPress Chinese version of the question and answer plugin. If you want to be more powerful, it is recommended that you add a anwsion system to your subdirectory. Anwsion based on PHP + MYSQL architecture, a collection of questions and answers, wiki, muttering, and many other advantages of the program for webmaster easy to build online question and answer system, all Chinese interface and background management. Its powerful, can almost let you build a like Baidu know, search and ask questions such as the site. This is the case, the equivalent of two sites, two management background, the general user also do not use.

WordPress FAQ Plugin Q&a Lite Installation use

Download the plugin, unzip the file, upload the QA directory to your site root directory/wp-content/plugins/folder. Then enable the plug-in on the background dashboard plug-in page.

How to use

1. First make sure that your site's permalink is enabled for pseudo static.

Go to "set-> Fixed link" to see if your permalink has been pseudo static, and if not, it is not appropriate to use this plugin.

2. Go to Questions "–>" settings to assign permissions to each user role in the site. Generally except the manager all tick, other users only check "View questions." Check the question, "ask questions." Answer the question, "View answers." See the answer, "Add answers." Add an answer. In addition, because the free version of this plugin only for users to ask questions and answers, so remember in the background "settings-general-Membership" Check "anyone can register", the new user default role set to "subscriber" or "contributor." There is also a prominent position at the front desk to add a registration and login button to facilitate users.

3. Visit "http://your domain/questions/ask/" to create your first question.

4. Create a custom link in the "Appearance-menu": http://your domain/questions access to the question and answer system.

Precautions:

1. The plugin for certain topics and must be completely compatible, such as the use of the site u142 theme, the serious dislocation. If you also use u142 theme, you can solve this problem. Edit Plugins qa/default-templates/Several files in the directory.

archive-question.php

ask-question.php

edit-answer.php

edit-question.php

single-question.php

user-question.php

are in the code

"Qa-page-wrapper" >

Before inserting

"Container" >

class= "Content" >

In the Code

Insert after

Due to the different themes, this method only applies to u142 topics, other topics if you encounter problems, please analogy.

2. Because the plug-in has opened the user registration, but the WordPress default registration name, does not support the Chinese character, this may not be accustomed to the language user. You can make the following changes (after each WordPress upgrade, remember to modify).

Edit wp-includes/formatting.php file, search

function Sanitize_user ($username, $strict = False) {

Add a line of code below this line:

Strict = false;

Or, search the following line of code, before the code with//comment out.

$username = Preg_replace (' |[ ^a-z0-9 _.-@]|i ', ', $username);

WordPress FAQ Plugin: Q&a Lite Chinese version of download

Q&a Lite Download (218.9 KB, 41 times)

The article by the quasi-mom said www.zhunmashuo.com finishing published

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.