<?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: "Home" in drop-down menu not translatable</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Mon, 20 May 2013 03:21:39 +0000</pubDate>

<item>
<title>BioGasa.nu on ""Home" in drop-down menu not translatable"</title>
<link>http://themeshaper.com/forums/topic/home-in-drop-down-menu-not-translatable#post-8099</link>
<pubDate>Thu, 26 Nov 2009 19:13:09 +0000</pubDate>
<dc:creator>BioGasa.nu</dc:creator>
<guid isPermaLink="false">8099@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thanks for all the help!&#60;/p&#62;
&#60;p&#62;I've searched the entire file structure for multiples, but to no avail. I also reverted to the default functions.php for both Thematic and Thematic Power Blog, copied your code and replace it in TPB's functions.php, and it still won't hide on the home page.&#60;/p&#62;
&#60;p&#62;Well, it's time to leave that annoyance and move on to other thing I need to fix before launching...
&#60;/p&#62;</description>
</item>
<item>
<title>em hr on ""Home" in drop-down menu not translatable"</title>
<link>http://themeshaper.com/forums/topic/home-in-drop-down-menu-not-translatable#post-8097</link>
<pubDate>Thu, 26 Nov 2009 15:39:52 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">8097@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;The function I posted works as intended in my test environment. It sounds like you may have one too many filters on &#60;code&#62;wp_page_menu&#60;/code&#62;  Check your functions.php for multiple occurrences of &#60;code&#62;wp_page_menu_args&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>BioGasa.nu on ""Home" in drop-down menu not translatable"</title>
<link>http://themeshaper.com/forums/topic/home-in-drop-down-menu-not-translatable#post-8095</link>
<pubDate>Thu, 26 Nov 2009 10:35:15 +0000</pubDate>
<dc:creator>BioGasa.nu</dc:creator>
<guid isPermaLink="false">8095@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Yeah, sorry for not being clear; of course I tried your suggestion but it didn't work. I can see that the condition is working by setting:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;#39;echo&#38;#39; =&#38;gt; false&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;...in the else statement, which hides the entire menu when I'm on the home page, but not on the other pages. However, setting:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;#39;show_home&#38;#39; =&#38;gt; 0,&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;...still shows &#34;Hem&#34; on the home page. I also tried to switch the if...else statement around:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;is_front_page() &#124;&#124; is_home()&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;...but that first item still shows up on the home page.&#60;/p&#62;
&#60;p&#62;I then tried to rename it:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;#39;show_home&#38;#39; =&#38;gt; &#38;quot;Back Home&#38;quot;,&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;...which instantly showed up on all other pages, but the home page still showed &#34;Hem&#34; indicating some sort of caching. Clearing all cookies didn't help either.
&#60;/p&#62;</description>
</item>
<item>
<title>em hr on ""Home" in drop-down menu not translatable"</title>
<link>http://themeshaper.com/forums/topic/home-in-drop-down-menu-not-translatable#post-8086</link>
<pubDate>Wed, 25 Nov 2009 22:56:25 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">8086@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;&#60;code&#62;is_front_page&#60;/code&#62;  is not the same as &#60;code&#62;is_home&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;You need to set the condition for both or just for &#60;code&#62;is_home&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Try :&#60;code&#62;!is_front_page() &#124;&#124; !is_home()&#60;/code&#62; Like in my example above.
&#60;/p&#62;</description>
</item>
<item>
<title>BioGasa.nu on ""Home" in drop-down menu not translatable"</title>
<link>http://themeshaper.com/forums/topic/home-in-drop-down-menu-not-translatable#post-8085</link>
<pubDate>Wed, 25 Nov 2009 22:20:00 +0000</pubDate>
<dc:creator>BioGasa.nu</dc:creator>
<guid isPermaLink="false">8085@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;The &#34;Hem&#34; thing works great (I had the add_filter, I just didn't paste it in to the forum post.)&#60;/p&#62;
&#60;p&#62;What isn't working is the hiding of &#34;Hem&#34; on the actual home page. I can see that the conditional if...else is working by setting&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;#39;echo&#38;#39; =&#38;gt; false&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;in the else statement, which then hides the entire menu when I'm on the home page.
&#60;/p&#62;</description>
</item>
<item>
<title>em hr on ""Home" in drop-down menu not translatable"</title>
<link>http://themeshaper.com/forums/topic/home-in-drop-down-menu-not-translatable#post-8084</link>
<pubDate>Wed, 25 Nov 2009 22:12:01 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">8084@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;You didnt include the &#60;code&#62;add_filter&#60;/code&#62; I'd also suggest including a condition for &#60;code&#62;is_home&#60;/code&#62; Like:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function childtheme_menu_args($args) {
		if (!is_front_page() &#124;&#124; !is_home() ) {
		    $args = array(
		        &#38;#39;show_home&#38;#39; =&#38;gt; &#38;#39;Hem&#38;#39;,
		        &#38;#39;sort_column&#38;#39; =&#38;gt; &#38;#39;menu_order&#38;#39;,
		        &#38;#39;menu_class&#38;#39; =&#38;gt; &#38;#39;menu&#38;#39;,
		        &#38;#39;echo&#38;#39; =&#38;gt; true
		    );
		} else {
    		    $args = array(
		        &#38;#39;show_home&#38;#39; =&#38;gt; 0,
		        &#38;#39;sort_column&#38;#39; =&#38;gt; &#38;#39;menu_order&#38;#39;,
		        &#38;#39;menu_class&#38;#39; =&#38;gt; &#38;#39;menu&#38;#39;,
		        &#38;#39;echo&#38;#39; =&#38;gt; true
		    );
		}
    return $args;
}
add_filter(&#38;#39;wp_page_menu_args&#38;#39;,&#38;#39;childtheme_menu_args&#38;#39;);&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>BioGasa.nu on ""Home" in drop-down menu not translatable"</title>
<link>http://themeshaper.com/forums/topic/home-in-drop-down-menu-not-translatable#post-8083</link>
<pubDate>Wed, 25 Nov 2009 21:59:19 +0000</pubDate>
<dc:creator>BioGasa.nu</dc:creator>
<guid isPermaLink="false">8083@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I continued by trying to hide the &#34;Home&#34; (or &#34;Hem&#34; in my case) link when you're on the actual home page, but it doesn't work. (I found the tag at &#60;a href=&#34;http://codex.wordpress.org/Template_Tags/wp_page_menu&#34; rel=&#34;nofollow&#34;&#62;http://codex.wordpress.org/Template_Tags/wp_page_menu&#60;/a&#62; )&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function childtheme_menu_args($args) {
		if (!is_front_page() ) {
		    $args = array(
		        &#38;#39;show_home&#38;#39; =&#38;gt; &#38;#39;Hem&#38;#39;,
		        &#38;#39;sort_column&#38;#39; =&#38;gt; &#38;#39;menu_order&#38;#39;,
		        &#38;#39;menu_class&#38;#39; =&#38;gt; &#38;#39;menu&#38;#39;,
		        &#38;#39;echo&#38;#39; =&#38;gt; true
		    );
		} else {
    		    $args = array(
		        &#38;#39;show_home&#38;#39; =&#38;gt; 0,
		        &#38;#39;sort_column&#38;#39; =&#38;gt; &#38;#39;menu_order&#38;#39;,
		        &#38;#39;menu_class&#38;#39; =&#38;gt; &#38;#39;menu&#38;#39;,
		        &#38;#39;echo&#38;#39; =&#38;gt; true
		    );
		}
    return $args;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;What am I missing?
&#60;/p&#62;</description>
</item>
<item>
<title>BioGasa.nu on ""Home" in drop-down menu not translatable"</title>
<link>http://themeshaper.com/forums/topic/home-in-drop-down-menu-not-translatable#post-8077</link>
<pubDate>Wed, 25 Nov 2009 18:05:34 +0000</pubDate>
<dc:creator>BioGasa.nu</dc:creator>
<guid isPermaLink="false">8077@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Great, thanks for the quick help! &#60;/p&#62;
&#60;p&#62;For others wanting to do the same thing; that code is found in:&#60;br /&#62;
&#60;code&#62;wp-content/themes/thematicpowerblog/functions.php&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>em hr on ""Home" in drop-down menu not translatable"</title>
<link>http://themeshaper.com/forums/topic/home-in-drop-down-menu-not-translatable#post-8071</link>
<pubDate>Wed, 25 Nov 2009 13:54:59 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">8071@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi-&#60;/p&#62;
&#60;p&#62;That text is controlled by an argument set for wp_page_menu. Changing the &#60;code&#62;show_home&#60;/code&#62; arg to 'Hem' is what you need to do.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function childtheme_menu_args($args) {
    $args = array(
        &#38;#39;show_home&#38;#39; =&#38;gt; &#38;#39;Hem&#38;#39;,
        &#38;#39;sort_column&#38;#39; =&#38;gt; &#38;#39;menu_order&#38;#39;,
        &#38;#39;menu_class&#38;#39; =&#38;gt; &#38;#39;menu&#38;#39;,
        &#38;#39;echo&#38;#39; =&#38;gt; true
    );
	return $args;
}
add_filter(&#38;#39;wp_page_menu_args&#38;#39;,&#38;#39;childtheme_menu_args&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;-Gene
&#60;/p&#62;</description>
</item>
<item>
<title>BioGasa.nu on ""Home" in drop-down menu not translatable"</title>
<link>http://themeshaper.com/forums/topic/home-in-drop-down-menu-not-translatable#post-8063</link>
<pubDate>Wed, 25 Nov 2009 09:21:11 +0000</pubDate>
<dc:creator>BioGasa.nu</dc:creator>
<guid isPermaLink="false">8063@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I'm using WP 2.8.6 (language set to Swedish) and Thematic 0.9.5.1 and ThematicPowerBlog and WP's feature of using a static page as home page. This page is named &#34;Hem&#34; (Swedish) but the first item on the drop-down menu still says &#34;Home.&#34;&#60;/p&#62;
&#60;p&#62;Is this something that should be added to a .po/.mo file, or am I looking in the wrong place?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
