<?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>冷博客 &#187; wordpress技巧</title>
	<atom:link href="http://loneblog.com/blog/category/website/skill-of-wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://loneblog.com/blog</link>
	<description>见的人多了，我就更喜欢狗——罗曼·罗兰</description>
	<lastBuildDate>Sun, 27 May 2012 09:30:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>WordPress标签云插件 WP Cirrus(汉化版)</title>
		<link>http://loneblog.com/blog/wp-cirrus.html</link>
		<comments>http://loneblog.com/blog/wp-cirrus.html#comments</comments>
		<pubDate>Wed, 22 Sep 2010 12:04:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[wordpress技巧]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wp-cirrus]]></category>

		<guid isPermaLink="false">http://loneblog.com/blog/wp-cirrus.html</guid>
		<description><![CDATA[赶紧放弃WP Cumulus吧，这个该死的不支持中文的标签云。今天介绍强大的非Flash的标签云软件：Wp-Cirrus 先感谢izz告之这个插件，然后冷博客无聊的把他给汉化了…没有通过作者，不知道TA会不会生气。汉化水平不高，很多意思不知道怎么表达，大家凑合看吧。 这是一个德国人发明的小插件，原版下载地址：http://wordpress.org/extend/plugins/wp-cirrus/ 冷博客汉化版地址：wp-cirrus.0.5.3 总体来说可以用很好很强大来形容，先看截图： 软件安装和普通插件无二，安装后，在左侧有wp cirrus选项，点击进入设置。 如果你是用像冷博客一样的侧边栏小工具，那这里的选项就无用了。 在小工具里也有一个跟这个页面一样的选项卡(这个作者还真是周到)，原本中有和这里一样的小字注释，冷博客汉化的时候把小工具的部分多余注释省略了，因为这个小工具的脸实在太长了。 至于会不会费很多资源，冷博客先观察一阵子，只要接不到主机提供商的警告冷博客就继续使用]]></description>
		<wfw:commentRss>http://loneblog.com/blog/wp-cirrus.html/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>无题</title>
		<link>http://loneblog.com/blog/no-title.html</link>
		<comments>http://loneblog.com/blog/no-title.html#comments</comments>
		<pubDate>Wed, 25 Aug 2010 01:40:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[wordpress技巧]]></category>

		<guid isPermaLink="false">http://loneblog.com/blog/no-title.html</guid>
		<description><![CDATA[不知不觉，冷博客开张一年了。首先感谢国家，没有和谐我。一年的时间过得很快，以至于要不是看站长统计，冷博客都忘了。 冷博客09年建站，在3ix自费安家，由于上一个博客被十三大和谐，冷博客怀恨在心，决定终身不备案，不用cn玉米，不用大陆服务器。当然，这样的代价就是荷包瘪了。至今冷博客有1个PR和10万访问，还是不错啦~ 由于第一次玩wordpress，再加上虚拟主机提供商的不稳定，好几次的重装，导致前期很多文章丢失。 最让冷博客欣慰的是，写博客过程中认识了很多有意思的朋友，像是&#34;怀恋在子夜&#34;，这位linux高手给了我很多帮助，直到现在他也不然其烦的回答我的一些古怪问题。还有Mice，这是一位出色的站长，从他那里我学到了很多wordpress的技巧。之前认识的卜卜口和团伙都是有意思的家伙 冷博客是个人博客，更新时有时无，所以感谢那些订阅和收藏的童鞋。 最近冷博客做了一系列调整，如下： 留过言的童鞋可以看到标题栏，欢迎xx回来； 右侧的投票结束了，有100多好心人参入了投票。大概20%的人需要翻墙进来看，这点令我很奇怪； 右侧边栏清理了很多内容，把军曹的RSS暂时取消了，把友情链接和分类文章和到一起了，代理测试密码去掉了； 评论栏自动增加了验证码，垃圾和正常评论都减少了。 还有就是冷博客今年下半年都很忙，博客更新可能会不频繁，抱歉。]]></description>
		<wfw:commentRss>http://loneblog.com/blog/no-title.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>猥琐的分享收藏-addthis中文版</title>
		<link>http://loneblog.com/blog/addthis-share-code.html</link>
		<comments>http://loneblog.com/blog/addthis-share-code.html#comments</comments>
		<pubDate>Fri, 30 Jul 2010 16:37:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[wordpress技巧]]></category>
		<category><![CDATA[addthis]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://loneblog.com/blog/addthis-share-code.html</guid>
		<description><![CDATA[如果我还没脱离猥琐，大家应该能在左面中间的位置发现这个手绢女吧 原来在文章末尾的分享&#38;收藏按钮被冷博客移到左侧了，希望大家多多转帖。 以前冷博客每次看到一些网站左侧或者右侧的分享到…按钮就忍不住指一指，所以不如自己搞一个~ 这个版本经过冷博客反复修改，终于通杀三大主流浏览器，而且比较猥琐。 方法很简单，大概说下： 冷博客知道的有两个提供类似服务的网站：addthis中文和jiathis，都是国人网站，针对国内的sns做了功课了，不用自己添加东东，直接使用。 这两个网站提供的功能都类似，其中jiathis支持“动态浮标”，就是有个惯性的效果。而且jiathis跳转之后，在顶部还有他的一个导航，很恶心，我就没用。 addthis没什么特色，我就用它改了一下。 首先去官网：addthis.org.cn 找到自己需要的挂件的代码，插入到模板的指定位置即可。如果你比冷博客还菜，它也提供wordpress的插件，安装后就可以使用。 然后，冷博客做的第二件事儿就是本地化，为了减少dns请求增加页面载入时间，冷博客把js文件和图片都拷到本地，虽然addthis不建议这么做。 最后就是修改js和代码，代码最少不能比下面的更少 &#60;script type=&#8221;text/javascript&#8221; src=&#8221;*/addthis.js&#8221; charset=&#8221;UTF-8&#8243;&#62;&#60;/script&#62;&#60;span class=&#8221;addthis_org_cn&#8221; style=&#8221;display:none;&#8221;&#62;&#60;a  i=&#8221;0&#124;1&#124;31&#124;22&#124;23&#124;28&#124;24&#124;42&#124;35&#124;29&#124;21&#124;38&#124;36&#124;44&#124;46&#124;2&#124;3&#8243; side=&#8221;left&#8221;&#62;&#60;img src=&#8221;*/as3.gif&#8221;lign=&#8221;absmiddle&#8221; /&#62;&#60;/a&#62;&#60;/span&#62; 官网说的链接啥啥的都可以无视，没有也照样好用，js代码没啥好改的，效果图： Up： gif动画导致的白边现象 比较严重，冷博客暂时改成静态的普通分享图标，有机会再去学学ps做个好看的图标]]></description>
		<wfw:commentRss>http://loneblog.com/blog/addthis-share-code.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>wordpress评论验证码插件~sidxspam3.1</title>
		<link>http://loneblog.com/blog/sidxspam-wordpress.html</link>
		<comments>http://loneblog.com/blog/sidxspam-wordpress.html#comments</comments>
		<pubDate>Mon, 12 Jul 2010 03:24:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[wordpress技巧]]></category>
		<category><![CDATA[sidxspam]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[评论验证码]]></category>

		<guid isPermaLink="false">http://loneblog.com/blog/sidxspam-wordpress.html</guid>
		<description><![CDATA[又要给评论添点儿麻烦了，冷博客今天介绍一款插件sidxspam，可以为你的评论添加验证码(虽然我们都讨厌验证码)。不过冷博客的验证码还是比较好识别的，只是4位白底黑字的数字。 插件安装很简单，安装以后没有配置页，直接在你的评论位置出现验证码和输入框，简单直接。需要中文的童鞋可以自行修改插件内的sidxspam.php文件，怕麻烦和不懂E文的可以复制冷博客的，如下： 60至65行： &#160;&#160;&#160; echo &#8216;&#60;br /&#62; &#60;abbr title=&#34;只是为了防止自动留言 :)&#34;&#62;请输入验证码&#60;/abbr&#62;&#38;nbsp;&#38;nbsp; &#60;img alt=&#34;如果看不清图片上的数字，请刷新本页&#34; src=&#34;&#8217;.$sxs_url.&#8217;/image.php?sid=&#8217;.$sxscode[0].&#8217;&#34; /&#62; &#60;input type=&#34;hidden&#34; name=&#34;sxssid&#34; value=&#34;_sxs_&#8217;.$sxscode[0].&#8217;&#34; /&#62; &#60;input type=&#34;text&#34; name=&#34;sxscode&#34; maxlength=&#34;4&#34; style=&#34;width:60px&#34; title=&#34;输入你看到的数字即可&#34; /&#62;&#8217;; } &#160; 74至78行： &#60;h1 style=&#34;color:red&#34;&#62;错误:&#60;/h1&#62;抱歉，您输入的验证码有误，请重新核对后输入。&#60;br /&#62;&#60;br /&#62; &#60;form name=&#34;form&#34;&#62; 评论:&#60;br /&#62; &#60;textarea rows=&#34;5&#34; cols=&#34;40&#34; name=&#34;copy&#34;&#62;&#8217;.$commentdata['comment_content'].&#8217;&#60;/textarea&#62;&#60;br /&#62;&#60;br /&#62; &#60;a href=&#34;javascript:history.back(-1);&#34;&#62;返回&#60;/a&#62; &#160; 其他的可能位置上还要改一下，这个具体问题具体分析吧。 插件下载地址：http://downloads.wordpress.org/plugin/sidxspam.3.1.0.zip]]></description>
		<wfw:commentRss>http://loneblog.com/blog/sidxspam-wordpress.html/feed</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>3ix的服务呀，只能说一分钱一分货</title>
		<link>http://loneblog.com/blog/about-3ix-vps.html</link>
		<comments>http://loneblog.com/blog/about-3ix-vps.html#comments</comments>
		<pubDate>Mon, 05 Jul 2010 09:30:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[wordpress技巧]]></category>
		<category><![CDATA[3ix]]></category>

		<guid isPermaLink="false">http://loneblog.com/blog/about-3ix-vps.html</guid>
		<description><![CDATA[冷博客在以前的博文中确实提到过3ix的7&#215;24小时客服，因此有网友留言表示对3ix的主机有了好感，不过我在这里需要说明几点，也是我使用3ix主机近一年的一些感受吧。 &#160; 首先，从价格上讲，他们的主机是非常便宜的。不过，便宜没好货的道理大家都知道吧，像冷博客选的这款最便宜的主机，两年只要21美刀，有40G空间和100G流量，从这一点看非常有诱惑。所以，新手和钱紧者可以试试。 其次，要说他们的客服。冷博客在以前的博文中确实提到过3ix的7&#215;24小时客服，他们的客服队伍确实如此，虽然他们的水平参差不齐，但至少有人理你，这一点是和国内VPS相比的。能打几句英文的朋友可以试试。 不过他的服务稳定性还是比较让人寒心的，昨天从早上9点到晚上9服务器宕机。作为一个美国的VPS，他们维护的时间可能恰恰就是中国大陆人流高峰的时间，这个问题也要多多的考虑。]]></description>
		<wfw:commentRss>http://loneblog.com/blog/about-3ix-vps.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>侧边栏小工具执行php代码插件:mo-widgets</title>
		<link>http://loneblog.com/blog/wordpress-plugin-mo-widgets.html</link>
		<comments>http://loneblog.com/blog/wordpress-plugin-mo-widgets.html#comments</comments>
		<pubDate>Tue, 22 Jun 2010 00:59:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[wordpress技巧]]></category>
		<category><![CDATA[mo-widgets]]></category>
		<category><![CDATA[samsarin]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://loneblog.com/blog/wordpress-plugin-mo-widgets.html</guid>
		<description><![CDATA[在侧边栏写php代码，不知道这个功能在新版的wp3.0里..估计是没有添加，很有用的小插件，灵动边栏：mo-widgets，从大名鼎鼎的samsarin php widget修改而来，中文滴。 作者插件页：http://amangs.com/wordpress/MO-Widgets.html 下面是readme的话 插件说明: 灵动边栏插件,使用它将使你更容易的控制你的边栏显示,安装激活以后会在小工具页面显示控制各个小工具在博客中任何页面是否显示,以实现不同页面不同侧边栏的效果; 同时在小工具页面产生一个支持php语言的文本小工具,让你更容易的添加属于自己的边栏小工具. 此插件在Display widgets和Samsarin PHP Widget基础上修改,在此感谢原作者. 注意:自定边栏小工具的标题栏也是支持php语言的;自定边栏小工具允许php代码在侧边栏执行,所以请小心使用. ◎插件安装◎: ①.下载 MO-widgets 插件,并解压. ②.将解压到的文件夹MO-widgets上传到/wp-content/plugins 目录中,默认显示中文,如果你想要显示英文,请删除或者重命名MO-widgets-cn.php然后重命名MO-widgets-EN.php.txt为MO-widgets-EN.php. ③.登陆后台,激活 MO-widgets插件. 下载点我]]></description>
		<wfw:commentRss>http://loneblog.com/blog/wordpress-plugin-mo-widgets.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>windows live writer更新</title>
		<link>http://loneblog.com/blog/windows-live-writer-update.html</link>
		<comments>http://loneblog.com/blog/windows-live-writer-update.html#comments</comments>
		<pubDate>Wed, 26 May 2010 13:36:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[wordpress技巧]]></category>
		<category><![CDATA[WLW]]></category>

		<guid isPermaLink="false">http://loneblog.com/blog/windows-live-writer-update.html</guid>
		<description><![CDATA[冷博客经常使用windows live writer做离线编辑器，今天提示要更新。 &#160; 更新后的版本，没有大的改动，唯一要说的就是更新要下载wlsetup-web，这个可以更新/安装所有微软发布的软件，它需要最新版的windows installer。 普通的Xp sp2都没有，所以要下载新版本的windows installer 4.5。 下载地址： http://www.microsoft.com/downloads/details.aspx?displaylang=zh-cn&#38;FamilyID=5a58b56f-60b6-4412-95b9-54d056d6f9f4 XP快速通道（是以补丁包的形式，安装后需重启）]]></description>
		<wfw:commentRss>http://loneblog.com/blog/windows-live-writer-update.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>增加google adsense搜索</title>
		<link>http://loneblog.com/blog/add-google-adsense-search.html</link>
		<comments>http://loneblog.com/blog/add-google-adsense-search.html#comments</comments>
		<pubDate>Wed, 17 Mar 2010 04:53:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[wordpress技巧]]></category>
		<category><![CDATA[adsense]]></category>
		<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://loneblog.com/blog/add-google-adsense-search.html</guid>
		<description><![CDATA[由于wordpress本身的搜索功能不够强大，冷博客使用google搜索代替了它，一方面可以增加了搜索功能，在一个还可以通过adsense赚点小钱 原来谷歌自定义搜索只是弹出一个新的谷歌搜索页面，这样就脱离了站点。从Adsense添加的搜索功能有所改进，Google WebSearch + SiteSearch 允许用户搜索网络或您选择的特定网站，加上打开搜索结果页的选项，我们可以轻松地定制自己网站的页面来显示谷歌搜索的内容。 方法很简单仅需两部： 1.首先定制你的搜索引擎和显示结果页面，从google adsense的AdSense搜索广告入口，进入定制页（这是冷博客的选择，也有其他途径），需要注意的两个选项： 这里写你自己的站点 这里写一个页面的地址，这个页面可以后来建立，也可以提前建立好，总之是可以改的。 2.第一步写好以后，会得到两段代码： 您的搜索框代码: 将此代码粘贴到您希望显示搜索框的网页。 和 您的搜索结果代码: 将此代码放置在您希望显示搜索结果的网页中。 搜索结果页网址：http://loneblog.com/blog/about/search 打开wordpress后台，在小工具找到一个文本的侧边栏（如果你的主题不能自由添加侧边栏，请到模板文件中找到相应的sidebar或者类似文件），将第一段代码复制进去，然后起个名字即可保存。 新建页面，要和第一步的第二个图的地址一致，如果不一致需要更改第一步的代码，这个页面也可以先建立，以便确定链接。 将第二段代码复制到新建的页面中，这里有个问题：wordpress会把代码转换字符，所以还需要一个插件，冷博客使用的是：Preserve Code Formatting，插件主页 。 启动插件后，把代码用&#60;code&#62;&#60;/code&#62;框起来保存即可。 &#160; 最后，谷歌给我们的代码可以做一定的修改，这个就因人而异了，最主要的还是把默认的搜索目标改成我们自己的站点。由于冷博客是变成盲，这里用Dreamwear改一下即可，不多说了。]]></description>
		<wfw:commentRss>http://loneblog.com/blog/add-google-adsense-search.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>div设置float后排版混乱的问题解决啦</title>
		<link>http://loneblog.com/blog/div-float-in-ff-bug.html</link>
		<comments>http://loneblog.com/blog/div-float-in-ff-bug.html#comments</comments>
		<pubDate>Mon, 15 Mar 2010 08:31:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[wordpress技巧]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[div]]></category>
		<category><![CDATA[float]]></category>

		<guid isPermaLink="false">http://loneblog.com/blog/div-float-in-ff-bug.html</guid>
		<description><![CDATA[&#160; 真是可喜可贺，冷博客在火狐和chrome中排版混乱的问题终于解决了。原因是：div的float属性在非IE浏览器中不兼容。 改版之前的冷博客（谷歌浏览器） 改版前的冷博客（火狐浏览器） 现在的冷博客就是正常的啦~ 如果你也出现这种问题，可以按以下方法解决： 很多wordpres博客为了增加访客友好度，增加了上一页、下一页链接，一般都按照如下方法： 在style.css增加如下内容： .floatleft { float:left; } .floatright { float:right; } 然后在页面文件single.php的合适位置，增加以下内容： &#60;div class=&#34;floatleft&#34; &#62;&#60;?php previous_post(&#8216;%&#8217;, &#8216;上一篇：&#8217;, &#8216;yes&#8217;); ?&#62; &#60;/div&#62; &#60;div&#160; class=&#34;floatright&#34;&#62;&#60;?php next_post(&#8216;%&#8217;, &#8216;下一篇：&#8217;, &#8216;yes&#8217;); ?&#62; &#60;/div&#62; 这样一来，在IE中基本没有排版问题，而在其他浏览器中出现问题，如一开始的图。 解决办法是在single.php的上述代码后面紧接着写入： &#60;div style=&#34;clear:both;&#34;&#62;&#60;/div&#62; &#60;/div&#62; 目的是闭合标签浮动，也就是说每个/组 float 后面都要添加以上代码，代码可以清除浮动（clear）以撑大父容器。这种方法浏览器兼容性好，没有什么问题，缺点就是需要额外的（而且通常是无语义的）标签。但是它确实是W3C推荐的方法。 由于冷博客是编程盲，以前对css和div一窍不通，经过这个问题，发现css是如此的神奇和好用。这个方法是：http://www.webjx.com/css/divcss-6287.html 这里看到的，文章还提供了其他三种方法（使用after伪类、设置overflow为hidden或者auto、浮动外部元素，float-in-float），有兴趣的可以看看。]]></description>
		<wfw:commentRss>http://loneblog.com/blog/div-float-in-ff-bug.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wordpress广告插件之AdSense Integrator</title>
		<link>http://loneblog.com/blog/adsense-integrator-wp-pulg.html</link>
		<comments>http://loneblog.com/blog/adsense-integrator-wp-pulg.html#comments</comments>
		<pubDate>Wed, 10 Feb 2010 06:46:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[wordpress技巧]]></category>
		<category><![CDATA[AdSense Integrator]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://loneblog.com/blog/adsense-integrator-wp-pulg.html</guid>
		<description><![CDATA[在成功申请Adsense以后，冷博客找到了很多wordpress的广告插件。不过，找了很多都没有合适的，最后，冷博客找到了AdSense Integrator。 插件完美支持AdSense，不过对阿里妈妈和YPN的广告貌似也支持的不错，如果你想在每篇文章中都加入一样的代码，使用这个插件也可以。安装和普通插件一样，安装以后，在后台启用，会在配置栏中出现AdSense Integrator，点击进入，看到如下配置截图。 很多wp论坛和博客对插件的介绍都只是一些皮毛，而AdSense Integrator插件真正的高明之处就在于margins选项。 这个选项可以控制广告上下左右留多少空白，unit of measure处填写单位，默认是px像素。 另外，插件默认的是有4%的几率展示作者的广告，就在配置页的最下方。 意思是说： 奖励作者： 请支持我们离开这个选项选中，您将有助于在本和其他免费插件新版本的发展，我们的计划。感谢您的帮助！ 请勾选此选项支持我们，我们的广告将获得总额4％的展示率。 有意思的是，其中勾选（选中单词）是不是拼错了，拼成了cheched，应该是checked 插件主页：http://www.mywordpressplugin.com/ 插件下载1.10：adsense-integrator.zip]]></description>
		<wfw:commentRss>http://loneblog.com/blog/adsense-integrator-wp-pulg.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

