<?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>ajaxtime.com &#187; WordPress template</title>
	<atom:link href="http://www.ajaxtime.com/tag/wordpress-template/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ajaxtime.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Tue, 13 Apr 2010 14:41:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Basic WordPress template file</title>
		<link>http://www.ajaxtime.com/basic-wordpress-template-file.html</link>
		<comments>http://www.ajaxtime.com/basic-wordpress-template-file.html#comments</comments>
		<pubDate>Mon, 20 Apr 2009 06:24:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[functions]]></category>
		<category><![CDATA[WordPress template]]></category>
		<category><![CDATA[wordpress Themes]]></category>

		<guid isPermaLink="false">http://www.ajaxtime.com/?p=168</guid>
		<description><![CDATA[Basic WordPress template file and used functions . To understand the structure of wordpress .]]></description>
			<content:encoded><![CDATA[<p>
Basic WordPress template file<br />
A complete set of WordPress templates should be at least the following documents:</p>
<p>style.css: CSS (style sheet) file<br />
index.php: Home Templates<br />
archive.php: Archive / Category Templates<br />
404.php: Not Found error page template<br />
comments.php: Message / Reply Template<br />
footer.php: Footer Template<br />
header.php: Header templates<br />
sidebar.php: Sidebar template<br />
page.php: content pages (Page) templates<br />
single.php: page content (Post) template<br />
searchform.php: template search form<br />
search.php: search results template<br />
Of course, specific to a particular section of a template, might have been more than these documents, but generally speaking, these documents are necessary for each template.</p>
<p>Tag to determine the basic conditions for<br />
is_home (): whether to Home<br />
is_single (): whether the content pages (Post)<br />
is_page (): whether the content pages (Page)<br />
is_category (): whether the Category / Archive Page<br />
is_tag (): whether or not to Tag Archive pages<br />
is_date (): whether the archive page for the specified date<br />
is_year (): whether the archive page for the specified year<br />
is_month (): whether or not to designate the month archive page<br />
is_day (): whether or not for a specific day archive page<br />
is_time (): whether the archive page for a specified period of time<br />
is_archive (): whether or not to archive page<br />
is_search (): whether the search results page<br />
is_404 (): whether the &#8220;HTTP 404: Not Found&#8221; error page<br />
is_paged (): Home / Category / Archive Page is a multi-page display<br />
Header part of the PHP function used to<br />
<? php bloginfo ( 'name');?>: blog name (Title)<br />
<? php bloginfo ( 'stylesheet_url');?>: CSS file path<br />
<? php bloginfo ( 'pingback_url');?>: PingBack Url<br />
<? php bloginfo ( 'template_url');?>: template file path<br />
<? php bloginfo ( 'version');?>: WordPress version<br />
<? php bloginfo ( 'atom_url');?>: Atom Url<br />
<? php bloginfo ( 'rss2_url');?>: RSS 2.o Url<br />
<? php bloginfo ( 'url');?>: blog Url<br />
<? php bloginfo ( 'html_type');?>: the type of blog page Html<br />
<? php bloginfo ( 'charset');?>: blog page coding<br />
<? php bloginfo ( 'description');?>: blog description<br />
<? php wp_title ();?>: page-specific content (Post / Page) of the title<br />
PHP template commonly used functions and commands<br />
<? php get_header ();?>: Call Header Template<br />
<? php get_sidebar ();?>: call Sidebar template<br />
<? php get_footer ();?>: call Footer Template<br />
<? php the_content ();?>: display the contents of (Post / Page)<br />
<? php if (have_posts ()):?>: check the existence of Post / Page<br />
<? php while (have_posts ()): the_post ();?>: If there Post / Page will be displayed<br />
<? php endwhile;?>: While the end of<br />
<? php endif;?>: If the end of<br />
<? php the_time ( 'string')?>: show time, time format from &#8220;string&#8221; parameter determines the specific reference to PHP Manual<br />
<? php comments_popup_link ();?>: the body of the message link. If you use comments_popup_script (), the message will open in a new window, on the contrary, in the current window<br />
<? php the_title ();?>: page content (Post / Page) title<br />
<? php the_permalink ()?>: page content (Post / Page) Url<br />
<? php the_category ( ',')?>: page-specific content (Post / Page) owned Category<br />
<? php the_author ();?>: author<br />
<? php the_ID ();?>: page-specific content (Post / Page) ID<br />
<? php edit_post_link ();?>: If the user has to log in and have permission to show the Edit link<br />
<? php get_links_list ();?>: display the link in the Blogroll<br />
<? php comments_template ();?>: Call Message / Reply Template<br />
<? php wp_list_pages ();?>: Showing Page List<br />
<? php wp_list_categories ();?>: display the list of Categories<br />
<? php next_post_link ( '% link');?>: under an article link<br />
<? php previous_post_link ( '% link');?>: on an article link<br />
<? php get_calendar ();?>: Calendar<br />
<? php wp_get_archives ()?>: display the contents of archive<br />
<? php posts_nav_link ();?>: navigation, display a / under the link to an article<br />
<? php include (TEMPLATEPATH. '/ file name');?>: embedded in other documents, for customizable templates, or other type of document<br />
Template associated with the other function<br />
<? php _e ( 'Message');?>: output the corresponding information<br />
<? php wp_register ();?>: display the registration link<br />
<? php wp_loginout ();?>: show the logon / logoff link<br />
<!-Next page->: the content of the current page<br />
<!-More->: the content of the current cut-off in order to not be home / directory page displays the entire contents of<br />
<? php timer_stop (1);?>: page load time (seconds)<br />
<? php echo get_num_queries ();?>: page load queries</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ajaxtime.com/basic-wordpress-template-file.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
