或许许多人都会了,
但我刚学会,
所以放上来分享一下~
在评论区添加[Reply]功能就如图所显示的:(红色框内的)
首先先去按设置,
在你每次type website的地方copy你的blog ID。
如图显示:(红色框内的)
然后copy你的blog ID,
打开【设计】->【修改HTML】 (Design -> Edit HTML)
注:记得先在【扩展窗口小部件模板】空格打勾。
Tick on [Expand Widget Templates]
**在开始前,请先下载模板以防万一。
Step 1:
ctrl+f 找 <data:commentPostedByMsg/>
copy下面的代码然后paste在<data:commentPostedByMsg/>的下面
<span><a expr:href='"https://www.blogger.com/comment.g?blogID=YOUR-BLOG-ID&postID=" + data:post.id + "&isPopup=true&postBody=%40%3C%61%20%68%72%65%66%3D%22%23" + data:comment.anchorName + "%22%3E" + data:comment.author + "%3C%2F%61%3E#form"' onclick='javascript:window.open(this.href, "bloggerPopup", "toolbar=0,location=0,statusbar=1,menubar=0,scrollbars=yes,width=450,height=450"); return false;'>[Reply]</a></span> 记得将YOUR-BLOG-ID改成自己的Blog Id。Example:
<span><a expr:href='"https://www.blogger.com/comment.g?blogID=1798249619331734921&postID=" + data:post.id + "&isPopup=true&postBody=%40%3C%61%20%68%72%65%66%3D%22%23" + data:comment.anchorName + "%22%3E" + data:comment.author + "%3C%2F%61%3E#form"' onclick='javascript:window.open(this.href, "bloggerPopup", "toolbar=0,location=0,statusbar=1,menubar=0,scrollbars=yes,width=450,height=450"); return false;'>[Reply]</a></span>**如果不想用[Reply]的字眼,可自行更改。Sophia: 我分享的东东都是看别人的,所以难免会有些相似~

没有评论:
发表评论