Add Question2Answer statistics, question2answer
The first step, on the http://www.cnzz.com website, register an account, then fill in your website information, get it script.
Step 2: copy the script to Your webpage script. For example:
Find the/qa-include/qa-theme-base.php file and modify the following function.
Function attribution ()
{
// Hi there. I 'd really appreciate you displaying this link on your Q2A site. Thank you-Gideon
$ This-> output (
'<Div class = "qa-attribution"> ',
'Powered by <a href = "http://www.question2answer.org/"> Question2Answer </a> ',
'</Div>'
);
// Forlong401 adds them for tongji. Some personal information is omitted here. <script> the tag contains the source code script copied from CNZZ. Note: If the single quotation mark "'" appears, you need to add the backslash \ to escape it.
$ This-> output (
'<Div class = "cnzz-attribution"> ',
'<Script type = "text/javascript"> var cnzz_protocol = ("https:" = document. location. protocol )? "Https: //": "http: //"); </script> ',
'</Div>'
);