<?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://www.zhanggy.com/tag/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://www.zhanggy.com</link>
	<description></description>
	<lastBuildDate>Fri, 27 Jan 2012 06:13:57 +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 模版基础</title>
		<link>http://www.zhanggy.com/blog/wordpress-%e6%a8%a1%e7%89%88%e5%9f%ba%e7%a1%80</link>
		<comments>http://www.zhanggy.com/blog/wordpress-%e6%a8%a1%e7%89%88%e5%9f%ba%e7%a1%80#comments</comments>
		<pubDate>Fri, 29 Apr 2011 06:30:38 +0000</pubDate>
		<dc:creator>zhanggy</dc:creator>
				<category><![CDATA[Web building]]></category>
		<category><![CDATA[Themes]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.zhanggy.com/?p=707</guid>
		<description><![CDATA[WordPress基本模板文件 style.css : CSS(样式表)文件 index.php : 主页模板 archive.php : Archive/Category模板 404.php : Not Found 错误页模板 comments.php : 留言/回复模板 footer.php : Footer模板 header.php : Header模板 sidebar.php : 侧栏模板 page.php : 内容页(Page)模板 single.php : 内容页(Post)模板 searchform.php : 搜索表单模板 search.php : 搜索结果模板 上面所有文件组成一套完整的WordPress模板，当然，具体到特定的某款模板，可能不止这些文件，但一般而言，这些文件是每套模板所必备的。 基本条件判断函数 is_home() : 是否为主页 is_single() : 是否为内容页(Post) is_page() : 是否为内容页(Page) is_category() : 是否为Category/Archive页 is_tag() : [...]]]></description>
		<wfw:commentRss>http://www.zhanggy.com/blog/wordpress-%e6%a8%a1%e7%89%88%e5%9f%ba%e7%a1%80/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wordpress wp_get_archives函数详解</title>
		<link>http://www.zhanggy.com/blog/wordpress-wp_get_archives%e5%87%bd%e6%95%b0%e8%af%a6%e8%a7%a3</link>
		<comments>http://www.zhanggy.com/blog/wordpress-wp_get_archives%e5%87%bd%e6%95%b0%e8%af%a6%e8%a7%a3#comments</comments>
		<pubDate>Thu, 14 Apr 2011 10:44:19 +0000</pubDate>
		<dc:creator>zhanggy</dc:creator>
				<category><![CDATA[Web building]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.zhanggy.com/?p=663</guid>
		<description><![CDATA[该标签显示一个基于日期的存档列表。参数变量以查询字符串形式传递给该标签。wp_get_archives()可用在模板中的任何位置。 &#60;?php wp_get_archives(‘type=monthly&#38;format=html&#38;show_post_count=true’); ?&#62; 意思是按月归档,以HTML列表形式,显示文章数量. 默认设置: &#60;?php $args = array( &#160;&#160; &#160;’type’&#160; =&#62; ’monthly’, &#160;&#160; &#160;’limit’ =&#62; , &#160;&#160; &#160;‘format’ =&#62; ‘html’, &#160;&#160; &#160;‘before’ =&#62; , &#160;&#160; &#160;’after’ =&#62; , &#160;&#160; &#160;’show_post_count’ =&#62; false, &#160;&#160; &#160;‘echo’ =&#62; 1 ); ?&#62; 默认情况下的显示状态： 按月显示存档链接 显示所有存档文章（没有数量限制） 以li HTML列表形式显示存档 存档链接前后不显示任何内容 不显示存档下的文章总数 参数详细说明: type （字符串）将要显示的存档列表的类型。默认遵循WordPress的设置。有效值包括： yearly monthly ——默认值 daily weekly [...]]]></description>
		<wfw:commentRss>http://www.zhanggy.com/blog/wordpress-wp_get_archives%e5%87%bd%e6%95%b0%e8%af%a6%e8%a7%a3/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WP中显示文章摘要the_content()</title>
		<link>http://www.zhanggy.com/blog/wp%e4%b8%ad%e6%98%be%e7%a4%ba%e6%96%87%e7%ab%a0%e6%91%98%e8%a6%81the_content</link>
		<comments>http://www.zhanggy.com/blog/wp%e4%b8%ad%e6%98%be%e7%a4%ba%e6%96%87%e7%ab%a0%e6%91%98%e8%a6%81the_content#comments</comments>
		<pubDate>Tue, 15 Feb 2011 12:57:49 +0000</pubDate>
		<dc:creator>zhanggy</dc:creator>
				<category><![CDATA[Web building]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[Themes]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.zhanggy.com/?p=560</guid>
		<description><![CDATA[WordPress中内置了显示发布文章摘要的功能，在主题中显示文章摘要会减少页面加载时间，提高访问量。WordPress中显示摘要的函数为： &#60;?php the_excerpt(); ?&#62; 该函数可以与条件标签共同使用，例如需要在存档页面（由is_archive()函数判断）或分类页面（由is_category() 函数判断）上用the_excerpt()代替the_content()标签。 &#60;?php if ( is_category() &#124;&#124; is_archive() ) { the_excerpt(); } else { the_content(); } ?&#62; 模板文件中一般包含所有这些文件index.php、archive.php或category.php文件。用编辑器打开，会找到 &#60;?php the_content(); ?&#62; 将其替换为 &#60;?php the_excerpt(); ?&#62; 然后就可以从WordPress管理面板文章编辑页面中“摘要”或“Excerpt”框写自定义的摘要了，缩写自定义摘要就将在主题中显示在所修改代码的位置。 如果没有添加自定义的摘要，WordPress 将会自动将文章前面的55个字放到摘要里显示。WordPress2.9以后的版本，可以修改摘要的字数限制，如果你需要修改字数限制，需要excerpt_length过滤器更改摘要的长度，只要打开 functions.php文件添加下面的代码: // Changing excerpt length function new_excerpt_length($length) { return 100; } add_filter('excerpt_length', 'new_excerpt_length'); 默认情况下，摘要之后（more字符串之后）的文章内容显示为“[...]”。可以用 excerpt_more过滤器删除摘要more字符串，WordPress2.9以后的版本，需要在主题的functions.php文件中添加以下代码： // Changing excerpt more function new_excerpt_more($more) { return [...]]]></description>
		<wfw:commentRss>http://www.zhanggy.com/blog/wp%e4%b8%ad%e6%98%be%e7%a4%ba%e6%96%87%e7%ab%a0%e6%91%98%e8%a6%81the_content/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>控制 WordPress 文章标题的长度</title>
		<link>http://www.zhanggy.com/blog/%e6%8e%a7%e5%88%b6-wordpress-%e6%96%87%e7%ab%a0%e6%a0%87%e9%a2%98%e7%9a%84%e9%95%bf%e5%ba%a6</link>
		<comments>http://www.zhanggy.com/blog/%e6%8e%a7%e5%88%b6-wordpress-%e6%96%87%e7%ab%a0%e6%a0%87%e9%a2%98%e7%9a%84%e9%95%bf%e5%ba%a6#comments</comments>
		<pubDate>Fri, 12 Mar 2010 12:19:11 +0000</pubDate>
		<dc:creator>zhanggy</dc:creator>
				<category><![CDATA[Web building]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.zhanggy.com/?p=381</guid>
		<description><![CDATA[在 WordPress 里，我们使用 &#60;?php the_title(); ?&#62; 来输出文章标题，与其相关的还有一个函数： &#60;?php get_the_title(); ?&#62; 简单的说说两者的关系，get_the_title() 返回值是一个字符串（文章标题），而 the_title() 就是该字符串通过 echo 输出后的值。 实际上就是 WordPress 自己在输出文章标题时进行了简化，直接用 &#60;?php the_title(); ?&#62; 代替了 &#60;?php echo get_the_title(); ?&#62; 除此之外这里还需要用到另外一个函数：mb_strimwidth(string str, int start, int width, [string trimmarker], [string encoding]); mb_strimwidth() truncates string str to specified width. It returns truncated string. If trimmarker is set, trimmarker is appended [...]]]></description>
		<wfw:commentRss>http://www.zhanggy.com/blog/%e6%8e%a7%e5%88%b6-wordpress-%e6%96%87%e7%ab%a0%e6%a0%87%e9%a2%98%e7%9a%84%e9%95%bf%e5%ba%a6/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>wordpress分类列表函数:wp_list_categories 参数详解</title>
		<link>http://www.zhanggy.com/blog/wordpress-wp_list_categories-%e5%8f%82%e6%95%b0%e8%af%a6%e8%a7%a3</link>
		<comments>http://www.zhanggy.com/blog/wordpress-wp_list_categories-%e5%8f%82%e6%95%b0%e8%af%a6%e8%a7%a3#comments</comments>
		<pubDate>Mon, 08 Mar 2010 04:22:37 +0000</pubDate>
		<dc:creator>zhanggy</dc:creator>
				<category><![CDATA[Web building]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.zhanggy.com/?p=374</guid>
		<description><![CDATA[在 WordPress 中，一般 wp_list_categories 来显示所有分类的链接列表，它有两种表示方法：list_cats()(deprecated) 和 wp_list_cats()(deprecated)，下面是使用方法： &#60;?php&#160; wp_list_categories(‘参数‘); ?&#62; 默认参数设置为： $defaults = array( ‘show_option_all‘ =&#62; ”,&#160; 无链接的分类 ‘orderby‘ =&#62; ‘name‘,&#160; 按照分类名排序 ‘order‘ =&#62; ‘ASC‘,&#160; 升序 ‘show_last_update‘ =&#62; 0,&#160; &#160;不显示分类中日志的最新时间戳 ‘style‘ =&#62; ‘list‘,&#160; 用列表显示分类 ‘show_count‘ =&#62; 0, 0, 不显示分类下的日志数 ‘hide_empty‘ =&#62; 1, Displays only Categories with posts ‘use_desc_for_title‘ =&#62; 1,&#160; 显示分类链接中 title 标签的分类描述 ‘child_of‘ =&#62; [...]]]></description>
		<wfw:commentRss>http://www.zhanggy.com/blog/wordpress-wp_list_categories-%e5%8f%82%e6%95%b0%e8%af%a6%e8%a7%a3/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 升级到2.5</title>
		<link>http://www.zhanggy.com/blog/wordpress-upgrade25</link>
		<comments>http://www.zhanggy.com/blog/wordpress-upgrade25#comments</comments>
		<pubDate>Thu, 03 Apr 2008 02:12:45 +0000</pubDate>
		<dc:creator>zhanggy</dc:creator>
				<category><![CDATA[Web building]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.zhanggy.com/?p=121</guid>
		<description><![CDATA[这段时间比较忙,今天上来发现wotdpress 2.5正式版已经出来了,具有很多新特性: * 全新的用户管理界面 * 更加简洁实用的后台管理菜单 * Widgets 管理的显著增强 * 区域化的后台首页显示 * 增强的可视化编辑器 * 非常实用的一键升级插件功能 * Flash 效果的上传文件管理 * 标签管理 连官方网站都改成了2.5的界面,抓紧时间升了级,升级后进入后台界面时提示错误： Fatal error: Call to undefined function wp_register_sidebar_widget() in wordpress.2.5/wp-admin/includes/dashboard.php on line 31 搜到这篇文章 原来是K2主体的问题,按照作者的方法做了,问题解决.具体方法为: 修改K2安装文件路径里面的apps/includes/widgets-removal.php文件. &#60;?php&#160; if(get_option('k2sidebarmanager') != 1) {&#160; &#160;&#160; &#160;remove_action('plugins_loaded', 'wp_maybe_load_widgets', 0);&#160; &#160;&#160; &#160;if( is_admin() ){ // If someone is trying to [...]]]></description>
		<wfw:commentRss>http://www.zhanggy.com/blog/wordpress-upgrade25/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 插件 Related Posts和Random Posts</title>
		<link>http://www.zhanggy.com/blog/wordpress-related-posts-and-random-posts</link>
		<comments>http://www.zhanggy.com/blog/wordpress-related-posts-and-random-posts#comments</comments>
		<pubDate>Sat, 19 Jan 2008 09:42:31 +0000</pubDate>
		<dc:creator>zhanggy</dc:creator>
				<category><![CDATA[Web building]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.zhanggy.com/blog/wordpress-related-posts-and-random-posts</guid>
		<description><![CDATA[Related Posts可以针对每篇日志显示相关日志，Random Posts可以显示随机日志。 这两个插件都对[tag]SEO[/tag]有很好的作用，推荐使用。可以分别在下面的地址下载这两个插件的最新版本，并有详细的安装方法： Related Posts这个貌似被GFW了，我使用tor代理上去下载的。激活插件后可以在后台配置页面配置相关选项，可以定义显示相关文章的数量，是否显示文章摘要。首次安装需要点击配置页面下端的链接，创建数据库表单。 Random Posts激活插件后可以在后台配置页面配置相关选项，可以定义显示随机文章的数量，可以选择是否匹配当前文章的分类、关键字等等。]]></description>
		<wfw:commentRss>http://www.zhanggy.com/blog/wordpress-related-posts-and-random-posts/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 插件 All in One SEO Pack</title>
		<link>http://www.zhanggy.com/blog/wordpress-plugin-all-in-one-seo-pack</link>
		<comments>http://www.zhanggy.com/blog/wordpress-plugin-all-in-one-seo-pack#comments</comments>
		<pubDate>Fri, 18 Jan 2008 08:37:58 +0000</pubDate>
		<dc:creator>zhanggy</dc:creator>
				<category><![CDATA[Web building]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.zhanggy.com/blog/wordpress-plugin-all-in-one-seo-pack</guid>
		<description><![CDATA[All in One [tag]SEO[/tag] Pack，从名字就可以看出来是[tag]wordpress[/tag]的一个seo[tag]插件[/tag]，用这个插件你就可以实现wordpress的SEO整体优化。 这个插件包含许多选项,不需要额外的title插件，meta插件，tag插件，也不需要DupPrevent Plugin插件，更不用担心因为更换插件所带来的麻烦。 1、下载All in One SEO Pack并解压，上传到plugin目录； 2、登录wordpress后台控制面板激活该插件； 3、在选项菜单里面找到all in one seo选项，把里面的空白内容填完，详细填写内容见下图：]]></description>
		<wfw:commentRss>http://www.zhanggy.com/blog/wordpress-plugin-all-in-one-seo-pack/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 2.3 可用的ELA和UTW</title>
		<link>http://www.zhanggy.com/blog/wordpress-2.3-ela-utw</link>
		<comments>http://www.zhanggy.com/blog/wordpress-2.3-ela-utw#comments</comments>
		<pubDate>Thu, 17 Jan 2008 09:42:20 +0000</pubDate>
		<dc:creator>zhanggy</dc:creator>
				<category><![CDATA[Web building]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.zhanggy.com/blog/wordpress-2.3-%e5%8f%af%e7%94%a8%e7%9a%84ela%e5%92%8cutw</guid>
		<description><![CDATA[WordPress升级到2.3之后,[tag]ELA[/tag](Extended Live Archive)和[tag]UTW[/tag](Ultimate Tag Warrior)都不兼容,还以为就这样就要放弃ELA和UTW了呢,等了一段时间,现在终于出来了兼容[tag]Wordpress[/tag] 2.3的ELA和UTW. 下载地址如下: ELA(Extended Live Archive) UTW(Ultimate Tag Warrior)]]></description>
		<wfw:commentRss>http://www.zhanggy.com/blog/wordpress-2.3-ela-utw/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>100个出色的WordPress Theme</title>
		<link>http://www.zhanggy.com/blog/100-excellent-free-wordpress-themes</link>
		<comments>http://www.zhanggy.com/blog/100-excellent-free-wordpress-themes#comments</comments>
		<pubDate>Wed, 16 Jan 2008 08:03:06 +0000</pubDate>
		<dc:creator>zhanggy</dc:creator>
				<category><![CDATA[Web building]]></category>
		<category><![CDATA[Themes]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.zhanggy.com/blog/100-excellent-free-wordpress-themes</guid>
		<description><![CDATA[原文：100 Excellent Free WordPress Themes 1. Vibrant WordPress Themes PFO Stripes [ Demo ] PFO Business [ Demo ] FFF Lemon Twist (Demo and Download) Several3 [ Demo ] Adreu r2 [ Demo ] Blogging Pro Theme [ Demo ] DM-Bloodless [ Demo] Illacrimo [ Demo ] Elixir Insense [ Demo ] Zeke 1.0 [ [...]]]></description>
		<wfw:commentRss>http://www.zhanggy.com/blog/100-excellent-free-wordpress-themes/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

