<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>《回调函数个性化 WordPress 评论样式》的评论</title>
	<atom:link href="http://wange.im/diy-wordpress-comment-style.html/feed" rel="self" type="application/rss+xml" />
	<link>http://wange.im/diy-wordpress-comment-style.html</link>
	<description>My Life, My Studio...</description>
	<lastBuildDate>Mon, 21 May 2012 04:15:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>作者：终于把留言本整好了！！ &#124; 光速捏猫爪♪</title>
		<link>http://wange.im/diy-wordpress-comment-style.html/comment-page-1#comment-133334</link>
		<dc:creator>终于把留言本整好了！！ &#124; 光速捏猫爪♪</dc:creator>
		<pubDate>Sat, 04 Feb 2012 13:17:53 +0000</pubDate>
		<guid isPermaLink="false">http://wange.im/?p=2557#comment-133334</guid>
		<description>[...] 终于把留言本整好了！！ 这可真不容易，因为我为了简单起见，并没有使用自定义的评论模版，主题文件夹里连comments.php都没有，所以想要对留言页面做什么特殊定义就是做梦呀做梦。终于在这个周末我开工将评论部分全数自定义化（当然不是自己写的代码，来自这里），就将留言本做出来了！效果看这里。具体方法是照着这里做的，很简单，最重要的是评论得自定义化。其实一般的主题都自定义了，但是我自己写的就没有做……呀呀这下可以好好玩了。顺便也将日志下的评论板式做了下调整， 如果可以的话，我希望能做的更精简一些。不过看来用上大量jquery是免不了的了orz先到这里，继续折腾~   window.___gcfg = {lang: &#039;zh-CN&#039;}; (function() { var po = document.createElement(&#039;script&#039;); po.type = &#039;text/javascript&#039;; po.async = true; po.src = &#039;https://apis.google.com/js/plusone.js&#039;; var s = document.getElementsByTagName(&#039;script&#039;)[0]; s.parentNode.insertBefore(po, s); })();   2012/02/04 &#124; Category:更新记录 &#124; Tags: &#124; 本文固定链接 Pinched 0. No Comments发表评论 点击这里取消回复。 姓名  电子邮件 (不会被公开)  站点.yarr { position:relative;visibility:hidden; } .yarr span { cursor:pointer; position:absolute; bottom:5px; right:0; } .yarr img { vertical-align:-2px } li:hover .yarr { visibility:visible; } // function yus_replyTo(commentID, author) { var inReplyTo = &#039;@&#039; + author + &#039;: &#039;; var myField; if (document.getElementById(&#039;comment&#039;) &amp;&amp; document.getElementById(&#039;comment&#039;).type == &#039;textarea&#039;) { myField = document.getElementById(&#039;comment&#039;); } else { return false; } if (document.selection) { myField.focus(); sel = document.selection.createRange(); sel.text = inReplyTo; myField.focus(); } else if (myField.selectionStart &#124;&#124; myField.selectionStart == &#039;0&#039;) { var startPos = myField.selectionStart; var endPos = myField.selectionEnd; var cursorPos = endPos; myField.value = myField.value.substring(0, startPos) + inReplyTo + myField.value.substring(endPos, myField.value.length); cursorPos += inReplyTo.length; myField.focus(); myField.selectionStart = cursorPos; myField.selectionEnd = cursorPos; } else { myField.value += inReplyTo; myField.focus(); } } // 有人回覆時郵件通知我 img.wp-smiley-select {cursor: pointer;} function grin(tag) { if (typeof tinyMCE != &#039;undefined&#039;) { grin_tinymcecomments(tag); } else { grin_plain(tag); } } function grin_tinymcecomments(tag) { tinyMCE.execCommand(&#039;mceInsertContent&#039;, false, &#039; &#039; + tag + &#039; &#039;); } function grin_plain(tag) { var myField; var myCommentTextarea = &quot;comment&quot;; tag = &#039; &#039; + tag + &#039; &#039;; if (document.getElementById(myCommentTextarea) &amp;&amp; document.getElementById(myCommentTextarea).type == &#039;textarea&#039;) { myField = document.getElementById(myCommentTextarea); } else { return false; } if (document.selection) { myField.focus(); sel = document.selection.createRange(); sel.text = tag; myField.focus(); } else if (myField.selectionStart &#124;&#124; myField.selectionStart == &#039;0&#039;) { var startPos = myField.selectionStart; var endPos = myField.selectionEnd; var cursorPos = endPos; myField.value = myField.value.substring(0, startPos) + tag + myField.value.substring(endPos, myField.value.length); cursorPos += tag.length; myField.focus(); myField.selectionStart = cursorPos; myField.selectionEnd = cursorPos; } else { myField.value += tag; myField.focus(); } } function moreSmilies() { document.getElementById(&#039;wp-smiley-more&#039;).style.display = &#039;inline&#039;; document.getElementById(&#039;wp-smiley-toggle&#039;).innerHTML = &#039;&#171;&#160;less&#039;; } function lessSmilies() { document.getElementById(&#039;wp-smiley-more&#039;).style.display = &#039;none&#039;; document.getElementById(&#039;wp-smiley-toggle&#039;).innerHTML = &#039;more&#160;&#187;&#039;; }                                                                                                                      more&#160;&#187;&#169; JUGEM(PICTO). [...]</description>
		<content:encoded><![CDATA[<p>[...] 终于把留言本整好了！！ 这可真不容易，因为我为了简单起见，并没有使用自定义的评论模版，主题文件夹里连comments.php都没有，所以想要对留言页面做什么特殊定义就是做梦呀做梦。终于在这个周末我开工将评论部分全数自定义化（当然不是自己写的代码，来自这里），就将留言本做出来了！效果看这里。具体方法是照着这里做的，很简单，最重要的是评论得自定义化。其实一般的主题都自定义了，但是我自己写的就没有做……呀呀这下可以好好玩了。顺便也将日志下的评论板式做了下调整， 如果可以的话，我希望能做的更精简一些。不过看来用上大量jquery是免不了的了orz先到这里，继续折腾~   window.___gcfg = {lang: &#039;zh-CN&#039;}; (function() { var po = document.createElement(&#039;script&#039;); po.type = &#039;text/javascript&#039;; po.async = true; po.src = &#039;<a href="https://apis.google.com/js/plusone.js&#038;#039" rel="nofollow">https://apis.google.com/js/plusone.js&#038;#039</a>;; var s = document.getElementsByTagName(&#039;script&#039;)[0]; s.parentNode.insertBefore(po, s); })();   2012/02/04 | Category:更新记录 | Tags: | 本文固定链接 Pinched 0. No Comments发表评论 点击这里取消回复。 姓名  电子邮件 (不会被公开)  站点.yarr { position:relative;visibility:hidden; } .yarr span { cursor:pointer; position:absolute; bottom:5px; right:0; } .yarr img { vertical-align:-2px } li:hover .yarr { visibility:visible; } // function yus_replyTo(commentID, author) { var inReplyTo = &#039;@&#039; + author + &#039;: &#039;; var myField; if (document.getElementById(&#039;comment&#039;) &amp;&amp; document.getElementById(&#039;comment&#039;).type == &#039;textarea&#039;) { myField = document.getElementById(&#039;comment&#039;); } else { return false; } if (document.selection) { myField.focus(); sel = document.selection.createRange(); sel.text = inReplyTo; myField.focus(); } else if (myField.selectionStart || myField.selectionStart == &#039;0&#039;) { var startPos = myField.selectionStart; var endPos = myField.selectionEnd; var cursorPos = endPos; myField.value = myField.value.substring(0, startPos) + inReplyTo + myField.value.substring(endPos, myField.value.length); cursorPos += inReplyTo.length; myField.focus(); myField.selectionStart = cursorPos; myField.selectionEnd = cursorPos; } else { myField.value += inReplyTo; myField.focus(); } } // 有人回覆時郵件通知我 img.wp-smiley-select {cursor: pointer;} function grin(tag) { if (typeof tinyMCE != &#039;undefined&#039;) { grin_tinymcecomments(tag); } else { grin_plain(tag); } } function grin_tinymcecomments(tag) { tinyMCE.execCommand(&#039;mceInsertContent&#039;, false, &#039; &#039; + tag + &#039; &#039;); } function grin_plain(tag) { var myField; var myCommentTextarea = &quot;comment&quot;; tag = &#039; &#039; + tag + &#039; &#039;; if (document.getElementById(myCommentTextarea) &amp;&amp; document.getElementById(myCommentTextarea).type == &#039;textarea&#039;) { myField = document.getElementById(myCommentTextarea); } else { return false; } if (document.selection) { myField.focus(); sel = document.selection.createRange(); sel.text = tag; myField.focus(); } else if (myField.selectionStart || myField.selectionStart == &#039;0&#039;) { var startPos = myField.selectionStart; var endPos = myField.selectionEnd; var cursorPos = endPos; myField.value = myField.value.substring(0, startPos) + tag + myField.value.substring(endPos, myField.value.length); cursorPos += tag.length; myField.focus(); myField.selectionStart = cursorPos; myField.selectionEnd = cursorPos; } else { myField.value += tag; myField.focus(); } } function moreSmilies() { document.getElementById(&#039;wp-smiley-more&#039;).style.display = &#039;inline&#039;; document.getElementById(&#039;wp-smiley-toggle&#039;).innerHTML = &#039;&laquo;&nbsp;less&#039;; } function lessSmilies() { document.getElementById(&#039;wp-smiley-more&#039;).style.display = &#039;none&#039;; document.getElementById(&#039;wp-smiley-toggle&#039;).innerHTML = &#039;more&nbsp;&raquo;&#039;; }                                                                                                                      more&nbsp;&raquo;&copy; JUGEM(PICTO). [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：mingming</title>
		<link>http://wange.im/diy-wordpress-comment-style.html/comment-page-1#comment-124540</link>
		<dc:creator>mingming</dc:creator>
		<pubDate>Mon, 08 Aug 2011 08:51:23 +0000</pubDate>
		<guid isPermaLink="false">http://wange.im/?p=2557#comment-124540</guid>
		<description>支持一下好文章！ :grin:</description>
		<content:encoded><![CDATA[<p>支持一下好文章！ <img src='http://wange.im/wp-includes/images/smilies/icon_biggrin.gif' alt=':grin:' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：豆大师</title>
		<link>http://wange.im/diy-wordpress-comment-style.html/comment-page-1#comment-122747</link>
		<dc:creator>豆大师</dc:creator>
		<pubDate>Fri, 22 Jul 2011 03:38:08 +0000</pubDate>
		<guid isPermaLink="false">http://wange.im/?p=2557#comment-122747</guid>
		<description>虽然没用你的代码，不过看明白了找到思路了，解决了我的问题，还是非常感谢啊~  关于样式什么的还有很多问题想请教你哦，望不吝赐教。
先问个插件吧，右边那个 欢迎朋友，订阅博客那个是什么插件呢？？</description>
		<content:encoded><![CDATA[<p>虽然没用你的代码，不过看明白了找到思路了，解决了我的问题，还是非常感谢啊~  关于样式什么的还有很多问题想请教你哦，望不吝赐教。<br />
先问个插件吧，右边那个 欢迎朋友，订阅博客那个是什么插件呢？？</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：万戈</title>
		<link>http://wange.im/diy-wordpress-comment-style.html/comment-page-1#comment-122502</link>
		<dc:creator>万戈</dc:creator>
		<pubDate>Wed, 20 Jul 2011 14:42:57 +0000</pubDate>
		<guid isPermaLink="false">http://wange.im/?p=2557#comment-122502</guid>
		<description>呃。。。都不是，是改style.css</description>
		<content:encoded><![CDATA[<p>呃。。。都不是，是改style.css</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：yautou</title>
		<link>http://wange.im/diy-wordpress-comment-style.html/comment-page-1#comment-122480</link>
		<dc:creator>yautou</dc:creator>
		<pubDate>Wed, 20 Jul 2011 12:14:02 +0000</pubDate>
		<guid isPermaLink="false">http://wange.im/?p=2557#comment-122480</guid>
		<description>呃在哪个php文件里？我现在想把昵称移到头像右边，放下方不怎么好看。该修改哪个文件？哪段代码？麻烦提示下咯~我找过comments和function，可惜没能成功，也就改了头像大小，囧。。。 :arrow:</description>
		<content:encoded><![CDATA[<p>呃在哪个php文件里？我现在想把昵称移到头像右边，放下方不怎么好看。该修改哪个文件？哪段代码？麻烦提示下咯~我找过comments和function，可惜没能成功，也就改了头像大小，囧。。。 <img src='http://wange.im/wp-includes/images/smilies/icon_arrow.gif' alt=':arrow:' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：万戈</title>
		<link>http://wange.im/diy-wordpress-comment-style.html/comment-page-1#comment-122478</link>
		<dc:creator>万戈</dc:creator>
		<pubDate>Wed, 20 Jul 2011 12:10:45 +0000</pubDate>
		<guid isPermaLink="false">http://wange.im/?p=2557#comment-122478</guid>
		<description>位置就要靠样式来定义啦</description>
		<content:encoded><![CDATA[<p>位置就要靠样式来定义啦</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：yautou</title>
		<link>http://wange.im/diy-wordpress-comment-style.html/comment-page-1#comment-122469</link>
		<dc:creator>yautou</dc:creator>
		<pubDate>Wed, 20 Jul 2011 08:47:11 +0000</pubDate>
		<guid isPermaLink="false">http://wange.im/?p=2557#comment-122469</guid>
		<description>请问，如何修改评论的头像与昵称以及时间的位置？ :roll:</description>
		<content:encoded><![CDATA[<p>请问，如何修改评论的头像与昵称以及时间的位置？ <img src='http://wange.im/wp-includes/images/smilies/icon_rolleyes.gif' alt=':roll:' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：三郎之梦</title>
		<link>http://wange.im/diy-wordpress-comment-style.html/comment-page-1#comment-105571</link>
		<dc:creator>三郎之梦</dc:creator>
		<pubDate>Tue, 05 Apr 2011 07:41:05 +0000</pubDate>
		<guid isPermaLink="false">http://wange.im/?p=2557#comment-105571</guid>
		<description>Mark</description>
		<content:encoded><![CDATA[<p>Mark</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：Aerial</title>
		<link>http://wange.im/diy-wordpress-comment-style.html/comment-page-1#comment-105011</link>
		<dc:creator>Aerial</dc:creator>
		<pubDate>Sun, 03 Apr 2011 05:52:41 +0000</pubDate>
		<guid isPermaLink="false">http://wange.im/?p=2557#comment-105011</guid>
		<description>超喜欢这个样式和功能 :razz:</description>
		<content:encoded><![CDATA[<p>超喜欢这个样式和功能 <img src='http://wange.im/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：Terry Chen</title>
		<link>http://wange.im/diy-wordpress-comment-style.html/comment-page-1#comment-93943</link>
		<dc:creator>Terry Chen</dc:creator>
		<pubDate>Mon, 31 Jan 2011 05:06:52 +0000</pubDate>
		<guid isPermaLink="false">http://wange.im/?p=2557#comment-93943</guid>
		<description>呵呵，为了折腾WP主题四处搜索，发现了这个好东西，谢谢！</description>
		<content:encoded><![CDATA[<p>呵呵，为了折腾WP主题四处搜索，发现了这个好东西，谢谢！</p>
]]></content:encoded>
	</item>
</channel>
</rss>

