How does wordpress use third-party comments?

Source: Internet
Author: User
Tags comments

What is "more"

According to the official introduction, the comment box is a WordPress social comment plug-in that can be used to log on to Sina Weibo, Tencent QQ, Renren, and Douban to help the website optimize social media. For most small and medium-sized independent blogs, just like other third-party social comment systems, the most direct effect is to bring vitality to the website and enhance the user experience.

The third-party comment system is developed abroad and has entered the Chinese market for a short period of time and is developing rapidly.

Main features of the "more" social comment box

I have a simple understanding that the main features of "speaking more" are not very different from those of other social comment platforms. It almost supports mainstream SNS in China, like other platforms, it seems that they do not support mainstream SNS in foreign countries, such as twitter, facebook, and Google +. In fact, it is no wonder that none of these things are concerned in China, for most Chinese users, many people do not know twitter and Google + so far, and it is not a simple technical activity to log on to these websites.

I started to use another social comment service, which slowed down the network speed and made the interface too busy. So I chose this plug-in based on the recommendations I love boiled fish.

For example, it is a good third-party comment. My blog also uses more comments.

 

Previously, I thought that I could only use plug-ins in the form of wordpress, z-blog, discuz and other mainstream website building programs. A friend reminded me that any website (including a self-developed website) could call more comments. I tried it right away and found that it was indeed quite simple, it can be seen that the applicability and ease of use are very good.

First, log on to the official website. If you have not registered one before, you can register one. Then go to the background management, and enter the website address you want to reference:

After that, you only need to introduce a div box where you want to display comments:

The code is as follows: Copy code

<! -- Let's talk about the comment box start -->
<Div data-thread-key = "replace this with the ID of the article on your site" data-title = "replace it with the article title" data-url = "please replace it with the article URL "> </div>
<! -- Describe the comment box end -->
Www.111cn.net <! -- More common JS code start (only one page needs to be inserted) -->
<Script type = "text/javascript">
Var duoshuoQuery = {short_name: "bistuapp "};
(Function (){
Var ds = document. createElement ('script ');
Ds. type = 'text/javascript '; ds. async = true;
Ds. src = (document. location. protocol = 'https :'? 'Https: ': 'http:') + '// static.duoshuo.com/embed.js ';
Ds. charset = 'utf-8 ';
(Document. getElementsByTagName ('head') [0]
| Document. getElementsByTagName ('body') [0]). appendChild (ds );
})();
</Script>
<! -- More common JS code end -->
Note that the data-thread-key and data-url parameters must be set. Otherwise, the comments will be displayed in all articles.

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.