<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>ThemeShaper Forums Topic: Menu Removed from 1 Page</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Thu, 23 May 2013 17:14:41 +0000</pubDate>

<item>
<title>BenParis on "Menu Removed from 1 Page"</title>
<link>http://themeshaper.com/forums/topic/menu-removed-from-1-page#post-12171</link>
<pubDate>Thu, 06 May 2010 05:44:23 +0000</pubDate>
<dc:creator>BenParis</dc:creator>
<guid isPermaLink="false">12171@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;i should also add that if i remove the if (is_page('affiliate')) it works fine by removes the menu from the whole site
&#60;/p&#62;</description>
</item>
<item>
<title>BenParis on "Menu Removed from 1 Page"</title>
<link>http://themeshaper.com/forums/topic/menu-removed-from-1-page#post-12157</link>
<pubDate>Thu, 06 May 2010 00:45:19 +0000</pubDate>
<dc:creator>BenParis</dc:creator>
<guid isPermaLink="false">12157@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I've dropped that into my functions.php &#60;/p&#62;
&#60;p&#62;unfortunately it doesn't work.  I've done nothing else should I have don't something else for this to work?&#60;/p&#62;
&#60;p&#62;Sorry to keep bothering you.
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Menu Removed from 1 Page"</title>
<link>http://themeshaper.com/forums/topic/menu-removed-from-1-page#post-12085</link>
<pubDate>Tue, 04 May 2010 16:44:13 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">12085@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;if you want to use it for a specific page then you don't need to create a separate template.  as discussed in that thread the conditional will always be false when hooked into init.  I don't totally understand why, just that it is necessary to hook into a different function.  hooking into template_redirect works if you are doing an if is_page.  i found that didn't work for if(is_page_template) and I had to hook into wp_head&#60;/p&#62;
&#60;p&#62;drop this into your functions.php &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function remove_menu() {
if (is_page(&#38;#39;affiliate&#38;#39;)) {
remove_action(&#38;#39;thematic_header&#38;#39;,&#38;#39;thematic_access&#38;#39;,9);
}
add_action(&#38;#39;template_redirect&#38;#39;, &#38;#39;remove_menu&#38;#39;);
}&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>BenParis on "Menu Removed from 1 Page"</title>
<link>http://themeshaper.com/forums/topic/menu-removed-from-1-page#post-12075</link>
<pubDate>Tue, 04 May 2010 07:15:37 +0000</pubDate>
<dc:creator>BenParis</dc:creator>
<guid isPermaLink="false">12075@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thanks Helga.&#60;/p&#62;
&#60;p&#62;sorry i feel like a noob.&#60;br /&#62;
So it's a 2 step solutions&#60;br /&#62;
create a page template ( affiliate.php) with this in it&#60;/p&#62;
&#60;p&#62;function remove_access() {&#60;br /&#62;
   if is_page('affiliate) {&#60;br /&#62;
{&#60;br /&#62;
   remove_action('thematic_header','thematic_access',9);&#60;br /&#62;
   }&#60;br /&#62;
}&#60;br /&#62;
     add_action('template_redirect','remove_access');&#60;br /&#62;
________________________________________________________________________&#60;/p&#62;
&#60;p&#62;I then insert something into the functions.php file to call it?
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Menu Removed from 1 Page"</title>
<link>http://themeshaper.com/forums/topic/menu-removed-from-1-page#post-12042</link>
<pubDate>Sat, 01 May 2010 23:36:44 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">12042@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;check this thread:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://themeshaper.com/forums/topic/conditionally-removing-thematic_access&#34; rel=&#34;nofollow&#34;&#62;http://themeshaper.com/forums/topic/conditionally-removing-thematic_access&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>BenParis on "Menu Removed from 1 Page"</title>
<link>http://themeshaper.com/forums/topic/menu-removed-from-1-page#post-12017</link>
<pubDate>Fri, 30 Apr 2010 07:03:05 +0000</pubDate>
<dc:creator>BenParis</dc:creator>
<guid isPermaLink="false">12017@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi I'm trying to remove the #access div from one page (affiliate).&#60;/p&#62;
&#60;p&#62;I have tried &#60;/p&#62;
&#60;p&#62;body.slug-affiliate #access &#60;/p&#62;
&#60;p&#62;and&#60;/p&#62;
&#60;p&#62;function remove_menu() {&#60;br /&#62;
if (is_page('affiliate')) {&#60;br /&#62;
  remove_action('thematic_header','thematic_access',9);&#60;br /&#62;
}&#60;br /&#62;
add_action('init', 'remove_menu');&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;with no love.&#60;/p&#62;
&#60;p&#62;Any help much appreciated &#60;/p&#62;
&#60;p&#62;Thanks Ben Paris
&#60;/p&#62;</description>
</item>

</channel>
</rss>
