How to use global navigation across site
<p>I'm creating a new site and I want to make it as easy as possible to update in the future. Part of this includes the links.</p>

<p>Currently, I have the global navigation included in my <code>header.php</code> file. I want to be able to access the links in one global location (<code>headers.php</code>). The goal is to use a variable within page content to display the current link location. i.e. <code>$news</code>, <code>$pressReleases</code> etc.</p>

<p>This will help me when it's time to update and modify links.</p>

<p>I'm thinking of using some type of include file that will get loaded in the <code>headers.php</code> file, something like a config file for navigation. i.e.</p>

<pre><code>&lt;?php
$events = "&lt;li&gt;&lt;a href="/media.php"&gt;Media &amp; Events&lt;/a&gt;";
$locations = &lt;li&gt;&lt;a href="/locations.php"&gt;locations&lt;/a&gt;
?&gt;
</code></pre>

<p>Is there a better way to do this? I'm not interested in using frameworks or a CMS for this project.</p>

<p>thanks!</p>
