(First of all, it is stated that this plug-in is repaired and modified based on the failure of some functions of the original Xiaoyu sharing plug-in. Output the sharing link through the a tag.Using the tutorial:1. Download the plug-in. After installing the plug-in, open the plug-in2. Where the sharing function needs to be added, add the following code,For example, echo in the template folder_ log. Add code to the appropriate location in the PHP folder. In the corresponding position of the article page<p>Share:< a href = "<? PHP DoAction ('share_qq ', $logdata);? >" target = "_blank" > share with QQ</a>< a href = "<? PHP DoAction ('share_qzone ', $logdata);? >" target = "_blank" > share with Qzone</a>< a href = "<? PHP DoAction ('share_wb ', $logdata);? >" target = "_blank" > share on Weibo</a>The</p>Copy code)