<?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>Wordpress外贸企业主题, Wp企业主题, wordpress企业主题, wordpress主题定制,  PHP代码, ASP代码, 精选JS代码, WORDPRESS, 网站SEO,Flash焦点广告,JS焦点广告,CSS技巧 &#124; 九创主题</title>
	<atom:link href="http://www.3code.cn/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.3code.cn</link>
	<description>Wordpress外贸企业主题, Wp企业主题, wordpress企业主题, wordpress主题定制,  PHP代码,ASP代码,精选JS代码,WORDPRESS,网站SEO,Flash焦点广告,JS焦点广告,CSS技巧</description>
	<lastBuildDate>Wed, 16 May 2012 03:22:51 +0000</lastBuildDate>
	<language>zh-cn</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>WordPress用户角色权限管理插件15款</title>
		<link>http://www.3code.cn/wordpress%e7%94%a8%e6%88%b7%e8%a7%92%e8%89%b2%e6%9d%83%e9%99%90%e7%ae%a1%e7%90%86%e6%8f%92%e4%bb%b615%e6%ac%be/</link>
		<comments>http://www.3code.cn/wordpress%e7%94%a8%e6%88%b7%e8%a7%92%e8%89%b2%e6%9d%83%e9%99%90%e7%ae%a1%e7%90%86%e6%8f%92%e4%bb%b615%e6%ac%be/#comments</comments>
		<pubDate>Wed, 16 May 2012 03:22:51 +0000</pubDate>
		<dc:creator>寒林</dc:creator>
				<category><![CDATA[wordpress插件]]></category>
		<category><![CDATA[WORDPRESS主题技术]]></category>

		<guid isPermaLink="false">http://www.3code.cn/?p=3046</guid>
		<description><![CDATA[wordpress 开放注册后的权限分配管理也是很重要的。下面，就请看看这15款WordPress角色权限管理插件。 Role Manager WordPress Plugin 这应该是目前最强大的一款WordPress角色管理插件，使用它，你可以: * 修改现有角色等级的名称。你可能并不需要”订阅者、编辑者、供稿者”这样的角色名称，而想用”探花，举人，状员”之类的。 * 你还可以新建多个角色等级，并为每个等级的角色分配不同的权限，你甚至可以为同等级中的某一用户分配不同的权限。 * 自定义角色等级的权限。 总之，这是一款用户管理的首选插件。 Capability Manager 这个WordPress插件可以让你拥有更强大的角色权限管理功能，它可以添加新的角色权限，并为每种角色设置可操作哪些东西。 RegLevel 默认的WordPress只允许设置一种默认的注册角色权限，比如设置了新注册用户的权限为订阅者，那所有人注册都是订阅者。这个插件可以让你的注册机制更灵活些，让用户注册的时候可以直接选择注册哪个级别？但这也有问题: 用户可能会都愿意喜欢最高权限的级别，而不管实际上他是想当个订阅者还是编辑者。 Allow Categories Allow Categories是一个WordPress插件，可以让你分配哪些权限的用户只能访问哪些分类下的文章. Show User Level Content 这个插件也是根据用户级别来决定是否显示内容。 Change Uploaded File Permissions 这个WordPress插件，可以在你上传图片或文件后，对这些文件进行访问权限设置。 AccessQontrol 这个wordpress插件可以让你实现博客的私密化，通过它，你可以让你的博客: * 只允许注册用户访问 * 除了你自己，任何人不能访问 * 通过指定IP和IP段来禁止访问 * 创建一个允许访问的白名单列表 * 一个友好的禁止访问模板 Role Scoper 这个WordPress插件可以为读者和编辑实现CMS风格的权限管理， 它凌驾于WordPress的角色之上，可实现指定的内容限制，可选的用户分组等等。 User Access Manager 使用 “User [...]]]></description>
			<content:encoded><![CDATA[<p>wordpress 开放注册后的权限分配管理也是很重要的。下面，就请看看这15款WordPress角色权限管理插件。</p>
<p>Role Manager WordPress Plugin<br />
这应该是目前最强大的一款WordPress角色管理插件，使用它，你可以:<br />
* 修改现有角色等级的名称。你可能并不需要”订阅者、编辑者、供稿者”这样的角色名称，而想用”探花，举人，状员”之类的。<br />
* 你还可以新建多个角色等级，并为每个等级的角色分配不同的权限，你甚至可以为同等级中的某一用户分配不同的权限。<br />
* 自定义角色等级的权限。<br />
总之，这是一款用户管理的首选插件。</p>
<p>Capability Manager<br />
这个WordPress插件可以让你拥有更强大的角色权限管理功能，它可以添加新的角色权限，并为每种角色设置可操作哪些东西。</p>
<p>RegLevel<br />
默认的WordPress只允许设置一种默认的注册角色权限，比如设置了新注册用户的权限为订阅者，那所有人注册都是订阅者。这个插件可以让你的注册机制更灵活些，让用户注册的时候可以直接选择注册哪个级别？但这也有问题: 用户可能会都愿意喜欢最高权限的级别，而不管实际上他是想当个订阅者还是编辑者。</p>
<p>Allow Categories<br />
Allow Categories是一个WordPress插件，可以让你分配哪些权限的用户只能访问哪些分类下的文章.</p>
<p>Show User Level Content<br />
这个插件也是根据用户级别来决定是否显示内容。</p>
<p>Change Uploaded File Permissions<br />
这个WordPress插件，可以在你上传图片或文件后，对这些文件进行访问权限设置。</p>
<p>AccessQontrol<br />
这个wordpress插件可以让你实现博客的私密化，通过它，你可以让你的博客:<br />
* 只允许注册用户访问<br />
* 除了你自己，任何人不能访问<br />
* 通过指定IP和IP段来禁止访问<br />
* 创建一个允许访问的白名单列表<br />
* 一个友好的禁止访问模板</p>
<p>Role Scoper<br />
这个WordPress插件可以为读者和编辑实现CMS风格的权限管理， 它凌驾于WordPress的角色之上，可实现指定的内容限制，可选的用户分组等等。</p>
<p>User Access Manager<br />
使用 “User Access Manager”插件，你可以管理用户查看你的文章，页面和文件的权限等。</p>
<p>WP-Invites<br />
可实现邀请系统的WordPress插件, 同时支持wordpress MU 和buddypress!</p>
<p>Member Access<br />
Member Access 是一个WordPress插件，可实现指定的文章或页面内容，必须登录才能查看.</p>
<p>Log User Access<br />
记录每一次WordPress 登录行为的用户名和具体时间。</p>
<p>Restrict Login By IP<br />
可以让你指定IP地址和主机来确定哪些用户允许登录。</p>
<p>Members Only<br />
这个WordPress插件也是可以让你的博客内容只对注册用户可读。</p>
<p>Social Access Control<br />
同上，控制访问内容的权限。</p>
<p>Private Files For Social Privacy<br />
加强私密日志的安全，防止一些狡猾的用户获取未经你授权的私密文章中的图片和附件。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.3code.cn/wordpress%e7%94%a8%e6%88%b7%e8%a7%92%e8%89%b2%e6%9d%83%e9%99%90%e7%ae%a1%e7%90%86%e6%8f%92%e4%bb%b615%e6%ac%be/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>User Access Manager 用户文章阅读权限插件</title>
		<link>http://www.3code.cn/user-access-manager-%e7%94%a8%e6%88%b7%e6%96%87%e7%ab%a0%e9%98%85%e8%af%bb%e6%9d%83%e9%99%90%e6%8f%92%e4%bb%b6/</link>
		<comments>http://www.3code.cn/user-access-manager-%e7%94%a8%e6%88%b7%e6%96%87%e7%ab%a0%e9%98%85%e8%af%bb%e6%9d%83%e9%99%90%e6%8f%92%e4%bb%b6/#comments</comments>
		<pubDate>Wed, 16 May 2012 03:15:02 +0000</pubDate>
		<dc:creator>寒林</dc:creator>
				<category><![CDATA[wordpress插件]]></category>
		<category><![CDATA[User Access Manager]]></category>

		<guid isPermaLink="false">http://www.3code.cn/?p=3043</guid>
		<description><![CDATA[用“User Access Manager”-插件你可以管理访问你的文章,页面和文件。你只创建一个用户组,将注册用户,设置为该小组的成员。从现在起post /页面仅可为指定的组和可写。这个插件是有益的,如果你需要一个成员区域或私人部分在你的博客或者你希望别人可以写在你的博客,但是并不是到处都是。 下载地址：http://wordpress.org/extend/plugins/user-access-manager/ &#160;]]></description>
			<content:encoded><![CDATA[<p>用“User Access Manager”-插件你可以管理访问你的文章,页面和文件。你只创建一个用户组,将注册用户,设置为该小组的成员。从现在起post  /页面仅可为指定的组和可写。这个插件是有益的,如果你需要一个成员区域或私人部分在你的博客或者你希望别人可以写在你的博客,但是并不是到处都是。</p>
<p>下载地址：<a href="http://wordpress.org/extend/plugins/user-access-manager/">http://wordpress.org/extend/plugins/user-access-manager/</a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.3code.cn/user-access-manager-%e7%94%a8%e6%88%b7%e6%96%87%e7%ab%a0%e9%98%85%e8%af%bb%e6%9d%83%e9%99%90%e6%8f%92%e4%bb%b6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>category image 插件</title>
		<link>http://www.3code.cn/category-image-%e6%8f%92%e4%bb%b6/</link>
		<comments>http://www.3code.cn/category-image-%e6%8f%92%e4%bb%b6/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 06:01:13 +0000</pubDate>
		<dc:creator>寒林</dc:creator>
				<category><![CDATA[wordpress插件]]></category>

		<guid isPermaLink="false">http://www.3code.cn/?p=3039</guid>
		<description><![CDATA[category image Download &#160; Using this plugin you can associate one image with each of your category created in wordpress. and you can call that image by using provided function in any template file tejus_dj_getcatimg($catid) call this function in any template file it will return url of that image. where $catid is category id of [...]]]></description>
			<content:encoded><![CDATA[<h2>category image</h2>
<p><a href="http://downloads.wordpress.org/plugin/tejus-add-cat-image.2.0.zip">Download</a></p>
<p>&nbsp;</p>
<p>Using this plugin you can associate one image with each of your category  created in wordpress. and you can call that image by using provided  function in any template file  tejus_dj_getcatimg($catid)  call this function in any template file it will return url of that  image. where $catid is category id of that category.</p>
<p>&nbsp;</p>
<p>使用这个插件，你可以在WordPress中创建您的类别相关联的一个图片。你可以调用该图像使用在任何模板文件用tejus_dj_getcatimg($catid），提供的功能，任何模板文件中调用此功能，它会返回该图像的URL。 $ catid没有这一类的类ID。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.3code.cn/category-image-%e6%8f%92%e4%bb%b6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在WordPress中获取指定分类下的标签</title>
		<link>http://www.3code.cn/%e5%9c%a8wordpress%e4%b8%ad%e8%8e%b7%e5%8f%96%e6%8c%87%e5%ae%9a%e5%88%86%e7%b1%bb%e4%b8%8b%e7%9a%84%e6%a0%87%e7%ad%be/</link>
		<comments>http://www.3code.cn/%e5%9c%a8wordpress%e4%b8%ad%e8%8e%b7%e5%8f%96%e6%8c%87%e5%ae%9a%e5%88%86%e7%b1%bb%e4%b8%8b%e7%9a%84%e6%a0%87%e7%ad%be/#comments</comments>
		<pubDate>Sun, 22 Apr 2012 14:29:58 +0000</pubDate>
		<dc:creator>寒林</dc:creator>
				<category><![CDATA[WORDPRESS主题技术]]></category>

		<guid isPermaLink="false">http://www.3code.cn/?p=3036</guid>
		<description><![CDATA[获得某个或某几个分类下的全部标签: 将以下代码粘贴到functions.php中： function get_category_tags($args) { global $wpdb; $tags = $wpdb-&#62;get_results (" SELECT DISTINCT terms2.term_id as tag_id, terms2.name as tag_name, null as tag_link FROM wp_posts as p1 LEFT JOIN wp_term_relationships as r1 ON p1.ID = r1.object_ID LEFT JOIN wp_term_taxonomy as t1 ON r1.term_taxonomy_id = t1.term_taxonomy_id LEFT JOIN wp_terms as terms1 ON t1.term_id = terms1.term_id, wp_posts as [...]]]></description>
			<content:encoded><![CDATA[<p>获得某个或某几个分类下的全部标签:</p>
<p>将以下代码粘贴到functions.php中：</p>
<blockquote><p>function get_category_tags($args) {<br />
global $wpdb;<br />
$tags = $wpdb-&gt;get_results<br />
("<br />
SELECT DISTINCT terms2.term_id as tag_id, terms2.name as tag_name, null as tag_link<br />
FROM<br />
wp_posts as p1<br />
LEFT JOIN wp_term_relationships as r1 ON p1.ID = r1.object_ID<br />
LEFT JOIN wp_term_taxonomy as t1 ON r1.term_taxonomy_id = t1.term_taxonomy_id<br />
LEFT JOIN wp_terms as terms1 ON t1.term_id = terms1.term_id,</p>
<p>wp_posts as p2<br />
LEFT JOIN wp_term_relationships as r2 ON p2.ID = r2.object_ID<br />
LEFT JOIN wp_term_taxonomy as t2 ON r2.term_taxonomy_id = t2.term_taxonomy_id<br />
LEFT JOIN wp_terms as terms2 ON t2.term_id = terms2.term_id<br />
WHERE<br />
t1.taxonomy = 'category' AND p1.post_status = 'publish' AND terms1.term_id IN (".$args['categories'].") AND<br />
t2.taxonomy = 'post_tag' AND p2.post_status = 'publish'<br />
AND p1.ID = p2.ID<br />
ORDER by tag_name<br />
");<br />
$count = 0;<br />
foreach ($tags as $tag) {<br />
$tags[$count]-&gt;tag_link = get_tag_link($tag-&gt;tag_id);<br />
$count++;<br />
}<br />
return $tags;<br />
}</p></blockquote>
<p>然后你就可以在模板中使用这个函数了：</p>
<blockquote><p>$args = array('categories' =&gt; '11,13,14');<br />
$tags = get_category_tags($args);</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.3code.cn/%e5%9c%a8wordpress%e4%b8%ad%e8%8e%b7%e5%8f%96%e6%8c%87%e5%ae%9a%e5%88%86%e7%b1%bb%e4%b8%8b%e7%9a%84%e6%a0%87%e7%ad%be/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>分类_标签 分页显示 翻页出现404错误</title>
		<link>http://www.3code.cn/%e5%88%86%e7%b1%bb_%e6%a0%87%e7%ad%be-%e5%88%86%e9%a1%b5%e6%98%be%e7%a4%ba-%e7%bf%bb%e9%a1%b5%e5%87%ba%e7%8e%b0404%e9%94%99%e8%af%af/</link>
		<comments>http://www.3code.cn/%e5%88%86%e7%b1%bb_%e6%a0%87%e7%ad%be-%e5%88%86%e9%a1%b5%e6%98%be%e7%a4%ba-%e7%bf%bb%e9%a1%b5%e5%87%ba%e7%8e%b0404%e9%94%99%e8%af%af/#comments</comments>
		<pubDate>Sat, 21 Apr 2012 05:11:43 +0000</pubDate>
		<dc:creator>寒林</dc:creator>
				<category><![CDATA[Wordpress教程]]></category>
		<category><![CDATA[wordpress教程]]></category>

		<guid isPermaLink="false">http://www.3code.cn/?p=3034</guid>
		<description><![CDATA[在wordpress\wp-includes\classes.php里面的handle_404方法 删除&#38;&#38; !is_paged() 即可 function handle_404() { global $wp_query; if ( !is_admin() &#38;&#38; ( 0 == count( $wp_query-&#62;posts ) ) &#38;&#38; !is_404() &#38;&#38; !is_robots() &#38;&#38; !is_search() &#38;&#38; !is_home() ) { // Don't 404 for these queries if they matched an object. if ( ( is_tag() &#124;&#124; is_category() &#124;&#124; is_tax() &#124;&#124; is_author() ) &#38;&#38; $wp_query-&#62;get_queried_object() &#38;&#38; [...]]]></description>
			<content:encoded><![CDATA[<p>在wordpress\wp-includes\classes.php里面的handle_404方法 删除&amp;&amp; !is_paged() 即可<br />
function handle_404() {<br />
global $wp_query;</p>
<p>if ( !is_admin() &amp;&amp; ( 0 == count(  $wp_query-&gt;posts ) ) &amp;&amp; !is_404() &amp;&amp; !is_robots()  &amp;&amp; !is_search() &amp;&amp; !is_home() ) {<br />
// Don't 404 for these queries if they matched an object.<br />
if ( ( is_tag() || is_category() || is_tax() ||  is_author() ) &amp;&amp; $wp_query-&gt;get_queried_object() &amp;&amp;  !is_paged() ) {<br />
if ( !is_404() )<br />
status_header( 200 );<br />
return;<br />
}<br />
$wp_query-&gt;set_404();<br />
status_header( 404 );<br />
nocache_headers();<br />
} elseif ( !is_404() ) {<br />
status_header( 200 );<br />
}<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://www.3code.cn/%e5%88%86%e7%b1%bb_%e6%a0%87%e7%ad%be-%e5%88%86%e9%a1%b5%e6%98%be%e7%a4%ba-%e7%bf%bb%e9%a1%b5%e5%87%ba%e7%8e%b0404%e9%94%99%e8%af%af/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>使用谷歌浏览器来模拟手机上网</title>
		<link>http://www.3code.cn/%e4%bd%bf%e7%94%a8%e8%b0%b7%e6%ad%8c%e6%b5%8f%e8%a7%88%e5%99%a8%e6%9d%a5%e6%a8%a1%e6%8b%9f%e6%89%8b%e6%9c%ba%e4%b8%8a%e7%bd%91/</link>
		<comments>http://www.3code.cn/%e4%bd%bf%e7%94%a8%e8%b0%b7%e6%ad%8c%e6%b5%8f%e8%a7%88%e5%99%a8%e6%9d%a5%e6%a8%a1%e6%8b%9f%e6%89%8b%e6%9c%ba%e4%b8%8a%e7%bd%91/#comments</comments>
		<pubDate>Sat, 31 Mar 2012 12:41:28 +0000</pubDate>
		<dc:creator>寒林</dc:creator>
				<category><![CDATA[Wordpress教程]]></category>

		<guid isPermaLink="false">http://www.3code.cn/?p=3031</guid>
		<description><![CDATA[很多网站都通过User-Agent来判断浏览器类型，如果是3G手机，显示手机页面内容，如果是普通浏览器，显示普通网页内容。 谷歌Chrome浏览器，可以很方便地用来当3G手机模拟器。在Windows的【开始】--&#62;【运行】中输入以下命令，启动谷歌浏览器，即可模拟相应手机的浏览器去访问3G手机网页： 谷歌Android： chrome.exe --user-agent="Mozilla/5.0 (Linux; U; Android 2.2; en-us; Nexus One Build/FRF91) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1" 苹果iPhone 4： chrome.exe --user-agent="Mozilla/5.0 (iPhone; CPU iPhone OS 5_0_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Mobile/9A405" 苹果iPad 2： chrome.exe --user-agent="Mozilla/5.0 (iPad; CPU OS 5_0_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Mobile/9A405" [...]]]></description>
			<content:encoded><![CDATA[<p>很多网站都通过User-Agent来判断浏览器类型，如果是3G手机，显示手机页面内容，如果是普通浏览器，显示普通网页内容。</p>
<p>谷歌Chrome浏览器，可以很方便地用来当3G手机模拟器。在Windows的【开始】--&gt;【运行】中输入以下命令，启动谷歌浏览器，即可模拟相应手机的浏览器去访问3G手机网页：</p>
<p>谷歌Android：<br />
chrome.exe --user-agent="Mozilla/5.0 (Linux; U; Android 2.2; en-us; Nexus One Build/FRF91) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1"</p>
<p>苹果iPhone 4：<br />
chrome.exe --user-agent="Mozilla/5.0 (iPhone; CPU iPhone OS 5_0_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Mobile/9A405"</p>
<p>苹果iPad 2：<br />
chrome.exe --user-agent="Mozilla/5.0 (iPad; CPU OS 5_0_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Mobile/9A405"</p>
<p>诺基亚N97：<br />
chrome.exe --user-agent="Mozilla/5.0 (SymbianOS/9.4; Series60/5.0 NokiaN97-1/20.0.019; Profile/MIDP-2.1 Configuration/CLDC-1.1) AppleWebKit/525 (KHTML, like Gecko) BrowserNG/7.1.18124"</p>
<p>试一试，分别用Android、iPhone、诺基亚访问http://www.163.com/、http://blog.s135.com/、http://www.google.com.hk/、http://3g.qq.com、http://t.sina.cn这些3G手机网页，看看有什么不同。</p>
<p>更多款手机的User-Agent：http://www.zytrax.com/tech/web/mobile_ids.html</p>
<p>10月11日备注：如果想切换回普通浏览器模式，关掉所有Chrome浏览器，重开即可。如果不想关闭浏览器，切回普通浏览器模式，则访问：<br />
chrome.exe --user-agent="Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.77 Safari/535.7"</p>
]]></content:encoded>
			<wfw:commentRss>http://www.3code.cn/%e4%bd%bf%e7%94%a8%e8%b0%b7%e6%ad%8c%e6%b5%8f%e8%a7%88%e5%99%a8%e6%9d%a5%e6%a8%a1%e6%8b%9f%e6%89%8b%e6%9c%ba%e4%b8%8a%e7%bd%91/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>全国职称计算机考试经验谈</title>
		<link>http://www.3code.cn/%e5%85%a8%e5%9b%bd%e8%81%8c%e7%a7%b0%e8%ae%a1%e7%ae%97%e6%9c%ba%e8%80%83%e8%af%95%e7%bb%8f%e9%aa%8c%e8%b0%88/</link>
		<comments>http://www.3code.cn/%e5%85%a8%e5%9b%bd%e8%81%8c%e7%a7%b0%e8%ae%a1%e7%ae%97%e6%9c%ba%e8%80%83%e8%af%95%e7%bb%8f%e9%aa%8c%e8%b0%88/#comments</comments>
		<pubDate>Mon, 12 Mar 2012 15:59:07 +0000</pubDate>
		<dc:creator>寒林</dc:creator>
				<category><![CDATA[闲言随笔]]></category>
		<category><![CDATA[全国职称计算机考试]]></category>

		<guid isPermaLink="false">http://www.3code.cn/?p=3027</guid>
		<description><![CDATA[如果你要职称计算机考试过关，必须要做练习题，看书基本没什么用处，考试推荐用书和我高中及大学发的教材内容差不多。]]></description>
			<content:encoded><![CDATA[<p><strong>近来一直在忙一件事：职称计算机考试。</strong></p>
<p>计算机已经考过很多次了，一会要这种考试，一会要那种考试。证书都换了好几本。<br />
从今年开始又有了新规定，说是人事部门定了职称计算机考试十个模块的范围。初级职称的要求有其中一个模块的合格证书，中级职称的要求有其中两个模块的合格证书，高级职称的则要求有其中三个模块的合格证书。以前都只要求一个模块的，所以所有要参加职称评定的人都急急忙忙开始另外两个模块的复习和考试。</p>
<p>市人事局里挤满了前来报名或参加考前培训的人。每报考一门交报名费110元，三个模块加起来就是330元。一些想参加高级职称评定的人都是年纪比较大一点的，计算机知识和水平相对有限一些，所以不得不参加考前培训，每培训一门交费325元，所以一个职称计算机考试下来，需要人民币一千多。有些的一个模块不一定能一次通过，不及格的话要补考，补考就再次报名，再次交报名费每门110元。我报名时就看到一个五十岁左右的男士，在那里唉声叹气，他说他是一个农技师，对电脑操作主要限于查阅资料，或与人沟通。但职称评定要求考什么三个模块，他就报了Windows xp,Word 2003和Excel三个模块。仅Excel一个模块他就考了三次了，总是差那么一点点分。天天往人事局跑，又是报名又是培训又是考试的，费心费力费时间，耽误了很多工作。真不知道有何实际价值。</p>
<p>并且职称计算机考试对时间限制很紧。只有五十分钟时间，要求完成四十道操作题，时间一到，电脑自动交卷。每道题目给你的时间不到一分钟。那位农技师说，如果稍稍给我多一点点时间，让我稍微有时间思考的话，我肯定能够及格的。真不知道操作电脑要这么快的速度有何意义。他最好的一次成绩是55分。他说，如果再有五分钟的话，他就一定可以及格了。</p>
<p>还有很多人一边排队一边在议论，人事局真有钱啊，那些个办事小姐每天坐在有空调的宽大的办公室里，大把大把地收钱，人民币哗哗地流入他们的抽屉里，可谓日进斗金呢。</p>
<p>——唉，这就是我们国家的人事考试。这还只是计算机考试，然后还有每年的外语考试，也是收取了大把的人民币，也是难倒了我们的多少英雄汉！</p>
<p>这些就不说了，考试还是要考的，听同事建议买了款题库，花了一个星期突击，个人感觉职称计算机考试模块和日常应用差别较大，因为计算机考试要全面覆盖软件的各知识点而日常应用面较为狭窄，一些高手也要引起重视，不可掉以轻心。某些操作限定的比较死板，和日常操作有很大差别，八股色彩严重，一定要做模拟题熟悉操作套路；而且更变态的是有些题目可能有多种操作方法，但考试系统中它要求你只能采用某一种操作方法才能得分，换句话说就是你可能按题目要求做出结果来了，但是可能是不得分的。</p>
<p>和我一同参加考试的几个同事因为没有题库练习，考后几乎大跌眼镜，其中一个老师说：“电脑我也是用了七八年了，XP系统也是天天用，考试竞然56分”那个气啊！因为有了这样的教训所以奉劝准备参加考试的朋友一定要准备一套模拟软件。最新正版的也就几十块钱，效果很好，现在再也不用担心这种烦人的考试了，个人觉得这钱值得花，里面的命中率是很高的,我是在淘宝店(<a title="全国职称计算机考试软件专营店" href="http://zc01.taobao.com" target="_blank">http://zc01.taobao.com</a>)上买的，服务很好，而且他的软件也可以免费试用，我当时也下载用过！</p>
<p>综上对于现在的全国职称计算机考试，本人有三点经验：<br />
（1）如果你要职称计算机考试过关，必须要做练习题，看书基本没什么用处，考试推荐用书和我高中及大学发的教材内容差不多。<br />
（2）自己的计算机水平再高，都不能掉以轻心，毕竟考试中很多是我们平时用电脑是不会用到的功能，所以练习是必须的。<br />
（3）有些光碟是没用的。我同事买了三套（书+盘），共花了96元，可是光盘里面只有1套题目。</p>
<p>另外可以去 "<a title="全国职称计算机考试网" href="http://www.zhichengjsj.com" target="_blank">全国职称计算机考试网</a>"上看下。有很多很好的资料。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.3code.cn/%e5%85%a8%e5%9b%bd%e8%81%8c%e7%a7%b0%e8%ae%a1%e7%ae%97%e6%9c%ba%e8%80%83%e8%af%95%e7%bb%8f%e9%aa%8c%e8%b0%88/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Admin Locale</title>
		<link>http://www.3code.cn/admin-locale/</link>
		<comments>http://www.3code.cn/admin-locale/#comments</comments>
		<pubDate>Mon, 12 Mar 2012 04:05:45 +0000</pubDate>
		<dc:creator>寒林</dc:creator>
				<category><![CDATA[wordpress插件]]></category>

		<guid isPermaLink="false">http://www.3code.cn/?p=3024</guid>
		<description><![CDATA[This plugin gives you the ability to run the site in a language (Arabic for example) and use the admin panel in another (like English). Just go to Settings » General and choose your language. Download the plugin, unzip it and upload it to /wp-content/plugins/ directory. Activate the plugin through the 'Plugins' menu in WordPress. [...]]]></description>
			<content:encoded><![CDATA[<p>This plugin gives you the ability to run the site in a language  (Arabic for example) and use the admin panel in another (like English).</p>
<p>Just go to Settings » General and choose your language.</p>
<div>
<ol>
<li>Download the plugin, unzip it and upload it to <code>/wp-content/plugins/</code> directory.</li>
<li>Activate the plugin through the 'Plugins' menu in WordPress.</li>
<li>Go to Settings » General and choose your language.</li>
</ol>
<p>http://wordpress.org/extend/plugins/admin-locale/installation</p>
<p>&nbsp;</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.3code.cn/admin-locale/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Just Custom Fields for WordPress</title>
		<link>http://www.3code.cn/just-custom-fields-for-wordpress/</link>
		<comments>http://www.3code.cn/just-custom-fields-for-wordpress/#comments</comments>
		<pubDate>Mon, 12 Mar 2012 03:50:55 +0000</pubDate>
		<dc:creator>寒林</dc:creator>
				<category><![CDATA[wordpress插件]]></category>
		<category><![CDATA[wordpress 插件]]></category>

		<guid isPermaLink="false">http://www.3code.cn/?p=3021</guid>
		<description><![CDATA[Installation: Download, unzip and upload to your WordPress plugins directory Activate the plugin within your WordPress Administration Backend Go to Settings &#62; Just Custom Fields Choose Post Type (Standard/Custom) where you would like to edit custom fields Create Fieldset Add fields to the fieldset. Screenshots: On this screenshot you can see settings page for a [...]]]></description>
			<content:encoded><![CDATA[<h3>Installation:</h3>
<ol>
<li>Download, unzip and upload to your WordPress plugins directory</li>
<li>Activate the plugin within your WordPress Administration Backend</li>
<li>Go to Settings &gt; Just Custom Fields</li>
<li>Choose  Post Type (Standard/Custom)  where you would like to edit custom fields</li>
<li>Create Fieldset</li>
<li>Add fields to the fieldset.</li>
</ol>
<h3>Screenshots:</h3>
<p>On this screenshot you can see settings page for a “Page” post type.  You can create fieldsets and fields inside of it. This page uses <a href="http://codex.wordpress.org/AJAX_in_Plugins" target="_blank">WordPress AJAX API</a>, so it updates without any redirects and editing rather quickly.</p>
<p><a rel="lightbox" href="http://justcoded.com/wp-content/uploads/2011/07/screenshot-1.png"><img title="screenshot-1" src="http://justcoded.com/wp-content/uploads/2011/07/screenshot-1-423x241.png" alt="screenshot 1 423x241 Just Custom Fields for WordPress plugin" width="423" height="241" /></a></p>
<p>You can create field with one of  types below:</p>
<ul>
<li>Input text: usual single-line text box</li>
<li>Select: usual dropdown list</li>
<li>Select Multiple:  area which allow you to select multiple options from the list</li>
<li>Checkbox: you can add one or multiple checkboxes</li>
<li>Textarea: multi-line text field. You can also enable WordPress editor for this field</li>
<li>Datepicker:  input field with calendar popup to choose a date.</li>
<li>Upload media: use this field to create multiple images or files container</li>
<li>Fields Group: using  this field you can create a “table” of fields.  For example you want to attach clients table to a  page – you can create  fields group with client/phone/email fields. And add them without any  HTML</li>
</ul>
<p>Next screenshot illustrates how fieldset will look on a post edit  page. There are usual text box, date picker field and Upload image field  (as you can see you can upload many images here).</p>
<p><a rel="lightbox" href="http://justcoded.com/wp-content/uploads/2011/07/screenshot-2.png"><img title="screenshot-2" src="http://justcoded.com/wp-content/uploads/2011/07/screenshot-2-327x241.png" alt="screenshot 2 327x241 Just Custom Fields for WordPress plugin" width="327" height="241" /></a></p>
<p>Developers also find this plugin very useful. Cause  it’s very easy  to add their own components and custom fields with their own plugins and  even themes using some new hooks. For more details you are welcome to  check readme.txt from the plugin package.</p>
<h3>Templates usage</h3>
<p>To use values from these fields in your theme, you can use usual post meta functions such as:</p>
<ul>
<li><a href="http://codex.wordpress.org/Function_Reference/get_post_meta" target="_blank">get_post_meta()</a></li>
<li><a href="http://codex.wordpress.org/Function_Reference/get_post_custom" target="_blank">get_post_custom()</a></li>
</ul>
<p>Let’s give you some examples. For example we create 3 custom fields  for the Page with such slugs: price (Input Text), features  (Checkboxes/multiple), slide_images (Upload Media / image). To get  values in templates you need to call such lines of code inside the loop  functions:</p>
<div>
<div>
<pre>$price = get_post_meta($post-&gt;ID, 'price', true);   // we get value for input text
$images = get_post_meta($post-&gt;ID, 'slide_images', true);  // we get array of images
$features = get_post_meta($post-&gt;ID, 'features', true);    // we get array of checked checkboxes</pre>
</div>
</div>
<p>Now when you have variables with data you can print them in the template. For example like this:</p>
<div>
<div>
<pre>&lt;p&gt;Price: &lt;?php echo $price; ?&gt;&lt;/p&gt;
&lt;p&gt;Features: &lt;?php foreach($features as $feature) echo $feature.','; ?&gt;&lt;/p&gt;
&lt;p&gt;Images:&lt;/p&gt;
&lt;?php if(!empty($images)) foreach($images as $img) : ?&gt;
	&lt;div&gt;&lt;img src="&lt;?php echo $img['image']; ?&gt;" alt="&lt;?php echo esc_attr($img['title']); ?&gt;" /&gt;&lt;/div&gt;
&lt;?php endforeach; ?&gt;</pre>
</div>
</div>
<p>If you need print single image from custom field you can use such code for this:</p>
<div>
<div>
<pre>&lt;p&gt;Image: &lt;img src="&lt;?php echo $images[0]['image']; ?&gt;" alt="&lt;?php echo esc_attr($images[0]['title']); ?&gt;" /&gt;&lt;/p&gt;</pre>
</div>
</div>
<p>You can read more about using custom fields on codex.WordPress.org: <a href="http://codex.wordpress.org/Custom_Fields" target="_blank">Custom Fields</a> or search more information in google. There are a lot of example on  different sites how to use WordPress custom fields. Our plugin just make  easy interface to edit them in administration panel, and you can use  all build-in WordPress functions for custom fields.</p>
<h3>Template functions for Upload Media type “Image”</h3>
<p>Since i’ve posted my plugin i had a lot of comments about “How to use  Upload Media field in templates”. When I develop this plugin I wanted  make life easier for developers. But a lot of people with pure PHP  knowledge found it useful. So I decide to make few templates functions  for people who are not familiar with PHP.<br />
These functions are available <strong>since version 1.3</strong>:</p>
<ul>
<li>just_custom_image( $post_id, $field_slug, [$args_single] );</li>
<li>just_custom_images_list( $post_id, $field_slug, [$args_multiple] );</li>
</ul>
<p>These functions take care about PHP routine and just print image or images list. Function params are:<br />
<strong>$post_id</strong> – your post ID<br />
<strong>$field_slug</strong> – your meta field slug<br />
<strong>$args_single</strong> – array of additional params you may want to use. Available keys are:<br />
* ‘before’ (html to insert before image tag, default: none),<br />
* ‘after’ (html to insert after image tag, default: none),<br />
* ‘width’ (image width attribute value, default: none),<br />
* ‘height’ (image height attribute value, default: none),<br />
* ‘echo’ (print html or just return, default: true)<br />
<strong>$args_multiple</strong> – array of additional params you may want to use. Available keys are:<br />
* ‘before’ (html to insert before images list, default: ‘&lt;ul&gt;’),<br />
* ‘after’ (html to insert after images list, default: ‘&lt;/ul&gt;’),<br />
* ‘before_item’ (html to insert before images list item, default: ‘&lt;li&gt;’),<br />
* ‘after_item’ (html to insert after images list item, default: ‘&lt;/li&gt;’),<br />
* ‘width’ (image width attribute value, default: none),<br />
* ‘height’ (image height attribute value, default: none),<br />
* ‘echo’ (print html or just return, default: true)</p>
<p>Let’s try few examples.<br />
<strong>Example 1:</strong> print single image:</p>
<div>
<div>
<pre>	just_custom_image($post-&gt;ID, 'slide_images');</pre>
</div>
</div>
<p><strong>Example 2:</strong> print single image wrapped with &lt;div&gt; tag and has width/height set to 100px:</p>
<div>
<div>
<pre>	just_custom_image($post-&gt;ID, 'slide_images', array(
		'before' =&gt; '&lt;div&gt;',
		'after' =&gt; '&lt;/div&gt;',
		'width' =&gt; 100,
		'height' =&gt; 100,
	));</pre>
</div>
</div>
<p><strong>Example 3:</strong> print list of images</p>
<div>
<div>
<pre>	just_custom_images_list($post-&gt;ID, 'slide_images');</pre>
</div>
</div>
<p><strong>Example 3:</strong> print list of images based on DIV tags</p>
<div>
<div>
<pre>	just_custom_images_list($post-&gt;ID, 'slide_images', array(
		'before' =&gt; '&lt;div&gt;',
		'after' =&gt; '&lt;/div&gt;',
		'before_item' =&gt; '&lt;div&gt;',
		'after_item' =&gt; '&lt;/div&gt;',
	));</pre>
</div>
</div>
<h3>Download</h3>
<p>Our plugin is available for download:</p>
<p><a href="http://dl.dropbox.com/u/5307536/develop/wordpress/just-custom-fields.zip">download Just Custom Fields for WordPress</a><br />
or<br />
<a href="http://wordpress.org/extend/plugins/just-custom-fields/" target="_blank">download from WordPress.org repository</a></p>
<h3>DONATION</h3>
<p>The script is free for use, but if you want to support the script  author by donating some $$$ please use the form below, thanks in  advance.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.3code.cn/just-custom-fields-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress分类插件：wp-category-meta</title>
		<link>http://www.3code.cn/wordpress%e5%88%86%e7%b1%bb%e6%8f%92%e4%bb%b6%ef%bc%9awp-category-meta/</link>
		<comments>http://www.3code.cn/wordpress%e5%88%86%e7%b1%bb%e6%8f%92%e4%bb%b6%ef%bc%9awp-category-meta/#comments</comments>
		<pubDate>Sun, 11 Mar 2012 04:02:35 +0000</pubDate>
		<dc:creator>寒林</dc:creator>
				<category><![CDATA[wordpress插件]]></category>

		<guid isPermaLink="false">http://www.3code.cn/?p=3018</guid>
		<description><![CDATA[Wordpress分类插件：wp-category-meta]]></description>
			<content:encoded><![CDATA[<div><strong>Authors:</strong> Eric Le Bail, Tom Ransom</div>
<p><a title="职称计算机考试软件2012" href="http://www.zhichengjsj.com" target="_blank">职称计算机考试软件2012</a></p>
<p>This plugins add meta data to the wordpress categories and terms. It Creates a wp-termsmeta table to store the entered meta. It adds input fields to the category and other term administration interface to enter the meta values. It provides functions to retrive / create / update / delete the category and terms meta. It can be used to add meta to custom taxonomies (terms).</p>
<p>This plugin has been tested with WP2.8.6 and WPmu2.8.6 and WP3.0</p>
<div>
<ol>
<li>Unzip into your <code>/wp-content/plugins/</code> directory. If you're uploading it make sure to upload the top-level folder. Don't just upload all the php files and put them in <code>/wp-content/plugins/</code>.</li>
<li>Activate the plugin through the 'Plugins' menu in WordPress</li>
<li>Go to your Administration interface in the "Settings" menu a new "Category Meta" page is created. Configure the meta you want to use.</li>
<li>go to your Administration interface, in the "Category" menu -&gt;  new fields are displayed in the category creation/modification form with  the meta you configured.</li>
<li>That's it!</li>
<li>you can use the folowing functions into your templates to retreive 1 meta:</li>
</ol>
<pre><code>if (function_exists('get_terms_meta'))
{
    $metaValue = get_terms_meta($category_id, $meta_key);
}</code></pre>
<ol>
<li>you can use the folowing functions into your templates to retreive all meta:</li>
</ol>
<pre><code>if (function_exists('get_all_terms_meta'))
{
    $metaList = get_all_terms_meta($category_id);
}</code></pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.3code.cn/wordpress%e5%88%86%e7%b1%bb%e6%8f%92%e4%bb%b6%ef%bc%9awp-category-meta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE6、IE7、Firefox中margin问题解决办法</title>
		<link>http://www.3code.cn/ie6%e3%80%81ie7%e3%80%81firefox%e4%b8%admargin%e9%97%ae%e9%a2%98%e8%a7%a3%e5%86%b3%e5%8a%9e%e6%b3%95/</link>
		<comments>http://www.3code.cn/ie6%e3%80%81ie7%e3%80%81firefox%e4%b8%admargin%e9%97%ae%e9%a2%98%e8%a7%a3%e5%86%b3%e5%8a%9e%e6%b3%95/#comments</comments>
		<pubDate>Mon, 13 Feb 2012 14:13:23 +0000</pubDate>
		<dc:creator>寒林</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://www.3code.cn/?p=3010</guid>
		<description><![CDATA[在做一个网站的布局，因为经常用firefox，所有的内容都是在firefox下面调试的，等快完工了切回IE7一看，样式差别好多，主要是在margin，padding这几个元素的理解上。]]></description>
			<content:encoded><![CDATA[<p>您对IE6/IE7/Firefox的margin问题解决办法了解多少，这里与大家分享一下，希望对你的学习有所帮助。</p>
<p><strong>IE6/IE7/Firefox的margin问题解决办法</strong></p>
<p>在做一个网站的布局，因为经常用firefox，所有的内容都是在firefox下面调试的，等快完工了切回IE7一看，样式差别好多，主要是在margin，padding这几个元素的理解上。<br />
我知道ie6ie7firefox对margin的解释都不同，去网上查了一下，可以通过!important这样的手段hack。<br />
具体的做法有以下几种：</p>
<p><strong>第一种：</strong></p>
<pre>
<ol>
<li>.div{</li>
<li>background:orange;/*ff*/</li>
<li>*background:green!important;/*ie7*/</li>
<li>*background:blue;/*ie6*/</li>
<li>}</li>
</ol>
</pre>
<p><strong>第二种：</strong></p>
<pre>
<ol>
<li>.div{</li>
<li>margin:10px;/*ff*/</li>
<li>*margin:15px;/*ie7*/</li>
<li>_margin:15px;/*ie6*/</li>
<li>}</li>
</ol>

<strong>第三种：</strong></pre>
<pre>
<ol>
<li>#div{color:#333;}/*ff*/</li>
<li>*html#div{color:#666;}/*IE6*/</li>
<li>*+html#div{color:#999;}/*IE7*/</li>
</ol>
</pre>
<p>现在常用了第一种，很好用，写出来与大家分享。<br />
在给一个例子：</p>
<pre>
<ol>
<li>#pages{margin:auto;width:910px;text-align:left;}</li>
<li>#pages{*width:915px!important;}/*IE7*/</li>
</ol>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.3code.cn/ie6%e3%80%81ie7%e3%80%81firefox%e4%b8%admargin%e9%97%ae%e9%a2%98%e8%a7%a3%e5%86%b3%e5%8a%9e%e6%b3%95/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Multiple content blocks后台多编辑器插件</title>
		<link>http://www.3code.cn/multiple-content-blocks%e5%90%8e%e5%8f%b0%e5%a4%9a%e7%bc%96%e8%be%91%e5%99%a8%e6%8f%92%e4%bb%b6/</link>
		<comments>http://www.3code.cn/multiple-content-blocks%e5%90%8e%e5%8f%b0%e5%a4%9a%e7%bc%96%e8%be%91%e5%99%a8%e6%8f%92%e4%bb%b6/#comments</comments>
		<pubDate>Sat, 11 Feb 2012 12:01:08 +0000</pubDate>
		<dc:creator>寒林</dc:creator>
				<category><![CDATA[wordpress插件]]></category>
		<category><![CDATA[wordpress 插件]]></category>

		<guid isPermaLink="false">http://www.3code.cn/?p=3006</guid>
		<description><![CDATA[Multiple content blocks后台多编辑器插件]]></description>
			<content:encoded><![CDATA[<div>
<div id="outputText">
<div>
<p>这个插件,你可以使用超过一个内容“块”,在一个模板。你只需要在模板内插入一个标签,所以它使用方便。</p>
<p>我做了这个插件,因为我认为这是必要的,任何CMS能够使用更多的内容块在一个模板。我真的错过了这次的功能,在评论,我没有找到一个像样的插件,那么我做了一个有钱人。</p>
<p><strong>什么是“多重内容块"?</strong></p>
<p>当你用一个WordPress模板,你可以显示当前页面的内容用代码the_content(),但是当你有几列内容时,你不能分开这些不同的“块”。</p>
<p>你想让你的客户编辑不同块的内容,就用这个插件。</p>
<p><strong>使用与安装：</strong></p>
<div>
<ol>
<li>Extract the contents to the <code>/wp-content/plugins/multiple-content/</code> directory</li>
<li>Activate the plugin through the 'Plugins' menu in WordPress</li>
<li>Place <code>&lt;?php the_block('blockname'); ?&gt;</code> in your template where you want a content block</li>
<li>Edit this content on the page editing page</li>
</ol>
</div>
<p><strong>给变量：</strong></p>
<p>&lt;?php $content_to_edit = get_the_block('blockname'); ?&gt;</p>
</div>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.3code.cn/multiple-content-blocks%e5%90%8e%e5%8f%b0%e5%a4%9a%e7%bc%96%e8%be%91%e5%99%a8%e6%8f%92%e4%bb%b6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress实现前台英文，后台中文（插件）</title>
		<link>http://www.3code.cn/wordpress%e5%ae%9e%e7%8e%b0%e5%89%8d%e5%8f%b0%e8%8b%b1%e6%96%87%ef%bc%8c%e5%90%8e%e5%8f%b0%e4%b8%ad%e6%96%87%ef%bc%88%e6%8f%92%e4%bb%b6%ef%bc%89/</link>
		<comments>http://www.3code.cn/wordpress%e5%ae%9e%e7%8e%b0%e5%89%8d%e5%8f%b0%e8%8b%b1%e6%96%87%ef%bc%8c%e5%90%8e%e5%8f%b0%e4%b8%ad%e6%96%87%ef%bc%88%e6%8f%92%e4%bb%b6%ef%bc%89/#comments</comments>
		<pubDate>Thu, 09 Feb 2012 01:52:35 +0000</pubDate>
		<dc:creator>寒林</dc:creator>
				<category><![CDATA[wordpress插件]]></category>

		<guid isPermaLink="false">http://www.3code.cn/?p=3003</guid>
		<description><![CDATA[WordPress实现前台英文，后台中文（插件）]]></description>
			<content:encoded><![CDATA[<p>给一个外贸站升级，碰到一小问题：考虑到朋友以后的内容更新维护，我用WordPress 3.0.5的中文版来搭建的，因为中文的后台比较让人亲近，但是这样会在前台的页面有些地方，象注册登录，还有内容的源代码都会有些中文存在。有没有方法让WP的前台是纯英文而后台却是纯中文的呢？</p>
<p>Google 一下，找到解决办法，有个 “Admin Locale” 的插件正好可以实现我想要的功能。</p>
<p><strong>安装方法：</strong></p>
<p>到WP后台，添加新插件--&gt;搜索 Admin Locale，安装此插件并激活它。</p>
<p>再到 设置--&gt;常规，在下面 找到 Admin Language: 选择 Chinese (如下图)，更新即可。</p>
<p><strong>最后一步</strong>,不要忘了修改wp-config.php文件，把其中里面的一句代码：</p>
<p>define ('WPLANG','zh_CN'); 改成：</p>
<p>define ('WPLANG', 'en_US');</p>
<p>上面的安装方法适合于WordPress中文版，如果你的WordPress本身就是英文版的话，wp-config.php就不用去修改了，同时必须把 WordPress 中文语言包拷贝到wp-content\languages （没有这个languages目录的话，自己新建这个目录）里。Admin Locale的设置方法同上。</p>
<p>WordPress 中文语言包下载地址：http://code.google.com/p/wpcn/downloads/list</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.3code.cn/wordpress%e5%ae%9e%e7%8e%b0%e5%89%8d%e5%8f%b0%e8%8b%b1%e6%96%87%ef%bc%8c%e5%90%8e%e5%8f%b0%e4%b8%ad%e6%96%87%ef%bc%88%e6%8f%92%e4%bb%b6%ef%bc%89/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>最新公告：请大家做好网站备份工作</title>
		<link>http://www.3code.cn/%e6%9c%80%e6%96%b0%e5%85%ac%e5%91%8a%ef%bc%9a%e8%af%b7%e5%a4%a7%e5%ae%b6%e5%81%9a%e5%a5%bd%e7%bd%91%e7%ab%99%e5%a4%87%e4%bb%bd%e5%b7%a5%e4%bd%9c/</link>
		<comments>http://www.3code.cn/%e6%9c%80%e6%96%b0%e5%85%ac%e5%91%8a%ef%bc%9a%e8%af%b7%e5%a4%a7%e5%ae%b6%e5%81%9a%e5%a5%bd%e7%bd%91%e7%ab%99%e5%a4%87%e4%bb%bd%e5%b7%a5%e4%bd%9c/#comments</comments>
		<pubDate>Mon, 02 Jan 2012 07:26:08 +0000</pubDate>
		<dc:creator>寒林</dc:creator>
				<category><![CDATA[wordpress新闻]]></category>

		<guid isPermaLink="false">http://www.3code.cn/?p=2999</guid>
		<description><![CDATA[尊敬的客户： 再安全的主机也不能保证100%不出问题，所以请大家平时做好自己的网站备份工作。以防万一。 服务器这边也会备份， 不过为了保证绝对的安全，也有必要自己备下。 九创主题 2012-1-2]]></description>
			<content:encoded><![CDATA[<p>尊敬的客户：</p>
<p>再安全的主机也不能保证100%不出问题，所以请大家平时做好自己的网站备份工作。以防万一。<br />
服务器这边也会备份， 不过为了保证绝对的安全，也有必要自己备下。</p>
<p>九创主题<br />
2012-1-2</p>
]]></content:encoded>
			<wfw:commentRss>http://www.3code.cn/%e6%9c%80%e6%96%b0%e5%85%ac%e5%91%8a%ef%bc%9a%e8%af%b7%e5%a4%a7%e5%ae%b6%e5%81%9a%e5%a5%bd%e7%bd%91%e7%ab%99%e5%a4%87%e4%bb%bd%e5%b7%a5%e4%bd%9c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>网上订票12306.cn使用手记</title>
		<link>http://www.3code.cn/%e7%bd%91%e4%b8%8a%e8%ae%a2%e7%a5%a812306-cn%e4%bd%bf%e7%94%a8%e6%89%8b%e8%ae%b0/</link>
		<comments>http://www.3code.cn/%e7%bd%91%e4%b8%8a%e8%ae%a2%e7%a5%a812306-cn%e4%bd%bf%e7%94%a8%e6%89%8b%e8%ae%b0/#comments</comments>
		<pubDate>Fri, 30 Dec 2011 07:04:59 +0000</pubDate>
		<dc:creator>寒林</dc:creator>
				<category><![CDATA[闲言随笔]]></category>

		<guid isPermaLink="false">http://www.3code.cn/%e7%bd%91%e4%b8%8a%e8%ae%a2%e7%a5%a812306-cn%e4%bd%bf%e7%94%a8%e6%89%8b%e8%ae%b0/</guid>
		<description><![CDATA[1. 首先下载个证书，安装好了 2. 注册个用户名，登录。 3. 点车票预订，输入起始站，找到对应的车次。 4. 点预订，提交订单，出现一个确认框。 以上这四步顺利。 &#160; 5. 提交订单后提示： 系统忙！ 请点击我的订单确认客票的状态后再尝试后续操作。谢谢！ &#160; &#160; 6. 点我的订单，提示没有未完成的订单。 7. 重新订，提示系统忙 8. 再重新订，还是提示系统忙！ 9. 再重新订，提示没有足够的票！ 10. 再重新订提示您输入的验证码不正确！ &#160; 被 它玩死了NND.]]></description>
			<content:encoded><![CDATA[<p>1. 首先下载个证书，安装好了</p>
<p>2. 注册个用户名，登录。</p>
<p>3. 点车票预订，输入起始站，找到对应的车次。</p>
<p>4. 点预订，提交订单，出现一个确认框。</p>
<p>以上这四步顺利。</p>
<p>&#160;</p>
<p>5. 提交订单后提示：</p>
<p><img alt="" align="absMiddle" src="https://dynamic.12306.cn/otsweb/images/succde_fault.jpg" /> 系统忙！</p>
<p>请点击<a href="https://dynamic.12306.cn/otsweb/order/myOrderAction.do?method=queryMyOrderNotComplete">我的订单</a>确认客票的状态后再尝试后续操作。谢谢！</p>
<p>&#160;</p>
<p>&#160;</p>
<p>6. 点我的订单，提示没有未完成的订单。</p>
<p>7. 重新订，提示系统忙</p>
<p>8. 再重新订，还是提示系统忙！</p>
<p>9. 再重新订，提示没有足够的票！</p>
<p>10. 再重新订提示您输入的验证码不正确！</p>
<p>&#160;</p>
<p>被 它玩死了NND.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.3code.cn/%e7%bd%91%e4%b8%8a%e8%ae%a2%e7%a5%a812306-cn%e4%bd%bf%e7%94%a8%e6%89%8b%e8%ae%b0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>罗湖汽车站大巴突然失控 已造成5人死亡</title>
		<link>http://www.3code.cn/%e7%bd%97%e6%b9%96%e6%b1%bd%e8%bd%a6%e7%ab%99%e5%a4%a7%e5%b7%b4%e7%aa%81%e7%84%b6%e5%a4%b1%e6%8e%a7-%e5%b7%b2%e9%80%a0%e6%88%905%e4%ba%ba%e6%ad%bb%e4%ba%a1/</link>
		<comments>http://www.3code.cn/%e7%bd%97%e6%b9%96%e6%b1%bd%e8%bd%a6%e7%ab%99%e5%a4%a7%e5%b7%b4%e7%aa%81%e7%84%b6%e5%a4%b1%e6%8e%a7-%e5%b7%b2%e9%80%a0%e6%88%905%e4%ba%ba%e6%ad%bb%e4%ba%a1/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 01:59:00 +0000</pubDate>
		<dc:creator>寒林</dc:creator>
				<category><![CDATA[闲言随笔]]></category>

		<guid isPermaLink="false">http://www.3code.cn/?p=2996</guid>
		<description><![CDATA[深圳新闻网讯 (记者罗秋近)12月27日下午，一辆从罗湖汽车站出来的大巴突然失控，连撞7个路人。深圳警方微博确认，车祸中有5人死亡，1人受伤，还有一位香港人。其余伤员已紧急送往医院抢救。]]></description>
			<content:encoded><![CDATA[<p>深圳新闻网讯 (记者罗秋近)12月27日下午，一辆从罗湖汽车站出来的大巴突然失控，连撞7个路人。深圳警方微博确认，车祸中有5人死亡，1人受伤，还有一位香港人。其余伤员已紧急送往医院抢救。</p>
<p>中新网深圳12月27日电 (记者 郑小红陈文)27日中午1时20分许，深圳罗湖口岸汽车站停车场中的一辆广州开至深圳大巴突然失控，撞向候车区护栏内的旅客，造成5人死亡、多人受伤。</p>
<p>　　肇事车辆是深圳来往霞山的大巴，记者在采访中了解到，死伤者包括有香港人士。一名曾姓港人称，事故发生后，他的太太和女儿便在罗湖多家医院查找其受伤的57岁父亲的消息，至下午5时，其父已被证实死亡。</p>
<p>　　深圳罗湖医院共收治伤者3人，包括2名重伤员和一名轻伤员，罗湖医院下午三时许为已40多岁的男性进行手术，医生说，该男性脾脏破裂，情况危殆。</p>
<p>　　下午4时许，在罗湖医院为一63岁的张姓婆婆进行左脚部手术，据悉，这位婆婆是河南南阳人，路过事故现场被突然冲过的大巴撞伤。</p>
<p>　　死者还包括一名3岁的重庆男孩。</p>
<p>　　目前，事故发生后，肇事司机已被控制。据该司机所在的公司称，该司机是一名优秀司机，并怀疑司机肇事存在意外情况。(完)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.3code.cn/%e7%bd%97%e6%b9%96%e6%b1%bd%e8%bd%a6%e7%ab%99%e5%a4%a7%e5%b7%b4%e7%aa%81%e7%84%b6%e5%a4%b1%e6%8e%a7-%e5%b7%b2%e9%80%a0%e6%88%905%e4%ba%ba%e6%ad%bb%e4%ba%a1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress用404页面重写Url</title>
		<link>http://www.3code.cn/wordpress%e7%94%a8404%e9%a1%b5%e9%9d%a2%e9%87%8d%e5%86%99url/</link>
		<comments>http://www.3code.cn/wordpress%e7%94%a8404%e9%a1%b5%e9%9d%a2%e9%87%8d%e5%86%99url/#comments</comments>
		<pubDate>Mon, 26 Dec 2011 09:07:07 +0000</pubDate>
		<dc:creator>寒林</dc:creator>
				<category><![CDATA[Wordpress教程]]></category>
		<category><![CDATA[wordperess]]></category>
		<category><![CDATA[wordpress教程]]></category>

		<guid isPermaLink="false">http://www.3code.cn/wordpress%e7%94%a8404%e9%a1%b5%e9%9d%a2%e9%87%8d%e5%86%99url/</guid>
		<description><![CDATA[&#60;?php $default = 'index.php'; $thisfile = 'your 404 page'; $_SERVER['ORIG_PATH_TRANSLATED'] = str_replace($thisfile, $default, $_SERVER['ORIG_PATH_TRANSLATED']); $_SERVER['SCRIPT_FILENAME'] = str_replace($thisfile, $default, $_SERVER['SCRIPT_FILENAME']); $_SERVER['SCRIPT_NAME'] = str_replace($thisfile, $default, $_SERVER['SCRIPT_NAME']); $_SERVER['PHP_SELF'] = str_replace($thisfile, $default, $_SERVER['PHP_SELF']); $_SERVER['PATH_INFO'] = false; $qs =&#38; $_SERVER['QUERY_STRING']; $ru =&#38; $_SERVER['REQUEST_URI']; $pos = strrpos($qs, '://'); $pos = strpos($qs, '/', $pos + 4); $_SERVER['URL'] = $ru = substr($qs, $pos); [...]]]></description>
			<content:encoded><![CDATA[<p>&lt;?php    <br />$default = 'index.php';     <br />$thisfile = 'your 404 page';     <br />$_SERVER['ORIG_PATH_TRANSLATED'] = str_replace($thisfile, $default, $_SERVER['ORIG_PATH_TRANSLATED']);     <br />$_SERVER['SCRIPT_FILENAME'] = str_replace($thisfile, $default, $_SERVER['SCRIPT_FILENAME']);     <br />$_SERVER['SCRIPT_NAME'] = str_replace($thisfile, $default, $_SERVER['SCRIPT_NAME']);     <br />$_SERVER['PHP_SELF'] = str_replace($thisfile, $default, $_SERVER['PHP_SELF']);     <br />$_SERVER['PATH_INFO'] = false;     <br />$qs =&amp; $_SERVER['QUERY_STRING'];     <br />$ru =&amp; $_SERVER['REQUEST_URI'];     <br />$pos = strrpos($qs, '://');     <br />$pos = strpos($qs, '/', $pos + 4);     <br />$_SERVER['URL'] = $ru = substr($qs, $pos);     <br />$qs = trim(stristr($ru, '?'), '?');     <br />// Required for WordPress 2.8+     <br />$_SERVER['HTTP_X_ORIGINAL_URL'] = $ru;     <br />// Fix GET vars     <br />foreach ( $_GET as $var =&gt; $val ) {     <br />if ( substr($var, 0, 3) == '404') {     <br />&#160;&#160;&#160; if ( strstr($var, '?') ) {     <br />&#160;&#160;&#160; $newvar = substr($var, strpos($var, '?') + 1);     <br />&#160;&#160;&#160; $_GET[$newvar] = $val;     <br />&#160;&#160;&#160; }     <br />unset($_GET[$var]);     <br />}     <br />break;     <br />include('$default');     <br />?&gt;</p>
<p>&#160;</p>
<p>Windows下面把上面的代码保存为404.php并指定。设置好固定链接即可。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.3code.cn/wordpress%e7%94%a8404%e9%a1%b5%e9%9d%a2%e9%87%8d%e5%86%99url/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>旅游类WordPress企业主题</title>
		<link>http://www.3code.cn/wordpress%e6%97%85%e6%b8%b8%e7%b1%bb%e4%bc%81%e4%b8%9a%e4%b8%bb%e9%a2%98/</link>
		<comments>http://www.3code.cn/wordpress%e6%97%85%e6%b8%b8%e7%b1%bb%e4%bc%81%e4%b8%9a%e4%b8%bb%e9%a2%98/#comments</comments>
		<pubDate>Tue, 20 Dec 2011 14:27:47 +0000</pubDate>
		<dc:creator>寒林</dc:creator>
				<category><![CDATA[主题定制案例]]></category>
		<category><![CDATA[wordpress 企业主题]]></category>
		<category><![CDATA[wordpress中文主题]]></category>
		<category><![CDATA[wordpress中文企业主题]]></category>
		<category><![CDATA[wordpress企业主题]]></category>
		<category><![CDATA[WordPress企业模板]]></category>
		<category><![CDATA[wordpress企业网站]]></category>
		<category><![CDATA[WordPress旅游类企业主题]]></category>

		<guid isPermaLink="false">http://www.3code.cn/?p=2990</guid>
		<description><![CDATA[X WordPress旅游类企业主题X WordPress企业主题X wordpress企业主题X wordpress中文主题X wordpress企业网站X WordPress企业模板X wordpress 企业主题X wordpress中文企业主题]]></description>
			<content:encoded><![CDATA[<p><a title="Wordpress旅游类企业主题" href="http://www.xclimber.com/shop/" target="_blank"><strong>&gt;&gt;浏览网站</strong></a><img class="alignnone size-full wp-image-2993" title="wordpress企业主题" src="http://www.3code.cn/download/2011/12/wordpress-lvyou1.jpg" alt="" width="0" height="0" /></p>
<p><img class="alignnone size-full wp-image-2991" title="WordPress旅游类企业主题" src="http://www.3code.cn/download/2011/12/wordpress-lvyou.jpg" alt="WordPress旅游类企业主题" width="680" height="1276" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.3code.cn/wordpress%e6%97%85%e6%b8%b8%e7%b1%bb%e4%bc%81%e4%b8%9a%e4%b8%bb%e9%a2%98/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shenzhen Web Design, China Web Design</title>
		<link>http://www.3code.cn/shenzhen-web-design-china-web-design/</link>
		<comments>http://www.3code.cn/shenzhen-web-design-china-web-design/#comments</comments>
		<pubDate>Fri, 16 Dec 2011 16:28:27 +0000</pubDate>
		<dc:creator>寒林</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[China web design]]></category>
		<category><![CDATA[PSD 2 WordPress]]></category>
		<category><![CDATA[Shenzhen web design]]></category>
		<category><![CDATA[Shenzhen wordpress]]></category>

		<guid isPermaLink="false">http://www.3code.cn/?p=2988</guid>
		<description><![CDATA[a Shenzhen web design and development Designer, Shenzhen Web Design, China Web Design. WordPress Theme Design and develope business website with WordPress]]></description>
			<content:encoded><![CDATA[<p><strong>a Shenzhen web design and development Designer</strong></p>
<p><strong>Service:</strong></p>
<p>1. Web page design</p>
<p>2. PSD 2 Html</p>
<p>3. PSD 2 WordPress</p>
<p>4. WordPress Theme Design and develope business website with WordPress</p>
<p>5. PHP and ASP web develope</p>
<p>6. Domain Register,  Web Space (Host), Email System Services.</p>
<p><strong>Please visit <a title="Shenzhen Web Design, China Web Design" href="http://www.3code.cn/en">www.3code.cn/en</a> to find our projects!</strong></p>
<p><strong>If you would find a web designer in Shenzhen China, please contact me!</strong></p>
<p>Email: gbcxm@163.com<br />
MSN: gbcxxm@hotmail.com<br />
Skype: gbc0815</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.3code.cn/shenzhen-web-design-china-web-design/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 3.3正式版发布!</title>
		<link>http://www.3code.cn/wordpress-3-3%e6%ad%a3%e5%bc%8f%e7%89%88%e5%8f%91%e5%b8%83/</link>
		<comments>http://www.3code.cn/wordpress-3-3%e6%ad%a3%e5%bc%8f%e7%89%88%e5%8f%91%e5%b8%83/#comments</comments>
		<pubDate>Fri, 16 Dec 2011 16:05:20 +0000</pubDate>
		<dc:creator>寒林</dc:creator>
				<category><![CDATA[wordpress新闻]]></category>
		<category><![CDATA[wordpress3.3]]></category>

		<guid isPermaLink="false">http://www.3code.cn/?p=2986</guid>
		<description><![CDATA[最新最棒的 WordPress 版本 —— 3.3 版本现已推出！本版本代号“Sonny”，献给伟大的爵士萨克斯手 Sonny Stitt 先生。您现在就可以在控制板升级啦！哦对了，差点忘了告诉您，从这个版本开始，中文版本将更强大的控制板（dashboard）改称为“仪表盘”了。]]></description>
			<content:encoded><![CDATA[<h3>WordPress 3.3正式版发布!</h3>
<p>最新最棒的 WordPress 版本 —— 3.3 版本现已推出！本版本代号“Sonny”，献给伟大的爵士萨克斯手 Sonny Stitt  先生。您现在就可以在控制板升级啦！哦对了，差点忘了告诉您，从这个版本开始，中文版本将更强大的控制板（dashboard）改称为“仪表盘”了。</p>
<p>自 3.0 版本以来，WordPress 已经有了<ins datetime="2011-12-13T15:47:27+00:00">六千五百余万</ins>次下载了。作为第三次对 3 系列的修订，本版本主要显著提升了您的使用体验：导航菜单、上传机制，以及导入以往备份等等。</p>
<h3>面向用户</h3>
<p>有经验的用户一定会喜欢全新的“拖放上传工具”、鼠标悬浮式导航菜单、一体化工具栏、增强的合作编辑体验、以及 Tumblr  导入工具。我们也关注新用户的体验。3.3 版本新增了“气泡提示”功能，在每次更新后，在功能上大幅度的改动会主动弹出提醒用户。同时，使用 3.3  版本新安装 WordPress 的用户会看到一个非常友好的消息框，提示如何开始使用  WordPress。每个页面上的“帮助”选项卡也有显著改进，实用性得到极大提升。站点的“仪表盘”也更加兼容 iPad 和其它平板电脑了。</p>
<p>中文版本方面本次新加入了中文字数统计功能，在您写文章时会自动统计中文字数和英文词数之和。</p>
<h3>面向开发者</h3>
<p>开发者应该会喜欢新的<a title="文档页面" href="http://codex.wordpress.org/Function_Reference/wp_editor" target="_blank">编辑器 API</a>、最新的 jQuery 版本、更易用的帮助钩子，和更高的固定的链接性能。更多改进，请参见 <a href="http://codex.wordpress.org/Version_3.3">Codex 文档</a>（英文，正在翻译）和 <a href="http://core.trac.wordpress.org/milestone/3.3">Trac</a>（英文）。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.3code.cn/wordpress-3-3%e6%ad%a3%e5%bc%8f%e7%89%88%e5%8f%91%e5%b8%83/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

