Discuz! X3.2将默认分享替换为百度分享的方法


  打开 /template/default/forum/viewthread_node.htm 文件 找到 <div id=”p_btn” class=”mtw mbm hm cl”> <!–{if !empty($_G[‘setting’][‘pluginhooks’][‘viewthread_share_method’])}–>     <div class=”tshare cl”>         <b>{lang viewthread_share_to}:&nbsp;</b>         <!–{hook/viewthread_share_method}–>     </div> <!–{/if}–> 将红色部分代码删除 将百度分享代码粘贴到蓝色代码的上边 注意:粘贴到蓝色代码下边会无法显示分享按钮的图标