<?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>Atalaya Studio &#187; xpath expressions</title>
	<atom:link href="http://atalayastudio.com/info/xpath-expressions/feed" rel="self" type="application/rss+xml" />
	<link>http://atalayastudio.com</link>
	<description></description>
	<lastBuildDate>Mon, 08 Feb 2010 19:21:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to&#8230; Word Press, Themes and NAVT</title>
		<link>http://atalayastudio.com/archives/22</link>
		<comments>http://atalayastudio.com/archives/22#comments</comments>
		<pubDate>Sun, 30 Mar 2008 15:03:59 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[NAVT]]></category>
		<category><![CDATA[Themes]]></category>
		<category><![CDATA[Tips/Hints]]></category>
		<category><![CDATA[theme integration]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[xpath expressions]]></category>

		<guid isPermaLink="false">http://atalayastudio.com/?p=22</guid>
		<description><![CDATA[Introduction
This topic has been written about many times by many people but this article has a NAVT slant. The information presented here is not intended to teach the basics of the PHP programming language, programming logic or WordPress template construction. It is designed to provide sensible help to the do it your-selfer who would like [...]]]></description>
			<content:encoded><![CDATA[<h3>Introduction</h3>
<p>This topic has been written about many times by many people but this article has a <em>NAVT slant</em>. The information presented here is not intended to teach the basics of the PHP programming language, programming logic or WordPress template construction. It is designed to provide sensible help to the <em>do it your-selfer</em> who would like to use the NAVT Plugin for WordPress and isn&#8217;t afraid to do a little template hacking to make it happen. <em>However there are at least three different ways you can integrate the NAVT plugin into your theme. <span style="text-decoration: underline;">Two of them don&#8217;t require programming</span>.</em><span id="more-22"></span></p>
<h3>The Theme Hack Method</h3>
<p>Template or theme hacking is the very thing I hope to prevent you from doing. Adding the necessary function call to your WordPress template for the NAVT plugin doesn&#8217;t take very long to do but you need to understand the following:</p>
<ul>
<li>Where the NAVT PHP interface call needs to be placed in your WordPress template,</li>
<li>How to correctly write the function call and,</li>
<li>How to style the resulting navigation list.</li>
</ul>
<h4>WordPress Theme Basics</h4>
<p>WordPress templates are not very mysterious if you understand some basic information. The content of your WordPress theme directory is composed of one large PHP script that is executed every time someone visits your blog. The theme script is divided into small files and each file name provides a clue to its intended use.</p>
<p>The typical WordPress theme usually contains (at a minimum) the following files:</p>
<ul>
<li>index.php</li>
<li>header.php</li>
<li>sidebar.php</li>
<li>footer.php</li>
</ul>
<p>The <em>index.php</em> file is the start of the PHP script and code execution begins with the very first line at the top of the index.php file and ends on the very last line. index.php is responsible for assembling all of the information that produces the pages of your WordPress blog. Page assembly (or production) is accomplished by making PHP function calls that are designed to create the HTML code that is, in turn, interpreted and displayed by the viewer&#8217;s web page browser. If you already know this, bear with me; it gets more interesting later.</p>
<p>There is a method to the madness of producing web pages by your WordPress theme. The method is simply the <em>loading and execution of known PHP files in a predetermined order</em>. The PHP files come from your theme&#8217;s directory. Specifically, the files named: <em>header.php, sidebar.php and footer.php</em>. If your theme is missing any one of these files, the file of the <em>same name will be used from the default theme directory in your WordPress installation.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://atalayastudio.com/archives/22/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
