<?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://cha.xuexibbs.com/tag/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://cha.xuexibbs.com</link>
	<description>记录生活点滴，品味人生百味，经验分享，知识学习</description>
	<lastBuildDate>Sun, 05 Feb 2012 11:34:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=11</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>wordpress静态化后wp-postviews不能统计阅读次数解决方法</title>
		<link>http://cha.xuexibbs.com/1592.html</link>
		<comments>http://cha.xuexibbs.com/1592.html#comments</comments>
		<pubDate>Mon, 07 Mar 2011 04:27:11 +0000</pubDate>
		<dc:creator>茶大哥</dc:creator>
				<category><![CDATA[网站建设]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[wp-postviews]]></category>
		<category><![CDATA[静态化]]></category>

		<guid isPermaLink="false">http://cha.xuexibbs.com/?p=1592</guid>
		<description><![CDATA[wordpress静态化后，造成WP-PostViews统计不增加，统计日志浏览次数不工作，解决方法很多，个人认为，这个版本的WP-PostViews插件比较好用，
WP-PostViews的静态JavaScript版更新版：
下载：点这里下载
安装说明：
　　1. 下载压缩包，然后解压缩文件。
　　2. 将postviews目录放到wp-content\plugins目录下。
　　3. 将wp-counter.php放在WordPress的根目录下。
　　4. 在插件管理里面激活WP-PostViews插件。
　　安装重点说明一下，wp-counter.php要放在WordPress的根目录下，不是放在插件目录下，否则会报错。以前用过我这个插件的用户建议立刻升级。
]]></description>
		<wfw:commentRss>http://cha.xuexibbs.com/1592.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cos-html-cache无法静态化首页可能与模板兼容性有关</title>
		<link>http://cha.xuexibbs.com/1590.html</link>
		<comments>http://cha.xuexibbs.com/1590.html#comments</comments>
		<pubDate>Mon, 07 Mar 2011 03:52:27 +0000</pubDate>
		<dc:creator>茶大哥</dc:creator>
				<category><![CDATA[网站建设]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://cha.xuexibbs.com/?p=1590</guid>
		<description><![CDATA[用了一个wordpress cms模板，正确配置cos-html-cache后，无法生成静态化首页和内容页，但是，同一个空间，只是换了一个默认的wp主题后，cos-html-cache正常工作，能够生成静态化页面。
经过测试，个人认为cos-html-cache无法生成静态化页面和模板里面的代码调用有关；
如果实在找不到原因，推荐使用WP-super-cache
]]></description>
		<wfw:commentRss>http://cha.xuexibbs.com/1590.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wordpress调用第二篇文章的方法(代码)</title>
		<link>http://cha.xuexibbs.com/1562.html</link>
		<comments>http://cha.xuexibbs.com/1562.html#comments</comments>
		<pubDate>Sun, 17 Oct 2010 09:00:17 +0000</pubDate>
		<dc:creator>茶大哥</dc:creator>
				<category><![CDATA[网站建设]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://cha.xuexibbs.com/?p=1562</guid>
		<description><![CDATA[wordpress做头条新闻时，后面的标题需要从第二篇文章开始调用，怎么能在列表部分从第二篇文章开始显示？
就是在while循环之前先调用一下the_post()，这样就跳过了第一篇文章，
代码如下：
&#60;?php if (have_posts()) : the_post(); ?&#62;
&#60;?php endif; ?&#62;
]]></description>
		<wfw:commentRss>http://cha.xuexibbs.com/1562.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在Wordpress中，插入Js文件/Javascript脚本的方法</title>
		<link>http://cha.xuexibbs.com/1069.html</link>
		<comments>http://cha.xuexibbs.com/1069.html#comments</comments>
		<pubDate>Wed, 27 Jan 2010 14:16:54 +0000</pubDate>
		<dc:creator>茶大哥</dc:creator>
				<category><![CDATA[网站建设]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://cha.xuexibbs.com/?p=1069</guid>
		<description><![CDATA[有时我们需要在wordpress中调用js文件，或者在wordpress正文中，插入一段javascript脚本 并运行，在多数情况下，是不行的。因为发布的过程中，wordpress会自动转义一些特殊字符，造成javascript代码不可识别，从而不能运行了。
要想实现可以运行的功能，通常是两种方式：
1. 采用引入外部文件的方式，就是在wordpress的正文中，加入：
&#60;script type=&#8221;text/javascript&#8221; src=&#8221;xxx.js&#8221;&#62;&#60;/script&#62;
然后，在wordpress的正文里，调用里面的功能，
采用
&#60;script type=&#8221;text/javascript&#8221;&#62;
//dosomething();
&#60;/script&#62;
但是，这种方法，不灵活，需要将js文件，每次都上传到服务器上去
2. 将Js代码编码一下，转成非特殊字符，从而避免被wp自动转义
请在下面输入你要转义的javascript代码：
将上面编码过的内容，拷贝到你的 wordpress 正文中，即可
]]></description>
		<wfw:commentRss>http://cha.xuexibbs.com/1069.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wordpress不能登录，路由器升级问题？</title>
		<link>http://cha.xuexibbs.com/883.html</link>
		<comments>http://cha.xuexibbs.com/883.html#comments</comments>
		<pubDate>Sat, 31 Oct 2009 02:49:39 +0000</pubDate>
		<dc:creator>茶大哥</dc:creator>
				<category><![CDATA[网站建设]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://cha.xuexibbs.com/?p=883</guid>
		<description><![CDATA[用的水星MR804路由器被联通封了，不能正常上网，下载了一个最新版本的升级文件，升级路由器后，wordpress博客前台能正常访问，但博客后台不能登录，没有提示密码错误，也没有其他错误提示。
因为昨天还能正常访问博客后，所以我感觉是路由器升级有问题。后来又找到另外一个版本的升级文件，重新升级了路由器后，wordpress后台能正常登录了。
其他网友对此问题的分析：
wordpress博客后台不能登录，没有任何错误提示的解决方法：
wp-admin/includes/update.php页面里面有两个函数叫wp_plugins_update、wp2_version_check,将Update.php里面的这两个函数屏蔽掉就好了。
1.修改函数function wp2_version_check() {}为空函数；
2.修改函数function wp_update_plugins() {}为空函数；
个人分析一下原因，可能是因为使用代理服务器上网，WordPress还没有智能到能侦测我的上网方式，所以当检查版本以及升级插件时就始终连接不上网络，导致程序无法执行。
]]></description>
		<wfw:commentRss>http://cha.xuexibbs.com/883.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

