<?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>Dream Driven Designs &#187; Page</title>
	<atom:link href="http://www.dreamdrivendesigns.com/tag/page/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dreamdrivendesigns.com</link>
	<description>Professional Web Design &#38; Wordpress Support</description>
	<lastBuildDate>Sat, 04 Feb 2012 19:37:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>WordPress Template Files Heirachy &amp; Stucture</title>
		<link>http://www.dreamdrivendesigns.com/wordpress-tutorials/141/</link>
		<comments>http://www.dreamdrivendesigns.com/wordpress-tutorials/141/#comments</comments>
		<pubDate>Thu, 10 Dec 2009 18:55:57 +0000</pubDate>
		<dc:creator>Dwayne</dc:creator>
				<category><![CDATA[Wordpress Tutorials]]></category>
		<category><![CDATA[category heirachy]]></category>
		<category><![CDATA[footer template]]></category>
		<category><![CDATA[General Idea]]></category>
		<category><![CDATA[Page]]></category>
		<category><![CDATA[stepping into templates]]></category>
		<category><![CDATA[Template]]></category>
		<category><![CDATA[theme developers]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[Wordpress Heirachy]]></category>
		<category><![CDATA[Wordpresss Category]]></category>

		<guid isPermaLink="false">http://www.dreamdrivendesigns.com/?p=141</guid>
		<description><![CDATA[WordPress Template Files Heirachy &#38; Stucture Codex Codex tools: Log in / create account Template Hierarchy Languages: English • Français • 日本語 • Русский • (Add your language) Note: This article covers an advanced topic. See Stepping Into Templates for an introduction to WordPress templates. Contents [hide] * 1 Introduction o 1.1 What this article [...]]]></description>
			<content:encoded><![CDATA[<h1>WordPress Template Files Heirachy &amp; Stucture</h1>
<p>Codex</p>
<p>Codex tools: Log in / create account</p>
<p>Template Hierarchy</p>
<p>Languages: English • Français • 日本語 • Русский • (Add your language)</p>
<p>Note: This article covers an advanced topic. See Stepping Into<br />
 Templates for an introduction to WordPress templates.</p>
<p>Contents</p>
<p>[hide]</p>
<p>* 1 Introduction</p>
<p>o 1.1 What this article is about</p>
<p>o 1.2 Who might find this useful</p>
<p>o 1.3 Using Conditional Tags</p>
<p>* 2 The Template File Hierarchy</p>
<p>o 2.1 The General Idea</p>
<p>o 2.2 Examples</p>
<p>o 2.3 Visual Overview</p>
<p>o 2.4 The Template Hierarchy In Detail</p>
<p>+ 2.4.1 Home Page display</p>
<p>+ 2.4.2 Single Post display</p>
<p>+ 2.4.3 Page display</p>
<p>+ 2.4.4 Category display</p>
<p>+ 2.4.5 Tag display</p>
<p>+ 2.4.6 Author display</p>
<p>+ 2.4.7 Date display</p>
<p>+ 2.4.8 Search Result display</p>
<p>+ 2.4.9 404 (Not Found) display</p>
<p>+ 2.4.10 Attachment display</p>
<p>* 3 Changelog</p>
<p>* 4 Source File</p>
<p>* 5 See also</p>
<p>* 6 External Resources</p>
<p>Introduction</p>
<p>WordPress Templates fit together like the pieces of a puzzle to<br />
 generate the web pages on your WordPress site. Some templates (the<br />
 header and footer template files for example) are used on all the web<br />
 pages, while others are used only under specific conditions.</p>
<p>What this article is about</p>
<p>This article seeks to answer the following question:</p>
<p>Which template file(s) will WordPress use when it displays a<br />
 certain type of page?</p>
<p>Who might find this useful</p>
<p>Since the introduction of Themes in WordPress v1.5, Templates have<br />
 become more and more configurable. In order to develop WP themes, a<br />
 proper understanding of the way WordPress selects template files to<br />
 display the various pages on your blog is essential. If you seek to<br />
 customize an existing WordPress theme, this article aims to help you<br />
 decide which template file needs editing.</p>
<p>Using Conditional Tags</p>
<p>WordPress provides more than one way to match templates to query types.<br />
 WordPress Theme developers can also use Conditional Tags to control<br />
 which templates will be used to generate a certain page. Some WordPress<br />
 Themes may not implement all of the template files described here. Some<br />
 Themes use conditional tags to load other template files. See the<br />
 Conditional Tags page and &#8220;Query Based&#8221; in Theme Development for more.</p>
<p>The Template File Hierarchy</p>
<p>The General Idea</p>
<p>WordPress uses the Query String — information contained within each<br />
 link on your web site — to decide which template or set of templates<br />
 will be used to display the page.</p>
<p>First, WordPress matches every Query String to query types — i.e. it<br />
 decides what type of page (a search page, a category page, the home<br />
 page etc.) is being requested.</p>
<p>Templates are then chosen — and web page content is generated — in the<br />
 order suggested by the WordPress Template hierarchy, depending upon<br />
 what templates are available in a particular WordPress Theme.</p>
<p>WordPress looks for template files with specific names in the current<br />
 Theme&#8217;s directory and uses the first matching template file listed<br />
 under the appropriate query section below.</p>
<p>With the exception of the basic index.php template file, Theme<br />
 developers can choose whether they want to implement a particular<br />
 template file or not. If WordPress cannot find a template file with a<br />
 matching name, it skips down to the next file name in the hierarchy. If<br />
 WordPress cannot find any matching template file, index.php (the<br />
 Theme&#8217;s home page template file) will be used.</p>
<p>Examples</p>
<p>If your blog is at &lt;a class=&#8221;moz-txt-link-freetext&#8221;<br />
 href=&#8221;http://example.com/wp/&#8221;&gt;http://example.com/wp/ and a visitor<br />
 clicks on a<br />
 link to a category page like &lt;a class=&#8221;moz-txt-link-freetext&#8221;<br />
 href=&#8221;http://example.com/wp/category/your-cat/&#8221;&gt;http://example.com/wp/category/your-cat/,<br />
 WordPress looks for a template file in the current Theme&#8217;s directory<br />
 that matches the category&#8217;s ID. If the category&#8217;s ID is 4, WordPress<br />
 looks for a template file named category-4.php. If it is missing,<br />
 WordPress next looks for a generic category template file,<br />
 category.php. If this file does not exist either, WordPress looks for a<br />
 generic archive template, archive.php. If it is missing as well,<br />
 WordPress falls back on the main Theme template file, index.php.</p>
<p>If a visitor goes to your home page at &lt;a class=&#8221;moz-txt-link-freetext&#8221;<br />
 href=&#8221;http://example.com/wp/&#8221;&gt;http://example.com/wp/,<br />
 WordPress first determines whether it has a static front page. If a<br />
 static front page has been set, then WordPress loads that page<br />
 according to the page template hierarchy. If a static front page has<br />
 not been set, then WordPress looks for a template file called home.php<br />
 and uses it to generate the requested page. If home.php is missing,<br />
 WordPress looks for a file called index.php in the active theme&#8217;s<br />
 directory, and uses that template to generate the page.</p>
<p>Visual Overview</p>
<p>The following diagram shows which template files are called to generate<br />
 a WordPress page based on the WordPress Template hierarchy.</p>
<p>Graphic Example of the WordPress Template Hierarchy Structure Full-Size<br />
 Image (png)</p>
<p>The Template Hierarchy In Detail</p>
<p>The following sections describe the order in which template files are<br />
 being called by WordPress for each query type.</p>
<p>Home Page display</p>
<p>1. home.php</p>
<p>2. index.php</p>
<p>Single Post display</p>
<p>1. single.php</p>
<p>2. index.php</p>
<p>Page display</p>
<p>WordPress Pages:</p>
<p>1. custom template &#8211; Where custom template is the Page Template<br />
 assigned to the Page.</p>
<p>2. page-slug.php &#8211; If the page slug is recent-news, WordPress<br />
 will look to use page-recent-news.php Note: not available until Version<br />
 2.9.</p>
<p>3. page-id.php &#8211; If the page ID is 6, WordPress will look to use<br />
 page-6.php Note: not available until Version 2.9.</p>
<p>4. page.php</p>
<p>5. index.php</p>
<p>Category display</p>
<p>Category Templates:</p>
<p>1. category-slug.php &#8211; If the category&#8217;s slug were news,<br />
 WordPress would look for category-news.php Note: not available until<br />
 Version 2.9.</p>
<p>2. category-id.php &#8211; If the category&#8217;s ID were 6, WordPress<br />
 would look for category-6.php</p>
<p>3. category.php</p>
<p>4. archive.php</p>
<p>5. index.php</p>
<p>Tag display</p>
<p>Tag Templates:</p>
<p>1. tag-slug.php &#8211; If the tag&#8217;s slug were sometag, WordPress<br />
 would look for tag-sometag.php</p>
<p>2. tag-id.php &#8211; If the tag&#8217;s ID were 6, WordPress would look for<br />
 tag-6.php Note: not available until Version 2.9.</p>
<p>3. tag.php</p>
<p>4. archive.php</p>
<p>5. index.php</p>
<p>Author display</p>
<p>Author Templates:</p>
<p>1. author.php</p>
<p>2. archive.php</p>
<p>3. index.php</p>
<p>Date display</p>
<p>Archive (Date) Templates:</p>
<p>1. date.php</p>
<p>2. archive.php</p>
<p>3. index.php</p>
<p>Search Result display</p>
<p>Creating a Search Page:</p>
<p>1. search.php</p>
<p>2. index.php</p>
<p>404 (Not Found) display</p>
<p>Creating an Error 404 Page:</p>
<p>1. 404.php</p>
<p>2. index.php</p>
<p>Attachment display</p>
<p>Attachment Templates:</p>
<p>1. MIME_type.php &#8211; it can be any MIME type (image.php,<br />
 video.php, audio.php, application.php or any other).</p>
<p>2. attachment.php</p>
<p>3. single.php</p>
<p>4. index.php</p>
<pre>--
Dwayne Myers
(386)307-4289
<a class="moz-txt-link-freetext" href="http://www.DreamDrivenDesigns.com">Http://www.DreamDrivenDesigns.com</a>
</pre>
<p><br class="spacer_" /></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.dreamdrivendesigns.com%2Fwordpress-tutorials%2F141%2F&amp;title=WordPress%20Template%20Files%20Heirachy%20%26%23038%3B%20Stucture" id="wpa2a_2">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.dreamdrivendesigns.com/wordpress-tutorials/141/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to put a post on a page</title>
		<link>http://www.dreamdrivendesigns.com/common-website-problems/how-to-put-a-post-on-a-page/</link>
		<comments>http://www.dreamdrivendesigns.com/common-website-problems/how-to-put-a-post-on-a-page/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 03:54:58 +0000</pubDate>
		<dc:creator>Dwayne</dc:creator>
				<category><![CDATA[Common Website Problems]]></category>
		<category><![CDATA[Chau]]></category>
		<category><![CDATA[Dwayne]]></category>
		<category><![CDATA[Dwayne Myers]]></category>
		<category><![CDATA[gt options]]></category>
		<category><![CDATA[number]]></category>
		<category><![CDATA[ofcourse]]></category>
		<category><![CDATA[Page]]></category>
		<category><![CDATA[page id number]]></category>
		<category><![CDATA[phone session]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[post]]></category>

		<guid isPermaLink="false">http://www.dreamdrivendesigns.com/?p=119</guid>
		<description><![CDATA[&#62; chau wrote: &#62; &#62; Hi Dwayne, &#62; &#62; I&#8217;m just wondering if you can show me how to loop a post so it can &#62; &#62; appear on a PAGE that I wanted to be on. I know there&#8217;s a side bar &#62; &#62; options for widgets where you can place your latest post [...]]]></description>
			<content:encoded><![CDATA[<p>&gt; chau wrote: <br />
 &gt; &gt; Hi Dwayne, <br />
 &gt; &gt; I&#8217;m just wondering if you can show me how to loop a post so it can <br />
 &gt; &gt; appear on a PAGE that I wanted to be on. I know there&#8217;s a side bar <br />
 &gt; &gt; options for widgets where you can place your latest post but I only <br />
 &gt; &gt; wanted certain Page to have the post and not every page. Do you kind <br />
 &gt; &gt; of understand what I&#8217;m trying to do? Please help, Thanks Chau</p>
<p>Here you go,  I can walk you through the coding to get that post in post but I have a custom wordpress plugin I use sometimes to make things go faster.  I&#8217;ll  send to your email as we talked in the  phone session (btw thanks).</p>
<p>[[n]]</p>
<p>n &#8211; is the post id number or the page id number that you want to display, you can display a post within a post or  page within a page and so on, A good practice would be to create  bordered table and just add each post/etc you want in the section but that&#8217;s ofcourse depends on how you want to use the plugin, this would give that dynamic blog look. Let me know this helps. If you have any questions just give me a call or email. Thanks Dwayne</p>
<p>[[x]]<br />
 [[y]]<br />
 [[z]]</p>
<p>Dwayne Myers<br />
 DreamDrivenDesigns.com<br />
 386.307.4289</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.dreamdrivendesigns.com%2Fcommon-website-problems%2Fhow-to-put-a-post-on-a-page%2F&amp;title=How%20to%20put%20a%20post%20on%20a%20page" id="wpa2a_4">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.dreamdrivendesigns.com/common-website-problems/how-to-put-a-post-on-a-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to re-direct a page</title>
		<link>http://www.dreamdrivendesigns.com/wordpress-tutorials/how-to-re-direct-a-page/</link>
		<comments>http://www.dreamdrivendesigns.com/wordpress-tutorials/how-to-re-direct-a-page/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 01:36:31 +0000</pubDate>
		<dc:creator>Dwayne</dc:creator>
				<category><![CDATA[Wordpress Tutorials]]></category>
		<category><![CDATA[amp]]></category>
		<category><![CDATA[lt]]></category>
		<category><![CDATA[Page]]></category>
		<category><![CDATA[quot]]></category>
		<category><![CDATA[tmpPost]]></category>
		<category><![CDATA[URL]]></category>

		<guid isPermaLink="false">http://www.dreamdrivendesigns.com/?p=90</guid>
		<description><![CDATA[Bookmark this category Here&#8217;s the code: &#60;meta http-equiv=&#34;REFRESH&#34; content=&#8221;0;url=http://www.the-domain-you-want-to-redirect-to.com&#8221;&#62; Optional page text here. &#60;meta http-equiv=&#34;REFRESH&#34; content=&#8221;0;url=http://www.the-domain-you-want-to-redirect-to.com&#8221;&#62; is the part that actually does the redirecting. The number preceding the url (in this case zero) tells the browser the number of seconds to wait before redirecting to the new url.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.dreamdrivendesigns.com/category/my-posts/">Bookmark this category</a><br />
Here&#8217;s the code:</p>
<p>&lt;meta http-equiv=&quot;REFRESH&quot;<br />
content=&#8221;0;url=http://www.the-domain-you-want-to-redirect-to.com&#8221;&gt;</p>
<p>Optional page text here.</p>
<p>&lt;meta http-equiv=&quot;REFRESH&quot;<br />
content=&#8221;0;url=http://www.the-domain-you-want-to-redirect-to.com&#8221;&gt; is<br />
the part that actually does the redirecting.</p>
<p>The number preceding the url (in this case zero) tells the browser the<br />
number of seconds to wait before redirecting to the new url.</p>
<p></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.dreamdrivendesigns.com%2Fwordpress-tutorials%2Fhow-to-re-direct-a-page%2F&amp;title=How%20to%20re-direct%20a%20page" id="wpa2a_6">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.dreamdrivendesigns.com/wordpress-tutorials/how-to-re-direct-a-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Design Tutorial: Redirect using html</title>
		<link>http://www.dreamdrivendesigns.com/wordpress-tutorials/89/</link>
		<comments>http://www.dreamdrivendesigns.com/wordpress-tutorials/89/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 01:33:38 +0000</pubDate>
		<dc:creator>Dwayne</dc:creator>
				<category><![CDATA[Wordpress Tutorials]]></category>
		<category><![CDATA[amp]]></category>
		<category><![CDATA[lt]]></category>
		<category><![CDATA[meta]]></category>
		<category><![CDATA[Page]]></category>
		<category><![CDATA[quot]]></category>
		<category><![CDATA[REFRESH]]></category>
		<category><![CDATA[tmpPost]]></category>
		<category><![CDATA[URL]]></category>

		<guid isPermaLink="false">http://www.dreamdrivendesigns.com/?p=89</guid>
		<description><![CDATA[Bookmark this category Here&#8217;s the code: &#60;meta http-equiv=&#8221;REFRESH&#8221; content=&#8221;0;url=http://www.the-domain-you-want-to-redirect-to.com&#8221;&#62; Optional page text here. &#60;meta http-equiv=&#8221;REFRESH&#8221; content=&#8221;0;url=http://www.the-domain-you-want-to-redirect-to.com&#8221;&#62; is the part that actually does the redirecting. The number preceding the url (in this case zero) tells the browser the number of seconds to wait before redirecting to the new url.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.dreamdrivendesigns.com/category/my-posts/">Bookmark this category</a><br />
 Here&#8217;s the code:</p>
<p>&lt;meta http-equiv=&#8221;REFRESH&#8221;<br />
 content=&#8221;0;url=http://www.the-domain-you-want-to-redirect-to.com&#8221;&gt;</p>
<p>Optional page text here.</p>
<p>&lt;meta http-equiv=&#8221;REFRESH&#8221;<br />
 content=&#8221;0;url=http://www.the-domain-you-want-to-redirect-to.com&#8221;&gt; is<br />
 the part that actually does the redirecting.</p>
<p>The number preceding the url (in this case zero) tells the browser the<br />
 number of seconds to wait before redirecting to the new url.</p>
<p><br class="spacer_" /></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.dreamdrivendesigns.com%2Fwordpress-tutorials%2F89%2F&amp;title=Web%20Design%20Tutorial%3A%20Redirect%20using%20html" id="wpa2a_8">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.dreamdrivendesigns.com/wordpress-tutorials/89/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

