<?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>header &#8211; Thesis Docs</title>
	<atom:link href="https://diythemes.com/thesis/rtfm/tag/header/feed/" rel="self" type="application/rss+xml" />
	<link>https://diythemes.com/thesis/rtfm</link>
	<description>Documentation, How-tos, and Best Practices for the Thesis WordPress Theme System</description>
	<lastBuildDate>Sun, 27 Jan 2013 18:31:44 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.1</generator>
	<item>
		<title>Move or Replace Nav Menu</title>
		<link>https://diythemes.com/thesis/rtfm/move-replace-nav-menu/</link>
		
		<dc:creator><![CDATA[Shelley]]></dc:creator>
		<pubDate>Mon, 13 Apr 2009 23:44:05 +0000</pubDate>
				<category><![CDATA[Thesis 1 Documentation]]></category>
		<category><![CDATA[header]]></category>
		<guid isPermaLink="false">https://diythemes.com/answers/?p=83</guid>

					<description><![CDATA[<ul>
<li>Move Nav Menu to After Header</li>
<li>Replace Nav Menu</li>
<li>Remove Nav Menu on Specific Pages Only</li>
</ul>]]></description>
										<content:encoded><![CDATA[<h3 id="move">Move Nav Menu to After Header <a href="#move" title="Link to this section">∞</a></h3>
<p>Place this code in <code>custom_functions.php</code>:</p>
<pre class="php">
remove_action('thesis_hook_before_header', 'thesis_nav_menu');
add_action('thesis_hook_after_header', 'thesis_nav_menu');
</pre>
<h3 id="replace">Replace Nav Menu <a href="#replace" title="Link to this section">∞</a></h3>
<p>If you&#8217;ve written your own custom nav menu function, or you want to use a plugin such as the <a href="http://pixopoint.com/multi-level-navigation/" title="Multi-Level Navigation Plugin">Multi-Level Navigation Plugin</a>, you can remove the default menu and call in the new function instead.</p>
<p>Place this code in <code>custom_functions.php</code> (replacing <code>my_nav_menu</code> with the name of the new function you&#8217;ve created):</p>
<pre class="php">
remove_action('thesis_hook_before_header', 'thesis_nav_menu');
add_action('thesis_hook_after_header', '<strong>my_nav_menu</strong>');
</pre>
<p>Or, in the case of the Multi-Level Navigation Plugin, use its function name:</p>
<pre class="php">
remove_action('thesis_hook_before_header', 'thesis_nav_menu');
add_action('thesis_hook_after_header', '<strong>suckerfish</strong>');
</pre>
<h3 id="remove">Remove Nav Menu on Specific Pages Only <a href="#remove" title="Link to this section">∞</a></h3>
<p>Place this code in <code>custom_functions.php</code> (replace <code>6</code> with the desired page ID):</p>
<pre class="php">
function remove_nav() {
  if (is_page('6'))
    remove_action('thesis_hook_before_header', 'thesis_nav_menu');
}

add_action('thesis_hook_before_html','remove_nav');
</pre>
<p>To remove the nav menu from multiple pages, use this code instead (replace <code>2</code>, <code>7</code>, and <code>46</code> with the desired page IDs):</p>
<pre class="php">
function remove_nav() {
 if (is_page(array(2,7,46))) {
  remove_action('thesis_hook_before_header', 'thesis_nav_menu');
 }
}

add_action('thesis_hook_before_html', 'remove_nav');
</pre>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
