<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>licream&#039;s blog &#187; wordpress</title>
	<atom:link href="http://www.licream.net/tag/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://www.licream.net</link>
	<description></description>
	<lastBuildDate>Thu, 29 Jul 2010 08:26:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>本站使用WordPress插件汇总</title>
		<link>http://www.licream.net/wordpresshack.html/</link>
		<comments>http://www.licream.net/wordpresshack.html/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 11:41:30 +0000</pubDate>
		<dc:creator>Licream</dc:creator>
				<category><![CDATA[网络相关]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[插件]]></category>

		<guid isPermaLink="false">http://www.licream.net/%e6%9c%ac%e7%ab%99%e4%bd%bf%e7%94%a8wordpress%e6%8f%92%e4%bb%b6%e6%b1%87%e6%80%bb.html</guid>
		<description><![CDATA[WP折腾的差不多了，暂时还没想到哪需要去弄弄，整理WP当然离不开插件哈，有些是必需使用的，在这我也分享给大家看看，知道大家基本都有过总结插件这文－ －！。随便看看哈。 1.Baidu Sitemap Generator&#160; 百度地图。 2.Google XML Sitemaps&#160; google地图，这二个优化用的。。 &#160; 3.Comment Info Detector&#160; 会显示留言者的IP，地理，浏览器信息。感觉很时尚。呵呵 4.PHP Speedy WP&#160; 优化类的，好像是优化JS的。。。我的目的是为了配合wp super cache用。 5.WP Super Cache&#160;&#160; 缓存插件，具说配合上面的使用效果更佳。 6.ItemstatLite&#160; 这插件很少人用到。魔兽世界玩家用的，是为了显示英雄榜信息，装备也可以显示。作者制作了很多魔兽插件。也有php之类的插件。牛人一个，预览请看。 [item]索利达尔，群星之怒[/item] 7.SyntaxHighlighter Evolved 代码高亮，个人感觉很不错，我很喜欢的。 防Spam的和读者墙功能还有ajax无刷新回复功能我使用了Willin.org牛人提供的代码，mp3播放器主题已经有了，不用我去操心。还有很多都是在网上找到的各位方法加以添加修改的。比如jquery效果阿，大家可以在我footer下面找到我的all.js文件。想要用这些效果的下载去弄弄。不准盗链哈~还有个功能是把文章同步到QQ空间以及嘀咕，雷猴等微博。代码是用我爱水煮鱼的。感觉这才像个样了嘛。呵呵！]]></description>
			<content:encoded><![CDATA[<p>WP折腾的差不多了，暂时还没想到哪需要去弄弄，整理WP当然离不开插件哈，有些是必需使用的，在这我也分享给大家看看，知道大家基本都有过总结插件这文－ －！。随便看看哈。</p>
<p>1.<strong>Baidu Sitemap Generator</strong>&#160; 百度地图。</p>
<p>2.<strong>Google XML Sitemaps</strong>&#160; google地图，这二个优化用的。。</p>
<p> <span id="more-360"></span>
<p>&#160;</p>
<p>3.<strong>Comment Info Detector</strong>&#160; 会显示留言者的IP，地理，浏览器信息。感觉很时尚。呵呵</p>
<p>4.<strong>PHP Speedy WP</strong>&#160; 优化类的，好像是优化JS的。。。我的目的是为了配合wp super cache用。</p>
<p>5.<strong>WP Super Cache</strong>&#160;&#160; 缓存插件，具说配合上面的使用效果更佳。</p>
<p>6.<strong>ItemstatLite</strong>&#160; 这插件很少人用到。魔兽世界玩家用的，是为了显示英雄榜信息，装备也可以显示。作者制作了很多魔兽插件。也有php之类的插件。牛人一个，预览<a href="http://www.licream.net/about" target="_blank">请看</a>。</p>
<p>[item]索利达尔，群星之怒[/item]</p>
<p>7.<strong>SyntaxHighlighter Evolved</strong> 代码高亮，个人感觉很不错，我很喜欢的。</p>
<p>防Spam的和读者墙功能还有ajax无刷新回复功能我使用了Willin.org牛人提供的代码，mp3播放器主题已经有了，不用我去操心。还有很多都是在网上找到的各位方法加以添加修改的。比如jquery效果阿，大家可以在我footer下面找到我的all.js文件。想要用这些效果的下载去弄弄。不准盗链哈~还有个功能是把文章同步到QQ空间以及嘀咕，雷猴等微博。代码是用我爱水煮鱼的。感觉这才像个样了嘛。呵呵！</p>
]]></content:encoded>
			<wfw:commentRss>http://www.licream.net/wordpresshack.html/feed/</wfw:commentRss>
		<slash:comments>72</slash:comments>
		</item>
		<item>
		<title>完美解决高亮代码问题　</title>
		<link>http://www.licream.net/syntaxhighlighter.html/</link>
		<comments>http://www.licream.net/syntaxhighlighter.html/#comments</comments>
		<pubDate>Sun, 27 Dec 2009 17:09:20 +0000</pubDate>
		<dc:creator>Licream</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[网络相关]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[themes]]></category>
		<category><![CDATA[高亮代码]]></category>

		<guid isPermaLink="false">http://www.licream.net/?p=357</guid>
		<description><![CDATA[上篇文章贴上的代码居然插件起不到作用，郁闷死了。后台设置又能显示。这周末基本都在外面，今晚好好整下，呵呵 测试了一晚上才弄出来。查看插件代码，里面定义了两个函数，分别将代码高亮的css和Js插入网页头部和尾部，这是插入部分： add_action('wp_head','insert_header'); add_action('wp_footer','insert_footer'); 然后打开页面，查看输出的源代码， 发现header里已经加入了代码高亮的css，可是footer却没有发现本应该出现的引用JS的代码。 于是打开footer.php模板文件，对比了下，发现缺少wp_footer函数，呵呵，我想问题就出在这，现在想起来了，主题之前支持Growl效果，但在IE里常出脚本错误，再说这功能我不怎么常用到，所以删掉，哪知不小心把这函数给删了。郁闷。 所以在footer模版的body上面添加&#60; ?php wp_footer(); ?&#62;函数，即可！ 求助：这插件支持十几种语言代码。但是他都会调用JS，我想让他在首页不显示效果。该怎么改下呢？ //经zww达人提供的方法 &#60;?php if (is_single() or is_page()) { ?&#62; &#60;?php wp_head(); ?&#62; &#60;?php } ?&#62; footer就改成：< ?php wp_footer(); ?>]]></description>
			<content:encoded><![CDATA[<p>上篇文章贴上的代码居然插件起不到作用，郁闷死了。后台设置又能显示。这周末基本都在外面，今晚好好整下，呵呵<br />
测试了一晚上才弄出来。查看插件代码，里面定义了两个函数，分别将代码高亮的css和Js插入网页头部和尾部，这是插入部分：</p>
<pre class="brush: php;">
add_action('wp_head','insert_header');
add_action('wp_footer','insert_footer');
</pre>
<p><span id="more-357"></span><br />
然后打开页面，查看输出的源代码， 发现header里已经加入了代码高亮的css，可是footer却没有发现本应该出现的引用JS的代码。</p>
<p>于是打开footer.php模板文件，对比了下，发现缺少wp_footer函数，呵呵，我想问题就出在这，现在想起来了，主题之前支持Growl效果，但在IE里常出脚本错误，再说这功能我不怎么常用到，所以删掉，哪知不小心把这函数给删了。郁闷。<br />
所以在footer模版的body上面添加&lt; ?php wp_footer(); ?&gt;函数，即可！</p>
<p>求助：这插件支持十几种语言代码。但是他都会调用JS，我想让他在首页不显示效果。该怎么改下呢？</p>
<p>//经zww达人提供的方法</p>
<pre class="brush: php;">
&lt;?php if (is_single() or is_page()) { ?&gt;
&lt;?php wp_head(); ?&gt;
&lt;?php } ?&gt;
</pre>
<p>footer就改成：< ?php wp_footer(); ?></p>
]]></content:encoded>
			<wfw:commentRss>http://www.licream.net/syntaxhighlighter.html/feed/</wfw:commentRss>
		<slash:comments>50</slash:comments>
		</item>
		<item>
		<title>本站已添加的收藏分享代码</title>
		<link>http://www.licream.net/favorite-share-code.html/</link>
		<comments>http://www.licream.net/favorite-share-code.html/#comments</comments>
		<pubDate>Fri, 25 Dec 2009 20:25:13 +0000</pubDate>
		<dc:creator>Licream</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[网络相关]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[Favorite]]></category>
		<category><![CDATA[themes]]></category>

		<guid isPermaLink="false">http://www.licream.net/?p=355</guid>
		<description><![CDATA[最近对主题的改动相当多，想总结一下，但涉及的内容比较多，恐怕一次性写完的长篇大论怕难看完额，所以分段分享，这样标题也明确。呵呵， 我对PHP技术不懂写不出什么代码出来，基本我使用的方法都来自于网络及各大博客里技术文章阿，无奈的我只会copy。发此贴第一为了分享，二为了收藏以作备用－ －。 直接上代码了。 首先把下面的代码复制到single.php文件自已主题的相应文置，我放在标签下面。（我的标签已经放在标题上面去了）。 &#60;p class=&#34;follow&#34;&#62; 原文链接 :&#60;a href=&#34;&#60;?php the_permalink() ?&#62;&#34;&#62;&#60; ?php the_permalink() ?&#62;&#60;/a&#62;&#60;br /&#62; 转载原创文章请注明来源:&#60;a href=&#34;&#60;?php bloginfo('url');?&#62;&#34; target=&#34;_blank&#34;&#62; &#60; ?php bloginfo('name');?&#62;&#60;/a&#62;&#60;br /&#62; 订阅本博：&#60;a href=&#34;http://www.licream.net/feed&#34;&#62;RSS订阅&#60;/a&#62; ( &#60;a href=&#34;http://fusion.google.com/add?feedurl=http://www.licream.net/feed/&#34;&#62;Google Reader&#60;/a&#62; / &#60;a href=&#34;http://reader.youdao.com/#url=http://www.licream.net/feed/&#34;&#62;有道&#60;/a&#62; / &#60;a href=&#34;http://mail.qq.com/cgi-bin/feed?u=http://www.licream.net/feed/&#34;&#62;QQ邮箱&#60;/a&#62; / &#60;a href=&#34;http://www.xianguo.com/subscribe.php?url=http://www.licream.net/feed/&#34;&#62;鲜果&#60;/a&#62; / &#60;a href=&#34;http://9.douban.com/reader/subscribe?url=http://www.licream.net/feed/&#34;&#62;豆瓣&#60;/a&#62; / &#60;a href=&#34;http://www.zhuaxia.com/add_channel.php?url=http://www.licream.net/feed/&#34;&#62;抓虾&#60;/a&#62;)&#60;br /&#62; 收藏分享本文：&#60;a title=&#34;转贴到校内人人网&#34; href=&#34;javascript:void((function(s,d,e){if(/xiaonei\.com/.test(d.location))return;var%20f='http://share.xiaonei.com/share/buttonshare.do?link=',u=d.location,l=d.title,p=[e(u),'&#38;amp;title=',e(l)].join('');function%20a(){if(!window.open([f,p].join(''),'xnshare',['toolbar=0,status=0,resizable=1,width=626,height=436,left=',(s.width-626)/2,',top=',(s.height-436)/2].join('')))u.href=[f,p].join('');};if(/Firefox/.test(navigator.userAgent))setTimeout(a,0);else%20a();})(screen,document,encodeURIComponent));&#34;&#62;&#60;img src=&#34;http://www.licream.net/wp-content/themes/istudio-theme/resources/renren.gif&#34; alt=&#34;分享到校内人人网&#34; border=&#34;0&#34; height=&#34;16&#34; width=&#34;16&#34;/&#62;&#60;/a&#62; &#60;a [...]]]></description>
			<content:encoded><![CDATA[<p>最近对主题的改动相当多，想总结一下，但涉及的内容比较多，恐怕一次性写完的长篇大论怕难看完额，所以分段分享，这样标题也明确。呵呵，<br />
我对PHP技术不懂写不出什么代码出来，基本我使用的方法都来自于网络及各大博客里技术文章阿，无奈的我只会copy。发此贴第一为了分享，二为了收藏以作备用－ －。<br />
直接上代码了。<br />
首先把下面的代码复制到single.php文件自已主题的相应文置，我放在标签下面。（我的标签已经放在标题上面去了）。</p>
<p><span id="more-355"></span></p>
<pre class="brush: xml;">
 &lt;p class=&quot;follow&quot;&gt;
原文链接 :&lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot;&gt;&lt; ?php the_permalink() ?&gt;&lt;/a&gt;&lt;br /&gt;
转载原创文章请注明来源:&lt;a href=&quot;&lt;?php bloginfo('url');?&gt;&quot; target=&quot;_blank&quot;&gt; &lt; ?php bloginfo('name');?&gt;&lt;/a&gt;&lt;br /&gt;
订阅本博：&lt;a href=&quot;http://www.licream.net/feed&quot;&gt;RSS订阅&lt;/a&gt; ( &lt;a href=&quot;http://fusion.google.com/add?feedurl=http://www.licream.net/feed/&quot;&gt;Google Reader&lt;/a&gt;
 / &lt;a href=&quot;http://reader.youdao.com/#url=http://www.licream.net/feed/&quot;&gt;有道&lt;/a&gt;
 / &lt;a href=&quot;http://mail.qq.com/cgi-bin/feed?u=http://www.licream.net/feed/&quot;&gt;QQ邮箱&lt;/a&gt;
 / &lt;a href=&quot;http://www.xianguo.com/subscribe.php?url=http://www.licream.net/feed/&quot;&gt;鲜果&lt;/a&gt;
 / &lt;a href=&quot;http://9.douban.com/reader/subscribe?url=http://www.licream.net/feed/&quot;&gt;豆瓣&lt;/a&gt;
 / &lt;a href=&quot;http://www.zhuaxia.com/add_channel.php?url=http://www.licream.net/feed/&quot;&gt;抓虾&lt;/a&gt;)&lt;br /&gt;
收藏分享本文：&lt;a title=&quot;转贴到校内人人网&quot; href=&quot;javascript:void((function(s,d,e){if(/xiaonei\.com/.test(d.location))return;var%20f='http://share.xiaonei.com/share/buttonshare.do?link=',u=d.location,l=d.title,p=[e(u),'&amp;amp;title=',e(l)].join('');function%20a(){if(!window.open([f,p].join(''),'xnshare',['toolbar=0,status=0,resizable=1,width=626,height=436,left=',(s.width-626)/2,',top=',(s.height-436)/2].join('')))u.href=[f,p].join('');};if(/Firefox/.test(navigator.userAgent))setTimeout(a,0);else%20a();})(screen,document,encodeURIComponent));&quot;&gt;&lt;img src=&quot;http://www.licream.net/wp-content/themes/istudio-theme/resources/renren.gif&quot; alt=&quot;分享到校内人人网&quot; border=&quot;0&quot; height=&quot;16&quot; width=&quot;16&quot;/&gt;&lt;/a&gt;

&lt;a href=&quot;javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(kaixin=window.open('http://www.kaixin001.com/~repaste/repaste.php?&amp;amp;rurl='+escape(d.location.href)+'&amp;amp;rtitle='+escape(d.title)+'&amp;amp;rcontent='+escape(d.title),'kaixin'));kaixin.focus();&quot; title=&quot;转贴到开心网&quot;&gt;&lt;img src=&quot;http://www.licream.net/wp-content/themes/istudio-theme/resources/kaixin.gif&quot; alt=&quot;转贴到开心网&quot; border=&quot;0&quot;/&gt;&lt;/a&gt;

&lt;a title=&quot;添加到QQ书签&quot; href=&quot;javascript:window.open('http://shuqian.qq.com/post?from=3&amp;amp;title='+encodeURIComponent(document.title)+'&amp;amp;uri='+encodeURIComponent(document.location.href)+'&amp;amp;jumpback=2&amp;amp;noui=1','favit','width=930,height=470,left=50,top=50,toolbar=no,menubar=no,location=no,scrollbars=yes,status=yes,resizable=yes');void(0)&quot;&gt;&lt;img src=&quot;http://www.licream.net/wp-content/themes/istudio-theme/resources/qq.png&quot; alt=&quot;QQ书签&quot; border=&quot;0&quot; height=&quot;16&quot; width=&quot;16&quot;/&gt;&lt;/a&gt;

&lt;a href=&quot;http://app.foxling.cn/dilink/share.asp?u=&lt;?php the_permalink(); ?&gt;&amp;t=&lt; ?php the_title(); ?&gt;&quot; title=&quot;嘀咕一下&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://www.licream.net/wp-content/themes/istudio-theme/resources/digu.png&quot;/&gt;&lt;/a&gt;

&lt;a href=&quot;javascript:u=location.href;t=document.title;t=t.substr(0,76);c=%22%22+(window.getSelection?window.getSelection():document.getSelection?document.getSelection():document.selection.createRange().text);c=c.substr(0,180);location=%22http://zuosa.com/collect/Collect.aspx?t=%22+encodeURIComponent(t)+%22&amp;u=%22+encodeURIComponent(u);void%200&quot; title=&quot;你在做啥&quot;&gt;&lt;img src=&quot;http://www.licream.net/wp-content/themes/istudio-theme/resources/zuosa.gif&quot;/&gt;&lt;/a&gt;

&lt;a title=&quot;添加到百度搜藏&quot; href=&quot;javascript:u=location.href;t=document.title;t=t.substr(0,76);c=%22%22+(window.getSelection?window.getSelection():document.getSelection?document.getSelection():document.selection.createRange().text);c=c.substr(0,180);var url=%22http://cang.baidu.com/do/add?it=%22+encodeURIComponent(t)+%22&amp;amp;iu=%22+encodeURIComponent(u)+%22&amp;amp;dc=%22+encodeURIComponent(c)+%22&amp;amp;fr=ien#nw=1%22;window.open(url,'_blank','scrollbars=no,width=600,height=450,left=75,top=20,status=no,resizable=yes');void 0&quot;&gt;&lt;img src=&quot;http://www.licream.net/wp-content/themes/istudio-theme/resources/baidu.gif&quot; alt=&quot;百度搜藏&quot; border=&quot;0&quot; height=&quot;16&quot; width=&quot;16&quot;/&gt;&lt;/a&gt;

&lt;a href=&quot;javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(vivi=window.open('http://vivi.sina.com.cn/collect/icollect.php?pid=28&amp;amp;title='+escape(d.title)+'&amp;amp;url='+escape(d.location.href)+'&amp;amp;desc='+escape(t),'vivi','scrollbars=no,width=480,height=480,left=75,top=20,status=no,resizable=yes'));vivi.focus();&quot; title=&quot;收藏到新浪ViVi&quot;&gt;&lt;img src=&quot;http://www.licream.net/wp-content/themes/istudio-theme/resources/vivi.gif&quot; alt=&quot;Sina ViVi&quot; border=&quot;0&quot;/&gt;&lt;/a&gt;

&lt;a title=&quot;收藏到Google书签&quot; href=&quot;javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open('http://www.google.com/bookmarks/mark?op=edit&amp;amp;output=popup&amp;amp;bkmk='+c(b.location)+'&amp;amp;title='+c(b.title),'bkmk_popup','left='+((a.screenX||a.screenLeft)+10)+',top='+((a.screenY||a.screenTop)+10)+',height=420px,width=550px,resizable=1,alwaysRaised=1');a.setTimeout(function(){d.focus()},300)})();&quot;&gt;&lt;img src=&quot;http://www.licream.net/wp-content/themes/istudio-theme/resources/googlebookmark.png&quot; alt=&quot;Google书签&quot; border=&quot;0&quot; height=&quot;16&quot; width=&quot;16&quot;/&gt;&lt;/a&gt;

&lt;a title=&quot;添加到雅虎收藏&quot; onclick=&quot;window.open('http://myweb.cn.yahoo.com/popadd.html?url='+encodeURIComponent(document.location.href)+'&amp;amp;title='+encodeURIComponent(document.title), 'Yahoo','scrollbars=yes,width=440,height=440,left=80,top=80,status=yes,resizable=yes');&quot; href=&quot;javascript:;&quot; rel=&quot;nofollow&quot;&gt;&lt;img src=&quot;http://www.licream.net/wp-content/themes/istudio-theme/resources/yahoo.gif&quot; alt=&quot;yahoo收藏&quot; border=&quot;0&quot; height=&quot;16&quot; width=&quot;16&quot;/&gt;&lt;/a&gt;

&lt;a title=&quot;保存到del.icio.us美味书签&quot; href=&quot;javascript:(function(){f='http://delicious.com/save?url='+encodeURIComponent(window.location.href)+'&amp;amp;title='+encodeURIComponent(document.title)+'&amp;amp;v=5&amp;amp;';a=function(){if(!window.open(f+'noui=1&amp;amp;jump=doclose','deliciousuiv5','location=yes,links=no,scrollbars=no,toolbar=no,width=550,height=550'))location.href=f+'jump=yes'};if(/Firefox/.test(navigator.userAgent)){setTimeout(a,0)}else{a()}})()&quot;&gt;&lt;img src=&quot;http://www.licream.net/wp-content/themes/istudio-theme/resources/delicious.gif&quot; alt=&quot;Del.icio.us&quot; border=&quot;0&quot; height=&quot;16&quot; width=&quot;16&quot;/&gt;&lt;/a&gt;

&lt;a title=&quot;推荐到digg.com&quot; href=&quot;javascript:location.href='http://digg.com/submit?phase=2&amp;amp;url='+encodeURIComponent(location.href)+'&amp;amp;title='+encodeURIComponent(document.title)&quot;&gt;&lt;img src=&quot;http://www.licream.net/wp-content/themes/istudio-theme/resources/digg.gif&quot; alt=&quot;digg&quot; border=&quot;0&quot;/&gt;&lt;/a&gt;

&lt;a href=&quot;javascript:void(location.href='https://twitter.com/home?status=Now%20reading%20&lt;&lt;'+encodeURIComponent(document.title)+'&gt;&gt;%20'+encodeURIComponent(location.href))&quot; title=&quot;分享到 Twitter&quot;&gt;&lt;img src=&quot;http://www.licream.net/wp-content/themes/istudio-theme/resources/twitter.png&quot; alt=&quot;分享到twitter&quot;/&gt;&lt;/a&gt;

 &lt;a href=&quot;javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&amp;u='+escape(d.location.href)+'&amp;c='+escape(t),'keyit','scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes'));keyit.focus();&quot;&gt;&lt;img src=&quot;http://www.licream.net/wp-content/themes/istudio-theme/resources/365key.gif&quot; title=&quot;收藏到365Key&quot; /&gt;&lt;/a&gt; 

 &lt;a href=&quot;javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(yesky=window.open('http://hot.yesky.com/dp.aspx?t='+escape(d.title)+'&amp;u='+escape(d.location.href)+'&amp;c='+escape(t)+'&amp;st=2','yesky','scrollbars=no,width=400,height=480,left=75,top=20,status=no,resizable=yes'));yesky.focus();&quot;&gt;&lt;img src=&quot;http://www.licream.net/wp-content/themes/istudio-theme/resources/yesky.gif&quot;  title=&quot;收藏到天极&quot; /&gt;&lt;/a&gt; 

&lt;a href=&quot;javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://my.poco.cn/fav/storeIt.php?t='+escape(d.title)+'&amp;u='+escape(d.location.href)+'&amp;c='+escape(t)+'&amp;img=http://www.h-strong.com/blog/logo.gif','keyit','scrollbars=no,width=475,height=575,status=no,resizable=yes'));keyit.focus();&quot;&gt;&lt;img src=&quot;http://www.licream.net/wp-content/themes/istudio-theme/resources/poco.gif&quot;  title=&quot;收藏到POCO&quot;/&gt;&lt;/a&gt; 

&lt;a href=&quot;javascript:t=document.title;u=location.href;e=document.selection?(document.selection.type!='None'?document.selection.createRange().text:''):(document.getSelection?document.getSelection():'');void(open('http://bookmark.hexun.com/post.aspx?title='+escape(t)+'&amp;url='+escape(u)+'&amp;excerpt='+escape(e),'HexunBookmark','scrollbars=no,width=600,height=450,left=80,top=80,status=no,resizable=yes'));&quot;&gt;&lt;img src=&quot;http://www.licream.net/wp-content/themes/istudio-theme/resources/hexun.gif&quot;  title=&quot;收藏到和迅&quot; /&gt;&lt;/a&gt; 

&lt;a href=&quot;javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(blog=window.open('http://www.bolaa.com/CommendBlog/SmallLogin.aspx?title='+escape(d.title)+'&amp;newspath='+escape(d.location.href)+'&amp;subtitle='+escape(t),'bolaa','width=400px,height=400px'));blog.focus();&quot;&gt;&lt;img src=&quot;http://www.licream.net/wp-content/themes/istudio-theme/resources/bolaa.gif&quot;  title=&quot;收藏到博拉&quot; /&gt;&lt;/a&gt; &lt;/p&gt;
</pre>
<p>再到style.css添加一段样式代码：</p>
<pre class="brush: css;">
.follow{background:#dbf3fd;border:1px #dcddd6;font-size:11px;width:600px;margin:10px 15px;padding:10px;}</pre>
<p>可以说也省了一个插件哈，样式代码我copy &#8220;zww&#8221;的，HOHO。添加这个是不是觉得增加互动性呢，如果你也是爱折腾的，想减少插件想法，这个非常适合你啊。哈哈</p>
]]></content:encoded>
			<wfw:commentRss>http://www.licream.net/favorite-share-code.html/feed/</wfw:commentRss>
		<slash:comments>40</slash:comments>
		</item>
		<item>
		<title>升级到2.9版本可能会引起的问题</title>
		<link>http://www.licream.net/upgrade-to-version-2-9-problems.html/</link>
		<comments>http://www.licream.net/upgrade-to-version-2-9-problems.html/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 21:29:29 +0000</pubDate>
		<dc:creator>Licream</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[升级]]></category>
		<category><![CDATA[问题]]></category>

		<guid isPermaLink="false">http://www.licream.net/?p=350</guid>
		<description><![CDATA[昨天不是说了发现一个BUG不，现在发现其实是我自已的问题，网上很多人说是修改代码时编码要改成UTF－8无BOM。但我的问题不在这， 我在后台一打开编辑会出现这警告： Warning: implode() [function.implode]: Bad arguments. in /www/users/licream.com/wp-includes/post.php on line 1980 提交就就多一条记录：Warning: Cannot modify header information &#8211; headers already sent by (output started at /www/users/licream.com/wp-includes/post.php:1980) in /www/users/licream.com/wp-includes/pluggable.php on line 868 但是能成功修改文章内容。－ －，是不是插件引起的呢，想到我装了几个缓存插件，DB-cache,wp super cache,php speedy ,直接禁用它们，哈，警告没了0 0，再开启插件也不会出现了。一切恢复正常，哎。这些小问题，有时真会折磨人，害我又差点重装一下！我现在又升级到RC1版了哈，2.9的正式版快到了。所以，为了升2.9版本之前，最好把插件都禁用先，完后再开启。]]></description>
			<content:encoded><![CDATA[<p>昨天不是说了发现一个BUG不，现在发现其实是我自已的问题，网上很多人说是修改代码时编码要改成UTF－8无BOM。但我的问题不在这，</p>
<p>我在后台一打开编辑会出现这警告：</p>
<div id="_mcePaste">
<div id="_mcePaste">Warning: implode() [function.implode]: Bad arguments. in /www/users/licream.com/wp-includes/post.php on line 1980</div>
<div>提交就就多一条记录：Warning: Cannot modify header information &#8211; headers already sent by (output started at /www/users/licream.com/wp-includes/post.php:1980) in /www/users/licream.com/wp-includes/pluggable.php on line 868<span id="more-350"></span></div>
<div>但是能成功修改文章内容。－ －，是不是插件引起的呢，想到我装了几个缓存插件，DB-cache,wp super cache,php speedy ,直接禁用它们，哈，警告没了0 0，再开启插件也不会出现了。一切恢复正常，哎。这些小问题，有时真会折磨人，害我又差点重装一下！我现在又升级到RC1版了哈，2.9的正式版快到了。所以，为了升2.9版本之前，最好把插件都禁用先，完后再开启。</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.licream.net/upgrade-to-version-2-9-problems.html/feed/</wfw:commentRss>
		<slash:comments>90</slash:comments>
		</item>
		<item>
		<title>加速你的wordpress</title>
		<link>http://www.licream.net/speed-up-your-wordpress.html/</link>
		<comments>http://www.licream.net/speed-up-your-wordpress.html/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 19:20:35 +0000</pubDate>
		<dc:creator>Licream</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[网络相关]]></category>
		<category><![CDATA[header]]></category>
		<category><![CDATA[优化]]></category>
		<category><![CDATA[加速]]></category>

		<guid isPermaLink="false">http://www.licream.net/speed-up-your-wordpress.html</guid>
		<description><![CDATA[最近对网站优化很感兴趣,看到网站各种牛人给出的方法同时,自已也拿来测试,有了上次那教训,我也学会了在本地测试先.以做到万无一失的准备:)HOHO. 可能会写的比较杂,方法都是网上收集的,我拿来整理下我已经使用的分享给大家:) 优化header 1.&#60;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;&#60;?php bloginfo(&#8216;html_type&#8217;);?&#62;; charset=&#60;?php bloginfo(&#8216;charset&#8217;);?&#62;&#8221; /&#62; 我替换成：&#60;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=UTF-8&#8243; /&#62; 2.&#60;title&#62;&#60;?php bloginfo(&#8216;name&#8217;);?&#62;&#60;?php if(is_single()){?&#62; &#38;raquo; Blog Archive &#60;?php }?&#62;&#60;?php wp_title();?&#62;&#60;/title&#62; 这段代码是在zEUS.那看到他所提到的，对蜘蛛抓取有好处，能第一时间知道此页是干嘛的，也就是把博客名字和文章名调换一下： &#60;title&#62;&#60;?php wp_title(&#8221;); if (is_search()) { ?&#62; 搜索 &#60;?php echo $s; } if ( !(is_404()) and (is_search()) or (is_single()) or (is_page()) or (function_exists(&#8216;is_tag&#8217;) and is_tag()) or (is_archive()) ) { ?&#62; &#38;raquo; [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.licream.net/wp-content/uploads/2009/12/wpspeed.png"><img style="display: inline; border-width: 0px;" title="wp-speed" src="http://www.licream.net/wp-content/uploads/2009/12/wpspeed_thumb.png" border="0" alt="wp-speed" width="559" height="159" /></a></p>
<p>最近对网站优化很感兴趣,看到网站各种牛人给出的方法同时,自已也拿来测试,有了上次那教训,我也学会了在本地测试先.以做到万无一失的准备:)HOHO.</p>
<p>可能会写的比较杂,方法都是网上收集的,我拿来整理下我已经使用的分享给大家:)</p>
<p>优化header</p>
<p>1.&lt;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;&lt;?php bloginfo(&#8216;html_type&#8217;);?&gt;; charset=&lt;?php bloginfo(&#8216;charset&#8217;);?&gt;&#8221; /&gt;</p>
<p>我替换成：&lt;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=UTF-8&#8243; /&gt;</p>
<p>2.&lt;title&gt;&lt;?php bloginfo(&#8216;name&#8217;);?&gt;&lt;?php if(is_single()){?&gt; &amp;raquo; Blog Archive &lt;?php }?&gt;&lt;?php wp_title();?&gt;&lt;/title&gt;</p>
<p><span id="more-348"></span></p>
<p>这段代码是在zEUS.那看到他所提到的，对蜘蛛抓取有好处，能第一时间知道此页是干嘛的，也就是把博客名字和文章名调换一下：</p>
<p>&lt;title&gt;&lt;?php wp_title(&#8221;); if (is_search()) { ?&gt; 搜索 &lt;?php echo $s; } if ( !(is_404()) and (is_search()) or (is_single()) or (is_page()) or (function_exists(&#8216;is_tag&#8217;) and is_tag()) or (is_archive()) ) { ?&gt; &amp;raquo; &lt;?php } ?&gt; &lt;?php bloginfo(&#8216;name&#8217;); ?&gt;&lt;/title&gt;</p>
<p>3.&lt;?php bloginfo(&#8216;description&#8217;);?&gt;：显示副标题的，如果你的副标题是固定的，也把他写死。</p>
<p>如：&lt;meta name=&#8221;description&#8221; content=&#8221;观看实时信息,记录岁旅程,分享艺术情调&#8221; /&gt;</p>
<p>4.&lt;?php echo$options['SearchKeyword'];?&gt;：这个我也写死了。。。</p>
<p>5.&lt;?php bloginfo(&#8216;stylesheet_url&#8217;);?&gt;：获取主题css文件，一般都是固定的。用绝对路径替换他。</p>
<p>6.&lt;?php bloginfo(&#8216;template_directory&#8217;);?&gt;：获取主题目录，和上面的原理一样。</p>
<p>7.&lt;?php bloginfo(&#8216;template_url&#8217;);?&gt;：好像跟上面的是一个意思。功能也一样。</p>
<p>8.&lt;?php bloginfo(&#8216;url&#8217;);?&gt;：博客首页的路径。这个完全可以写死它啦。。。</p>
<p>优化footer</p>
<p>1.&lt;?php echo date(”Y”).” “; bloginfo(’name’); ?&gt;：直接改写成当前年份和你博客的名字。</p>
<p>2.&lt;?php echo get_num_queries();?&gt; queries. &lt;?php timer_stop(1);?&gt; 这是显示加载页面时间的，我觉得不常用到。所以删掉。</p>
<p>优化sidebar(侧边栏)</p>
<p>1.wp_list_categories(&#8216;show_count=0&amp;title_li=&lt;h3&gt;分类&lt;/h3&gt;&#8217;);?&gt;：我不会经常去添加一个分类，对于不常改动分类的信息可以用html代码写死它。</p>
<p>2.如果你的友情链接不是很多或页面足够显示，可以考虑用html固定哈。</p>
<p>边栏，我认为最好不要在在那显示过多的信息，如最新文章，热门文章，最新回复的。都需要数取数据库。对页面的速度有一定的影响。能少则少点哈。我那个google朋友群，在IE里。经常卡住导致下面的小工具不能显示。经常影响页面加载速度，把他放在最下面可能会好点，优先css后js。。。所以还可以再整理一下，css文件加载在header,js文件放在footer里。</p>
<p>这版本我发现了新建页面的BUG，还好不影响发表留言功能。。。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.licream.net/speed-up-your-wordpress.html/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>血训.htaccess的祸害</title>
		<link>http://www.licream.net/blood-and-training-htaccess-scourge.html/</link>
		<comments>http://www.licream.net/blood-and-training-htaccess-scourge.html/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 04:48:40 +0000</pubDate>
		<dc:creator>Licream</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[htaccess]]></category>

		<guid isPermaLink="false">http://www.licream.net/?p=332</guid>
		<description><![CDATA[今早看到我在别人空间回复了我防盗链问题的留言,试着修改一下.htaccess文件..杯具就此发生了.出现的500错误.其实我也不知道是什么意思来着.删插件,删缓存文件都不行,折腾好久了还不行,索性重新安装WP升级到2.9beta版- -,目前还没发现什么大问题,不过心里还是有点不安,因为是beta版.如果网友发现有什么问题.请留下言:),主题今早也升级了,居然把logo给覆盖了.郁闷. 个人意见:这文件我也不知道他是干嘛的,只是常在网上看到别人提到.如果你和我一样.不懂或是新手来着.别动这个&#8230;太危险了..]]></description>
			<content:encoded><![CDATA[<p>今早看到我在别人空间回复了我防盗链问题的留言,试着修改一下.htaccess文件..杯具就此发生了.出现的500错误.其实我也不知道是什么意思来着.删插件,删缓存文件都不行,折腾好久了还不行,索性重新安装WP升级到2.9beta版- -,目前还没发现什么大问题,不过心里还是有点不安,因为是beta版.如果网友发现有什么问题.请留下言:),主题今早也升级了,居然把logo给覆盖了.郁闷.</p>
<p>个人意见:这文件我也不知道他是干嘛的,只是常在网上看到别人提到.如果你和我一样.不懂或是新手来着.别动这个&#8230;太危险了..</p>
]]></content:encoded>
			<wfw:commentRss>http://www.licream.net/blood-and-training-htaccess-scourge.html/feed/</wfw:commentRss>
		<slash:comments>38</slash:comments>
		</item>
		<item>
		<title>求助贴,关于插件问题</title>
		<link>http://www.licream.net/help-paste-on-the-plug-in-problems.html/</link>
		<comments>http://www.licream.net/help-paste-on-the-plug-in-problems.html/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 15:22:39 +0000</pubDate>
		<dc:creator>Licream</dc:creator>
				<category><![CDATA[网络相关]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[域名]]></category>
		<category><![CDATA[插件]]></category>

		<guid isPermaLink="false">http://www.licream.net/?p=322</guid>
		<description><![CDATA[是这样的,之前我使用com域名,在你好万维网买的域名和空间,太贵,我不续费了,博客是在用com域名时安装的,现在换成.net域名了.. 现在我安装某些插件,会提示获取一段路径.一般都是插件目录.问题就出在这了,获取的地址是原来域名时安装的地址,如: /www/users/licream.com/wp-content is writeable! 如下面的图: 只要插件需要获取路径的都是以/www/user/licream.com开头,现在需要解决这个错误路径.去哪改成为licream.net开头呢?后台没有找到相关设置,在wp_option也没看到相关信息.我觉得是在数据库里.可一直没找到在哪里面.你们知道怎么解决或有什么好意见的方法,告 诉我吧.非常感谢!这问题太折磨死人了.闷!]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.licream.net/wp-content/uploads/2009/12/help-me.png"><img class="alignnone size-full wp-image-325" title="help-me" src="http://www.licream.net/wp-content/uploads/2009/12/help-me.png" alt="help-me" width="555" height="155" /></a></p>
<p>是这样的,之前我使用com域名,在你好万维网买的域名和空间,太贵,我不续费了,博客是在用com域名时安装的,现在换成.net域名了..</p>
<p>现在我安装某些插件,会提示获取一段路径.一般都是插件目录.问题就出在这了,获取的地址是原来域名时安装的地址,如:</p>
<p>/www/users/licream.com/wp-content is writeable! 如下面的图:<span id="more-322"></span></p>
<p><a href="http://www.licream.net/wp-content/uploads/2009/12/wp-cache.jpg"><img class="alignnone size-full wp-image-323" title="wp-cache" src="http://www.licream.net/wp-content/uploads/2009/12/wp-cache.jpg" alt="wp-cache" width="664" height="134" /></a></p>
<p><a href="http://www.licream.net/wp-content/uploads/2009/12/wp-php.jpg"><img class="alignnone size-full wp-image-324" title="wp-php" src="http://www.licream.net/wp-content/uploads/2009/12/wp-php.jpg" alt="wp-php" width="644" height="205" /></a></p>
<p>只要插件需要获取路径的都是以/www/user/licream.com开头,现在需要解决这个错误路径.去哪改成为licream.net开头呢?后台没有找到相关设置,在wp_option也没看到相关信息.我觉得是在数据库里.可一直没找到在哪里面.你们知道怎么解决或有什么好意见的方法,告 诉我吧.非常感谢!这问题太折磨死人了.闷!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.licream.net/help-paste-on-the-plug-in-problems.html/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
		<item>
		<title>抛弃WordPress Related Posts,也能实现它</title>
		<link>http://www.licream.net/abandoned-wordpress-related-posts-it-is-possible-to-achieve.html/</link>
		<comments>http://www.licream.net/abandoned-wordpress-related-posts-it-is-possible-to-achieve.html/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 08:15:06 +0000</pubDate>
		<dc:creator>Licream</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[插件]]></category>
		<category><![CDATA[相关文章]]></category>

		<guid isPermaLink="false">http://www.licream.net/?p=310</guid>
		<description><![CDATA[今天在网上发现有个很实用的功能，完全可替代WordPress Related Posts插件，现分享给大家，我直接上方法了！ 下面的方法的出自http://www.hacklog.cn/wordpress/wpskills/wordpress-related-posts-with-no-plugin.html功能更强大了 将下面的代码添加到你目前使用的主题的functions.php文件的最后一个?>标签前面即可 ####### START ########## 显示相关日志 ################# START ######### ########################### www.hacklog.cn ###################################### $wp_rp=array( 'limit'=&#62;6, //显示几条相关文章 'wp_rp_rss'=&#62;true, //在rss feed 中显示相关文章 'wp_no_rp'=&#62;'random', //无相关文章时的选择：text 或random（random为显示随机文章) 'wp_rp_date'=&#62;true, //显示日志发布日期 'wp_rp_comments'=&#62;true, //显示日志评论数 'wp_rp_title_tag'=&#62;'h3',//相关日志标题标签(h2 ,h3 ,h4 ,p ,div) ); function wp_get_random_posts ($limitclause=&#34;&#34;) { global $wpdb, $tableposts, $post; $q = &#34;SELECT ID, post_title, post_content,post_excerpt, post_date, comment_count FROM $tableposts WHERE post_status [...]]]></description>
			<content:encoded><![CDATA[<p>今天在网上发现有个很实用的功能，完全可替代WordPress Related Posts插件，现分享给大家，我直接上方法了！</p>
<p>下面的方法的出自http://www.hacklog.cn/wordpress/wpskills/wordpress-related-posts-with-no-plugin.html功能更强大了<br />
将下面的代码添加到你目前使用的主题的functions.php文件的最后一个?>标签前面即可<span id="more-310"></span></p>
<pre class="brush: php;">

#######  START   ##########     显示相关日志    #################    START   #########
###########################   www.hacklog.cn    ######################################
    $wp_rp=array(
    'limit'=&gt;6, //显示几条相关文章
    'wp_rp_rss'=&gt;true, //在rss feed 中显示相关文章
    'wp_no_rp'=&gt;'random', //无相关文章时的选择：text 或random（random为显示随机文章)
    'wp_rp_date'=&gt;true, //显示日志发布日期
    'wp_rp_comments'=&gt;true, //显示日志评论数
    'wp_rp_title_tag'=&gt;'h3',//相关日志标题标签(h2 ,h3 ,h4 ,p ,div)
    );
function wp_get_random_posts ($limitclause=&quot;&quot;) {
    global $wpdb, $tableposts, $post;

    $q = &quot;SELECT ID, post_title, post_content,post_excerpt, post_date, comment_count FROM $tableposts WHERE post_status = 'publish' AND post_type = 'post' AND ID != $post-&gt;ID ORDER BY RAND() $limitclause&quot;;
    return $wpdb-&gt;get_results($q);
}

    function wp_get_related_posts()
    {
    global $wpdb, $post,$table_prefix,$wp_rp;
    $limit =$wp_rp[&quot;limit&quot;];
    if(!$post-&gt;ID){return;}
    $now = current_time('mysql', 1);
    $tags = wp_get_post_tags($post-&gt;ID);

    $taglist = &quot;'&quot; . $tags[0]-&gt;term_id. &quot;'&quot;;

    $tagcount = count($tags);
    if ($tagcount &gt; 1) {
        for ($i = 1; $i &lt; $tagcount; $i++) {
            $taglist = $taglist . &quot;, '&quot; . $tags[$i]-&gt;term_id . &quot;'&quot;;
        }
    }

    if ($limit) {
        $limitclause = &quot;LIMIT $limit&quot;;
    }   else {
        $limitclause = &quot;LIMIT 10&quot;;
    }

    $q = &quot;SELECT p.ID, p.post_title, p.post_content,p.post_excerpt, p.post_date,  p.comment_count, count(t_r.object_id) as cnt FROM $wpdb-&gt;term_taxonomy t_t, $wpdb-&gt;term_relationships t_r, $wpdb-&gt;posts p WHERE t_t.taxonomy ='post_tag' AND t_t.term_taxonomy_id = t_r.term_taxonomy_id AND t_r.object_id  = p.ID AND (t_t.term_id IN ($taglist)) AND p.ID != $post-&gt;ID AND p.post_status = 'publish' AND p.post_date_gmt &lt; '$now' GROUP BY t_r.object_id ORDER BY cnt DESC, p.post_date_gmt DESC $limitclause;&quot;;

    $related_posts = $wpdb-&gt;get_results($q);

    $output = &quot;&quot;;
    //不存在相关日志则显示随机日志
    if (!$related_posts)
    {
        if($wp_rp['wp_no_rp'] == &quot;text&quot;)
        {
            $output  .= '&lt;li&gt;无相关日志&lt;/li&gt;';
        }
        else

        {
            if($wp_rp['wp_no_rp'] == &quot;random&quot;)
            {
            $wp_no_rp_text= '随机日志';
            $related_posts = wp_get_random_posts($limitclause);
            }  

            $wp_rp_title = $wp_no_rp_text;
        }
    }

    foreach ($related_posts as $related_post )
    {
        $output .= '&lt;li&gt;';
        if($wp_rp['wp_rp_date'])
        {
        $dateformat = get_option('date_format');
        $output .= mysql2date($dateformat, $related_post-&gt;post_date) . &quot;  //  &quot;;
        }
        $output .=  '&lt;a href=&quot;'.get_permalink($related_post-&gt;ID).'&quot; title=&quot;'.wptexturize($related_post-&gt;post_title).'&quot;&gt;'.wptexturize($related_post-&gt;post_title).'&lt;/a&gt;';
        if ($wp_rp[&quot;wp_rp_comments&quot;])
        {
        $output .=  &quot; (&quot; . $related_post-&gt;comment_count . &quot;)&quot;;
        }
    $output .=  '&lt;/li&gt;';
    }
    $output = '&lt;ul class=&quot;related_post&quot;&gt;' . $output . '&lt;/ul&gt;';
    $wp_rp_title_tag = $wp_rp[&quot;wp_rp_title_tag&quot;];

        if(!$wp_rp_title_tag)
        $wp_rp_title_tag ='h3';
        if($wp_rp_title != '')
        $output =  '&lt;'.$wp_rp_title_tag.'  class=&quot;related_post_title&quot;&gt;'.$wp_rp_title .'&lt;/'.$wp_rp_title_tag.'&gt;'. $output;
    return $output;
}

    function wp_related_posts_attach($content)
    {
       global $wp_rp;
          if (is_single()||(is_feed() &amp;&amp; $wp_rp[&quot;wp_rp_rss&quot;]))
          {
          $output = wp_get_related_posts();
          $content = $content . $output;
           }

    return $content;
    }

add_filter('the_content', 'wp_related_posts_attach',100);
#######    END     ##########     显示相关日志    #################    END   #########
###########################   www.hacklog.cn    ######################################
</pre>
<p>－－转自Hacklog【荒野无灯weblog】 </p>
]]></content:encoded>
			<wfw:commentRss>http://www.licream.net/abandoned-wordpress-related-posts-it-is-possible-to-achieve.html/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>WP-Syntax溢出的解决方法</title>
		<link>http://www.licream.net/wp-syntax.html/</link>
		<comments>http://www.licream.net/wp-syntax.html/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 07:47:58 +0000</pubDate>
		<dc:creator>Licream</dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.licream.net/?p=251</guid>
		<description><![CDATA[官方版本有BUG,代码太多了会造成页面错位.影响美观效果.下面那段代码可找的够累的.收集了&#8230;&#8230; 把以下的样式代码添加到插件目录下的CSS文件.覆盖他就可解决页面错位问题了. .wp_syntax { color: #100; background-color: #f9f9f9; border: 1px solid silver; margin: 0 0 1.5em 0; overflow: auto; } /* IE FIX */ .wp_syntax { overflow-x: auto; overflow-y: hidden; padding-bottom: expression(this.scrollWidth &#62; this.offsetWidth ? 15 : 0); } .wp_syntax table { table-layout:fixed; overflow:hidden; text-overflow:ellipsis; WORD-BREAK: break-all; WORD-WRAP: break-word; border-collapse: collapse; } .wp_syntax div, .wp_syntax [...]]]></description>
			<content:encoded><![CDATA[<p>官方版本有BUG,代码太多了会造成页面错位.影响美观效果.下面那段代码可找的够累的.收集了&#8230;&#8230;<br />
把以下的样式代码添加到插件目录下的CSS文件.覆盖他就可解决页面错位问题了.</p>
<p><span id="more-251"></span></p>
<pre lang="php">.wp_syntax {
  color: #100;
  background-color: #f9f9f9;
  border: 1px solid silver;
  margin: 0 0 1.5em 0;
  overflow: auto;
}

/* IE FIX */
.wp_syntax {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: expression(this.scrollWidth &gt; this.offsetWidth ? 15 : 0);
}

.wp_syntax table {
  table-layout:fixed;
  overflow:hidden;
  text-overflow:ellipsis;
  WORD-BREAK: break-all;
  WORD-WRAP: break-word;
  border-collapse: collapse;
}

.wp_syntax div, .wp_syntax td {
  vertical-align: top;
  padding: 2px 4px;
}

.wp_syntax .line_numbers {
  text-align: right;
  background-color: #def;
  width:30px;
  color: gray;
  overflow: visible;
  font-family: 'Lucida Grande',
  'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif;
}

/* potential overrides for other styles */
.wp_syntax pre {
  margin: 0;
  width: fixed;
  float: none;
  clear: none;
  WORD-BREAK: break-all;
  WORD-WRAP: break-word;
  overflow: visible;
  font-size:8pt;
  font-family: Courier New;
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.licream.net/wp-syntax.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wp标签调用笔记</title>
		<link>http://www.licream.net/wptagnote.html/</link>
		<comments>http://www.licream.net/wptagnote.html/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 07:29:40 +0000</pubDate>
		<dc:creator>Licream</dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.licream.net/?p=250</guid>
		<description><![CDATA[主题侧栏不支持后台直接添加,在网上收集一些实用的技巧来应用到这来,呵呵 首页调用特定类别的一种办法，代码如下： number:显示标签的数量,0为显示所有. smallest:最小的字体大小. largest:最大的字体大小 unit:单位 &#8230;..]]></description>
			<content:encoded><![CDATA[<p>主题侧栏不支持后台直接添加,在网上收集一些实用的技巧来应用到这来,呵呵</p>
<p>首页调用特定类别的一种办法，代码如下：<br />
number:显示标签的数量,0为显示所有.</p>
<p>smallest:最小的字体大小.</p>
<p>largest:最大的字体大小</p>
<p>unit:单位<br />
&#8230;..</p>
<pre lang="php"  line="2">
<?php wp_tag_cloud('number=0&#038;smallest=8&#038;largest=22&#038;unit=px'); ?>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.licream.net/wptagnote.html/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
