<?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>DFdou&#039;s Blog &#187; Template</title>
	<atom:link href="http://nwhy.org/tag/template/feed" rel="self" type="application/rss+xml" />
	<link>http://nwhy.org</link>
	<description>Life is short,Be yourself.</description>
	<lastBuildDate>Wed, 25 Aug 2010 05:26:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>WordPress模板标签Template_Tags</title>
		<link>http://nwhy.org/wordpress-template-tags.html</link>
		<comments>http://nwhy.org/wordpress-template-tags.html#comments</comments>
		<pubDate>Fri, 06 Feb 2009 04:48:35 +0000</pubDate>
		<dc:creator>DFdou</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Tag]]></category>
		<category><![CDATA[Template]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://nwhy.org/?p=3662</guid>
		<description><![CDATA[做Theme时需要用到的好东东。 官方介绍地址：http://codex.wordpress.org/Template_Tags Copy一份到这里： Author tags the_author the_author_description the_author_login the_author_firstname the_author_lastname the_author_nickname the_au... ]]></description>
			<content:encoded><![CDATA[<p>做Theme时需要用到的好东东。<br />
官方介绍地址：<a  href="http://codex.wordpress.org/Template_Tags">http://codex.wordpress.org/Template_Tags</a><br />
Copy一份到这里：</p>
<table cellspacing="10" width="100%">
<tr valign="top">
<td width="50%">
<table class="widefat">
<tr style="background:#464646; color:#d7d7d7;">
<th> <b>Author tags</b>
</th>
</tr>
<tr>
<td>
<ul>
<li> <a  href="http://codex.wordpress.org/Template_Tags/the_author" title="Template Tags/the author"> the_author</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/the_author_description" title="Template Tags/the author description"> the_author_description</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/the_author_login" title="Template Tags/the author login"> the_author_login</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/the_author_firstname" title="Template Tags/the author firstname"> the_author_firstname</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/the_author_lastname" title="Template Tags/the author lastname"> the_author_lastname</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/the_author_nickname" title="Template Tags/the author nickname"> the_author_nickname</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/the_author_ID" title="Template Tags/the author ID"> the_author_ID</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/the_author_email" title="Template Tags/the author email"> the_author_email</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/the_author_url" title="Template Tags/the author url"> the_author_url</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/the_author_link" title="Template Tags/the author link"> the_author_link</a> (Version 2.1)
</li>
<li> <s><a  href="http://codex.wordpress.org/Template_Tags/the_author_icq" title="Template Tags/the author icq"> the_author_icq</a></s> (Deprecated)
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/the_author_aim" title="Template Tags/the author aim"> the_author_aim</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/the_author_yim" title="Template Tags/the author yim"> the_author_yim</a>
</li>
<li> <s><a  href="http://codex.wordpress.org/Template_Tags/the_author_msn" title="Template Tags/the author msn"> the_author_msn</a></s> (Deprecated)
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/the_author_posts" title="Template Tags/the author posts"> the_author_posts</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/the_author_posts_link" title="Template Tags/the author posts link"> the_author_posts_link</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/the_modified_author" title="Template Tags/the modified author"> the_modified_author</a> (Version 2.8)
</li>
<li> <s><a  href="http://codex.wordpress.org/Template_Tags/list_authors" title="Template Tags/list authors"> list_authors</a></s> (Deprecated)
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/wp_list_authors" title="Template Tags/wp list authors"> wp_list_authors</a>
</li>
</ul>
</td>
</tr>
</table>
</td>
<td width="50%">
<table class="widefat">
<tr style="background:#464646; color:#d7d7d7;">
<th> <b>Category tags</b>
</th>
</tr>
<tr>
<td>
<ul>
<li> <a  href="http://codex.wordpress.org/Template_Tags/the_category" title="Template Tags/the category"> the_category</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/the_category_rss" title="Template Tags/the category rss"> the_category_rss</a>
</li>
<li> <s><a  href="http://codex.wordpress.org/Template_Tags/the_category_ID" title="Template Tags/the category ID"> the_category_ID</a></s> (Deprecated)
</li>
<li> <s><a  href="http://codex.wordpress.org/Template_Tags/the_category_head" title="Template Tags/the category head"> the_category_head</a></s> (Deprecated)
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/single_cat_title" title="Template Tags/single cat title"> single_cat_title</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/category_nicename" title="Template Tags/category nicename"> category_nicename</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/category_description" title="Template Tags/category description"> category_description</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/wp_dropdown_categories" title="Template Tags/wp dropdown categories"> wp_dropdown_categories</a> (Version 2.1)
</li>
<li> <s><a  href="http://codex.wordpress.org/Template_Tags/dropdown_cats" title="Template Tags/dropdown cats"> dropdown_cats</a></s> (Deprecated in 2.1)
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/wp_list_categories" title="Template Tags/wp list categories"> wp_list_categories</a> (Version 2.1)
</li>
<li> <s><a  href="http://codex.wordpress.org/Template_Tags/list_cats" title="Template Tags/list cats"> list_cats</a></s> (Deprecated in 2.1)
</li>
<li> <s><a  href="http://codex.wordpress.org/Template_Tags/wp_list_cats" title="Template Tags/wp list cats"> wp_list_cats</a></s> (Deprecated in 2.1)
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/in_category" title="Template Tags/in category"> in_category</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/get_category_parents" title="Template Tags/get category parents"> get_category_parents</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/get_the_category" title="Template Tags/get the category"> get_the_category</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/Function_Reference/get_category_link" title="Function Reference/get category link"> get_category_link</a>
</li>
</ul>
</td>
</tr>
</table>
</td>
</tr>
<tr valign="top">
<td width="50%">
<table class="widefat">
<tr style="background:#464646; color:#d7d7d7;">
<th> <b>Date and Time tags</b></p>
</th>
</tr>
<tr>
<td>
<ul>
<li> <a  href="http://codex.wordpress.org/Template_Tags/the_time" title="Template Tags/the time"> the_time</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/the_date" title="Template Tags/the date"> the_date</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/the_date_xml" title="Template Tags/the date xml"> the_date_xml</a>
</li>
<li> <s><a  href="http://codex.wordpress.org/Template_Tags/the_weekday" title="Template Tags/the weekday"> the_weekday</a></s> (Deprecated)
</li>
<li> <s><a  href="http://codex.wordpress.org/Template_Tags/the_weekday_date" title="Template Tags/the weekday date"> the_weekday_date</a></s> (Deprecated)
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/the_modified_time" title="Template Tags/the modified time"> the_modified_time</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/the_modified_date" title="Template Tags/the modified date"> the_modified_date</a> (Version 2.1)
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/single_month_title" title="Template Tags/single month title"> single_month_title</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/get_the_time" title="Template Tags/get the time"> get_the_time</a> (Version 1.5)
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/get_day_link" title="Template Tags/get day link"> get_day_link</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/get_month_link" title="Template Tags/get month link"> get_month_link</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/get_year_link" title="Template Tags/get year link"> get_year_link</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/get_calendar" title="Template Tags/get calendar"> get_calendar</a>
</li>
</ul>
</td>
</tr>
</table>
</td>
<td width="50%">
<table class="widefat">
<tr style="background:#464646; color:#d7d7d7;">
<th> <b>Tag tags</b>
</th>
</tr>
<tr>
<td>
<ul>
<li> <a  href="http://codex.wordpress.org/Template_Tags/the_tags" title="Template Tags/the tags"> the_tags</a> (Version 2.3)</p>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/get_the_tags" title="Template Tags/get the tags"> get_the_tags</a> (Version 2.3)
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/get_the_tag_list" title="Template Tags/get the tag list"> get_the_tag_list</a> (Version 2.3)
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/single_tag_title" title="Template Tags/single tag title"> single_tag_title</a> (Version 2.3)
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/Function_Reference/get_tag_link" title="Function Reference/get tag link"> get_tag_link</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/wp_tag_cloud" title="Template Tags/wp tag cloud"> wp_tag_cloud</a> (Version 2.3)
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/wp_generate_tag_cloud" title="Template Tags/wp generate tag cloud"> wp_generate_tag_cloud</a>
</li>
</ul>
</td>
</tr>
</table>
</td>
</tr>
<tr valign="top">
<td width="50%">
<table class="widefat">
<tr style="background:#464646; color:#d7d7d7;">
<th> <b>Post Link tags</b>
</th>
</tr>
<tr>
<td>
<ul>
<li> <a  href="http://codex.wordpress.org/Template_Tags/edit_post_link" title="Template Tags/edit post link"> edit_post_link</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/edit_comment_link" title="Template Tags/edit comment link"> edit_comment_link</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/wp_link_pages" title="Template Tags/wp link pages"> wp_link_pages</a>
</li>
<li> <s><a  href="http://codex.wordpress.org/Template_Tags/link_pages" title="Template Tags/link pages"> link_pages</a></s> (Deprecated in 2.1)
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/previous_posts_link" title="Template Tags/previous posts link"> previous_posts_link</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/next_posts_link" title="Template Tags/next posts link"> next_posts_link</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/previous_comments_link" title="Template Tags/previous comments link"> previous_comments_link</a> (Version 2.7)
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/next_comments_link" title="Template Tags/next comments link"> next_comments_link</a> (Version 2.7)
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/paginate_comments_links" title="Template Tags/paginate comments links"> paginate_comments_links</a> (Version 2.7)
</li>
</ul>
</td>
</tr>
</table>
</td>
<td width="50%">
<table class="widefat">
<tr style="background:#464646; color:#d7d7d7;">
<th> <b>Links Manager tags</b></p>
</th>
</tr>
<tr>
<td>
<ul>
<li> <a  href="http://codex.wordpress.org/Template_Tags/wp_list_bookmarks" title="Template Tags/wp list bookmarks"> wp_list_bookmarks</a> (Version 2.1)
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/get_bookmarks" title="Template Tags/get bookmarks"> get_bookmarks</a> (Version 2.1)
</li>
</ul>
</td>
</tr>
</table>
</td>
</tr>
<tr valign="top">
<td width="50%">
<table class="widefat">
<tr style="background:#464646; color:#d7d7d7;">
<th> <b>Post tags</b>
</th>
</tr>
<tr>
<td>
<p>While in <a  href="http://codex.wordpress.org/Template_Tags/The_Loop" title="The Loop">The Loop</a>, these values can be accessed through the <tt>$post</tt> object.
</p>
<ul>
<li> <a  href="http://codex.wordpress.org/Template_Tags/the_ID" title="Template Tags/the ID"> the_ID</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/the_title" title="Template Tags/the title"> the_title</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/the_title_attribute" title="Template Tags/the title attribute"> the_title_attribute</a> (Version 2.3)
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/single_post_title" title="Template Tags/single post title"> single_post_title</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/the_title_rss" title="Template Tags/the title rss"> the_title_rss</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/the_content" title="Template Tags/the content"> the_content</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/the_content_rss" title="Template Tags/the content rss"> the_content_rss</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/the_excerpt" title="Template Tags/the excerpt"> the_excerpt</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/the_excerpt_rss" title="Template Tags/the excerpt rss"> the_excerpt_rss</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/next_post_link" title="Template Tags/next post link"> next_post_link</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/previous_post_link" title="Template Tags/previous post link"> previous_post_link</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/next_posts_link" title="Template Tags/next posts link"> next_posts_link</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/previous_posts_link" title="Template Tags/previous posts link"> previous_posts_link</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/posts_nav_link" title="Template Tags/posts nav link"> posts_nav_link</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/sticky_class" title="Template Tags/sticky class"> sticky_class</a> (Version 2.7)
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/the_meta" title="Template Tags/the meta"> the_meta</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/the_tags" title="Template Tags/the tags"> the_tags</a> (Version 2.3)
</li>
</ul>
</td>
</tr>
</table>
</td>
<td width="50%">
<table class="widefat">
<tr style="background:#464646; color:#d7d7d7;">
<th> <b>Comment tags</b>
</th>
</tr>
<tr>
<td>
<ul>
<li> <a  href="http://codex.wordpress.org/Template_Tags/comments_number" title="Template Tags/comments number"> comments_number</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/comments_link" title="Template Tags/comments link"> comments_link</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/comments_rss_link" title="Template Tags/comments rss link"> comments_rss_link</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/comments_popup_script" title="Template Tags/comments popup script"> comments_popup_script</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/comments_popup_link" title="Template Tags/comments popup link"> comments_popup_link</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/comment_ID" title="Template Tags/comment ID"> comment_ID</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/comment_author" title="Template Tags/comment author"> comment_author</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/comment_author_IP" title="Template Tags/comment author IP"> comment_author_IP</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/comment_author_email" title="Template Tags/comment author email"> comment_author_email</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/comment_author_url" title="Template Tags/comment author url"> comment_author_url</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/comment_author_email_link" title="Template Tags/comment author email link"> comment_author_email_link</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/comment_author_url_link" title="Template Tags/comment author url link"> comment_author_url_link</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/comment_author_link" title="Template Tags/comment author link"> comment_author_link</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/comment_type" title="Template Tags/comment type"> comment_type</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/comment_text" title="Template Tags/comment text"> comment_text</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/comment_excerpt" title="Template Tags/comment excerpt"> comment_excerpt</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/comment_date" title="Template Tags/comment date"> comment_date</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/comment_time" title="Template Tags/comment time"> comment_time</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/comment_author_rss" title="Template Tags/comment author rss"> comment_author_rss</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/comment_text_rss" title="Template Tags/comment text rss"> comment_text_rss</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/comment_link_rss" title="Template Tags/comment link rss"> comment_link_rss</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/permalink_comments_rss" title="Template Tags/permalink comments rss"> permalink_comments_rss</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/wp_list_comments" title="Template Tags/wp list comments"> wp_list_comments</a> (Version 2.7)
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/comment_reply_link" title="Template Tags/comment reply link"> comment_reply_link</a> (Version 2.7)
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/cancel_comment_reply_link" title="Template Tags/cancel comment reply link"> cancel_comment_reply_link</a> (Version 2.7)
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/comment_form_title" title="Template Tags/comment form title"> comment_form_title</a> (Version 2.7)
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/comment_id_fields" title="Template Tags/comment id fields"> comment_id_fields</a> (Version 2.7)
</li>
</ul>
</td>
</tr>
</table>
</td>
</tr>
<tr valign="top">
<td width="50%">
<table class="widefat">
<tr style="background:#464646; color:#d7d7d7;">
<th> <b>Permalink tags</b>
</th>
</tr>
<tr>
<td>
<ul>
<li> <a  href="http://codex.wordpress.org/Template_Tags/permalink_anchor" title="Template Tags/permalink anchor"> permalink_anchor</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/get_permalink" title="Template Tags/get permalink"> get_permalink</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/the_permalink" title="Template Tags/the permalink"> the_permalink</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/permalink_single_rss" title="Template Tags/permalink single rss"> permalink_single_rss</a>
</li>
</ul>
</td>
</tr>
</table>
</td>
<td width="50%">
<table class="widefat">
<tr style="background:#464646; color:#d7d7d7;">
<th> <b>Trackback tags</b>
</th>
</tr>
<tr>
<td>
<ul>
<li> <a  href="http://codex.wordpress.org/Template_Tags/trackback_url" title="Template Tags/trackback url"> trackback_url</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/trackback_rdf" title="Template Tags/trackback rdf"> trackback_rdf</a>
</li>
</ul>
</td>
</tr>
</table>
</td>
</tr>
<tr valign="top">
<td width="50%">
<table class="widefat">
<tr style="background:#464646; color:#d7d7d7;">
<th> <b>General tags</b>
</th>
</tr>
<tr>
<td>
<ul>
<li> <a  href="http://codex.wordpress.org/Template_Tags/bloginfo" title="Template Tags/bloginfo"> bloginfo</a></p>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/bloginfo_rss" title="Template Tags/bloginfo rss"> bloginfo_rss</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/get_bloginfo" title="Template Tags/get bloginfo"> get_bloginfo</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/get_bloginfo_rss" title="Template Tags/get bloginfo rss"> get_bloginfo_rss</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/wp_title" title="Template Tags/wp title"> wp_title</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/wp_get_archives" title="Template Tags/wp get archives"> wp_get_archives</a>
</li>
<li> <s><a  href="http://codex.wordpress.org/Template_Tags/get_archives" title="Template Tags/get archives"> get_archives</a></s> (Deprecated in 2.1)
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/get_calendar" title="Template Tags/get calendar"> get_calendar</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/get_posts" title="Template Tags/get posts"> get_posts</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/wp_list_pages" title="Template Tags/wp list pages"> wp_list_pages</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/wp_page_menu" title="Template Tags/wp page menu"> wp_page_menu</a> (Version 2.7)
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/wp_dropdown_pages" title="Template Tags/wp dropdown pages"> wp_dropdown_pages</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/wp_loginout" title="Template Tags/wp loginout"> wp_loginout</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/wp_register" title="Template Tags/wp register"> wp_register</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/wp_logout_url" title="Template Tags/wp logout url"> wp_logout_url</a> (Version 2.7)
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/query_posts" title="Template Tags/query posts"> query_posts</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/rss_enclosure" title="Template Tags/rss enclosure"> rss_enclosure</a>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/the_search_query" title="Template Tags/the search query"> the_search_query</a>
</li>
</ul>
</td>
</tr>
</table>
</td>
<td width="50%">
<table class="widefat">
<tr style="background:#464646; color:#d7d7d7;">
<th> <b>Geo tags</b>
</th>
</tr>
<tr>
<td>
<p>Geo features were moved to a plugin implementation with WordPress 1.5. Tags in parentheses are the plugin version.
</p>
<ul>
<li> <a  href="http://codex.wordpress.org/Template_Tags/print_Lat" title="Template Tags/print Lat"> print_Lat</a> (the_Lat)</p>
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/print_Lon" title="Template Tags/print Lon"> print_Lon</a> (the_Lon)
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/print_UrlPopNav" title="Template Tags/print UrlPopNav"> print_UrlPopNav</a> (the_UrlPopNav)
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/print_AcmeMap_Url" title="Template Tags/print AcmeMap Url"> print_AcmeMap_Url</a> (the_AcmeMap_Url)
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/print_GeoURL_Url" title="Template Tags/print GeoURL Url"> print_GeoURL_Url</a> (the_GeoURL_Url)
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/print_GeoCache_Url" title="Template Tags/print GeoCache Url"> print_GeoCache_Url</a> (the_GeoCache_Url)
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/print_MapQuest_Url" title="Template Tags/print MapQuest Url"> print_MapQuest_Url</a> (the_MapQuest_Url)
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/print_SideBit_Url" title="Template Tags/print SideBit Url"> print_SideBit_Url</a> (the_SideBit_Url)
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/print_DegreeConfluence_Url" title="Template Tags/print DegreeConfluence Url"> print_DegreeConfluence_Url</a> (the_DegreeConfluence_Url)
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/print_TopoZone_Url" title="Template Tags/print TopoZone Url"> print_TopoZone_Url</a> (the_TopoZone_Url)
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/print_FindU_Url" title="Template Tags/print FindU Url"> print_FindU_Url</a> (the_FindU_Url)
</li>
<li> <a  href="http://codex.wordpress.org/Template_Tags/print_MapTech_Url" title="Template Tags/print MapTech Url"> print_MapTech_Url</a> (the_MapTech_Url)
</li>
</ul>
</td>
</tr>
</table>
</td>
</tr>
</table>
<h4  class="related_post_title">Some Related Posts</h4><ul class="related_post"><li>2009/01/19 -- <a  href="http://nwhy.org/wordpress-template-system.html" title="WordPress -Template System模板系统">WordPress -Template System模板系统</a> (0)</li><li>2009/11/17 -- <a  href="http://nwhy.org/wordpress-theme-appcloud.html" title="WordPress-AppCloud主题">WordPress-AppCloud主题</a> (0)</li><li>2009/06/29 -- <a  href="http://nwhy.org/wordpress-create-theme.html" title="WordPress-Theme的制作">WordPress-Theme的制作</a> (0)</li><li>2009/06/22 -- <a  href="http://nwhy.org/wordpress-themes-branfordmagazine.html" title="WordPress Themes-BranfordMagazine">WordPress Themes-BranfordMagazine</a> (0)</li><li>2009/05/21 -- <a  href="http://nwhy.org/wordpress-100-themes-for-2009.html" title="WordPress-100 Amazing Free Wordpress Themes for 2009">WordPress-100 Amazing Free Wordpress Themes for 2009</a> (1)</li><li>2009/02/05 -- <a  href="http://nwhy.org/wish-list.html" title="Wish List">Wish List</a> (1)</li><li>2009/02/04 -- <a  href="http://nwhy.org/appinn.html" title="WordPress Blogs-“小众软件”appinn.com">WordPress Blogs-“小众软件”appinn.com</a> (0)</li><li>2009/01/20 -- <a  href="http://nwhy.org/wordpress27-theme-changes.html" title="WordPress 2.7 Theme Changes">WordPress 2.7 Theme Changes</a> (1)</li><li>2008/10/29 -- <a  href="http://nwhy.org/wp-themes-cellarheat.html" title="WordPress Themes-Cellar Heat">WordPress Themes-Cellar Heat</a> (2)</li><li>2009/12/17 -- <a  href="http://nwhy.org/wordpress-gadgetizer-theme-released.html" title="WordPress &#8211; Gadgetizer Theme Released">WordPress &#8211; Gadgetizer Theme Released</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://nwhy.org/wordpress-template-tags.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>WordPress -Template System模板系统</title>
		<link>http://nwhy.org/wordpress-template-system.html</link>
		<comments>http://nwhy.org/wordpress-template-system.html#comments</comments>
		<pubDate>Mon, 19 Jan 2009 08:20:02 +0000</pubDate>
		<dc:creator>DFdou</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Template]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://nwhy.org/?p=3518</guid>
		<description><![CDATA[当我看到这张图的时候，着实讶异，原来WordPress的模板系统比想像中强大很多。 如此一来，WordPress就完全可以当成一个CMS系统，而不仅仅是一个Blog那么简单了。 从图上我们可以看出，最简单... ]]></description>
			<content:encoded><![CDATA[<p><img src="http://lh5.ggpht.com/_YE8sr7aRsWc/SXQzNw35qFI/AAAAAAAAAf4/wUC0a8Ad-Gc/wordpress-template.gif?imgmax=640" alt="wordpress-template" /><br />
当我看到这张图的时候，着实讶异，原来WordPress的模板系统比想像中强大很多。<br />
如此一来，WordPress就完全可以当成一个CMS系统，而不仅仅是一个Blog那么简单了。<br />
从图上我们可以看出，最简单的WordPress皮肤，只要一个index.php就可以了。<br />
当然，我们最关心的应该是single，page跟category。<br />
先来讲category的部分，看图中，假设我们有个分类是?cat=5，那么该页面的模板寻找顺序是category-5.php>>category.php>>index.php。<br />
相对category来说，page的定制比较麻烦，而且图示也不够清楚，pagename.php文件是单独的，假设我们要建立一个页面模板叫nwhy.php，<br />
那么这个文件的开头应该是这样：</p>
<pre class="brush: php">
&lt; ?php /* Template Name: nwhy */ ?&gt;
</pre>
<p>下边才是模板的内容。<br />
那么这个模板是怎么用的呢？后台，新建一个page，在右侧属性里的Template选择框里你将会看到nwhy，是不是很简单？<br />
而单独的日志页，也就是single.php，挺遗憾的，没有单独定制的办法，只能使用page模板。<br />
也就是说，当页面很多的时候，我们需要建立茫茫多的pagename.php……</p>
<h4  class="related_post_title">Some Related Posts</h4><ul class="related_post"><li>2009/02/06 -- <a  href="http://nwhy.org/wordpress-template-tags.html" title="WordPress模板标签Template_Tags">WordPress模板标签Template_Tags</a> (3)</li><li>2009/11/17 -- <a  href="http://nwhy.org/wordpress-theme-appcloud.html" title="WordPress-AppCloud主题">WordPress-AppCloud主题</a> (0)</li><li>2009/06/29 -- <a  href="http://nwhy.org/wordpress-create-theme.html" title="WordPress-Theme的制作">WordPress-Theme的制作</a> (0)</li><li>2009/06/22 -- <a  href="http://nwhy.org/wordpress-themes-branfordmagazine.html" title="WordPress Themes-BranfordMagazine">WordPress Themes-BranfordMagazine</a> (0)</li><li>2009/05/21 -- <a  href="http://nwhy.org/wordpress-100-themes-for-2009.html" title="WordPress-100 Amazing Free Wordpress Themes for 2009">WordPress-100 Amazing Free Wordpress Themes for 2009</a> (1)</li><li>2009/02/05 -- <a  href="http://nwhy.org/wish-list.html" title="Wish List">Wish List</a> (1)</li><li>2009/02/04 -- <a  href="http://nwhy.org/appinn.html" title="WordPress Blogs-“小众软件”appinn.com">WordPress Blogs-“小众软件”appinn.com</a> (0)</li><li>2009/01/20 -- <a  href="http://nwhy.org/wordpress27-theme-changes.html" title="WordPress 2.7 Theme Changes">WordPress 2.7 Theme Changes</a> (1)</li><li>2008/10/29 -- <a  href="http://nwhy.org/wp-themes-cellarheat.html" title="WordPress Themes-Cellar Heat">WordPress Themes-Cellar Heat</a> (2)</li><li>2009/12/17 -- <a  href="http://nwhy.org/wordpress-gadgetizer-theme-released.html" title="WordPress &#8211; Gadgetizer Theme Released">WordPress &#8211; Gadgetizer Theme Released</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://nwhy.org/wordpress-template-system.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
