<?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: add_theme_support('menus')</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Thu, 23 May 2013 11:55:02 +0000</pubDate>

<item>
<title>squidz on "add_theme_support('menus')"</title>
<link>http://themeshaper.com/forums/topic/add_theme_supportmenus#post-15162</link>
<pubDate>Fri, 27 Aug 2010 22:29:34 +0000</pubDate>
<dc:creator>squidz</dc:creator>
<guid isPermaLink="false">15162@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Will do!! Thanks.
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "add_theme_support('menus')"</title>
<link>http://themeshaper.com/forums/topic/add_theme_supportmenus#post-14925</link>
<pubDate>Mon, 23 Aug 2010 12:36:20 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">14925@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;squidz- my code definitely pre-dated this new announcement to not use add_theme_support.  your post made me curious and both your snippets of code work for me on the latest, stable thematic (709) WITHOUT add_theme_support('menus').  give it a shot.
&#60;/p&#62;</description>
</item>
<item>
<title>squidz on "add_theme_support('menus')"</title>
<link>http://themeshaper.com/forums/topic/add_theme_supportmenus#post-14913</link>
<pubDate>Sun, 22 Aug 2010 21:05:03 +0000</pubDate>
<dc:creator>squidz</dc:creator>
<guid isPermaLink="false">14913@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Chris - I'm new to Thematic and coming from designer-world. In experimenting with building a child theme for my own site, I'm interested in setting the main nav in a vertical fashion.&#60;/p&#62;
&#60;p&#62;I found a post that shows an easy snippet to try this. However, I've also found various links by Gene to your post here about not using add_theme_support('menus'), but calling register_nav_menu(s) instead. Another example by Helgatheviking used both.  &#60;/p&#62;
&#60;p&#62;So, being somewhat clueless here, I'm curious what the correct way to use this code from &#60;a href=&#34;(http://themeshaper.com/forums/topic/going-vertical-with-wp3-menus-enabled#post-13970)&#34;&#62;Tarpontech&#60;/a&#62; should be:&#60;/p&#62;
&#60;p&#62;function go_vertical( $args ) {&#60;br /&#62;
	$args[ 'menu_class' ] = 'sf-menu sf-vertical';&#60;br /&#62;
	return $args;&#60;br /&#62;
}&#60;br /&#62;
add_filter( 'thematic_nav_menu_args', 'go_vertical' );&#60;/p&#62;
&#60;p&#62;Using this in conjunction with Gene's:&#60;/p&#62;
&#60;p&#62;add_theme_support( 'menus' ); **** can register_nav_menu(s) directly replace this? ***&#60;/p&#62;
&#60;p&#62;function child_access_menu() {&#60;br /&#62;
	$menu_sys = 'wp_nav_menu';&#60;br /&#62;
	return $menu_sys;&#60;br /&#62;
}&#60;br /&#62;
add_filter('thematic_menu_type', 'child_access_menu');
&#60;/p&#62;</description>
</item>
<item>
<title>Chris on "add_theme_support('menus')"</title>
<link>http://themeshaper.com/forums/topic/add_theme_supportmenus#post-14844</link>
<pubDate>Thu, 19 Aug 2010 18:02:52 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">14844@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;do not use add_theme_support('menus') in your functions.php. I already removed it from the current SVN copy.&#60;/p&#62;
&#60;p&#62;Here's the answer from Andrew Nacin regarding the question if a theme needs this call in the functions.php:&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
This is incorrect. add_theme_support('menus') is an internal process only. *It should never be directly called.* Instead, the theme should be calling register_nav_menu(s) which will trigger add_theme_support('menus') internally.&#60;/p&#62;
&#60;p&#62;Likewise, add_theme_support('widgets') is internal only. The theme should only be calling register_sidebar(s).
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>

</channel>
</rss>
