<?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 Tag: wordpress 3.0</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Thu, 23 May 2013 21:24:14 +0000</pubDate>

<item>
<title>helgatheviking on "Thematic &#038; Buddymatic - RoadMap, Support"</title>
<link>http://themeshaper.com/forums/topic/thematic-038-buddymatic-roadmap-support#post-25809</link>
<pubDate>Sat, 10 Mar 2012 05:50:54 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">25809@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;i honestly have no idea.  i'm going to say at the moment, no.  probably not until we get settled into thematic's new home, and we get more people involved in the development.  right now we just are trying to get the regular thematic up to a long-term-stable release.
&#60;/p&#62;</description>
</item>
<item>
<title>circlecube on "Thematic &#038; Buddymatic - RoadMap, Support"</title>
<link>http://themeshaper.com/forums/topic/thematic-038-buddymatic-roadmap-support#post-25802</link>
<pubDate>Fri, 09 Mar 2012 20:04:10 +0000</pubDate>
<dc:creator>circlecube</dc:creator>
<guid isPermaLink="false">25802@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Is this still being worked on or considered?
&#60;/p&#62;</description>
</item>
<item>
<title>lxwx on "A better way to use the new Menu in Wordpress 3.0 final version"</title>
<link>http://themeshaper.com/forums/topic/a-better-way-to-use-the-new-menu-in-wordpress-30-final-version#post-15375</link>
<pubDate>Sat, 04 Sep 2010 16:40:59 +0000</pubDate>
<dc:creator>lxwx</dc:creator>
<guid isPermaLink="false">15375@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I discovered my problem.  Thematic is blameless. :)  &#60;/p&#62;
&#60;p&#62;I was messing with $query to limit the categories appearing on the home page, like this:&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;&#60;code&#62;&#60;br /&#62;
function child_filter_exclude_category ( $query ) {&#60;br /&#62;
    if ( $query-&#38;gt;is_feed &#124;&#124; $query-&#38;gt;is_home ) {&#60;br /&#62;
        $query-&#38;gt;set( 'cat', '3' ); // include only category 3 = News&#60;br /&#62;
    }&#60;br /&#62;
    return $query;&#60;br /&#62;
}&#60;br /&#62;
add_filter('pre_get_posts', 'child_filter_exclude_category');&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;That was the problem, and I found a better way... on this forum, of course.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://themeshaper.com/forums/topic/filtering-one-category-from-index-loop#post-14812&#34; rel=&#34;nofollow&#34;&#62;http://themeshaper.com/forums/topic/filtering-one-category-from-index-loop#post-14812&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Cheers,&#60;/p&#62;
&#60;p&#62;--Alex
&#60;/p&#62;</description>
</item>
<item>
<title>agentOOjoe on "Thematic &#038; Buddymatic - RoadMap, Support"</title>
<link>http://themeshaper.com/forums/topic/thematic-038-buddymatic-roadmap-support#post-15290</link>
<pubDate>Wed, 01 Sep 2010 03:56:54 +0000</pubDate>
<dc:creator>agentOOjoe</dc:creator>
<guid isPermaLink="false">15290@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I am also wondering if the newest Thematic currently supports Buddypress out of the box.  If not, when do you think this will be possible?&#60;/p&#62;
&#60;p&#62;Thanks!&#60;br /&#62;
Joe
&#60;/p&#62;</description>
</item>
<item>
<title>lxwx on "A better way to use the new Menu in Wordpress 3.0 final version"</title>
<link>http://themeshaper.com/forums/topic/a-better-way-to-use-the-new-menu-in-wordpress-30-final-version#post-15231</link>
<pubDate>Tue, 31 Aug 2010 04:15:18 +0000</pubDate>
<dc:creator>lxwx</dc:creator>
<guid isPermaLink="false">15231@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;OK, I'm experiencing some frustration getting this to work in a child theme built against Thematic 0.9.7.4 (latest stable dev release).&#60;/p&#62;
&#60;p&#62;Started with a &#34;clean slate&#34; child theme on a scratch site and sure enough, as Gene has mentioned elsewhere, only needed this in my functions.php to get Custom Menu working as hoped!&#60;br /&#62;
&#60;code&#62;&#60;br /&#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;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;But then I tried the same thing in my &#60;em&#62;original&#60;/em&#62; child theme, and no joy.  The main menu area remains empty.  When I activate stock Thematic 0.9.7.4 on this install, the Custom Menu widget renders correctly in the sidebar.  But when I switch back to my child theme, this is no longer true -- the widget is empty.  &#60;/p&#62;
&#60;p&#62;I've removed all other menu-related add_filter() and add_action() statements.  I've tried re-saving the Menu, and both reset buttons in Thematic Options.  Both themes say they &#34;support 1 menu&#34; in Appearance &#38;gt; Menus.  It still seems like something in the &#60;strong&#62;data&#60;/strong&#62; is messing this up.  &#60;/p&#62;
&#60;p&#62;Is there some trick I'm missing?  Mustn't the Custom Menu widget be working before there is any hope of getting the same menu to appear in div#access?&#60;/p&#62;
&#60;p&#62;Thanks to anyone with advice...&#60;/p&#62;
&#60;p&#62;--Alex
&#60;/p&#62;</description>
</item>
<item>
<title>Jonny Janiero on "Wordpress 3.0 Header Support"</title>
<link>http://themeshaper.com/forums/topic/wordpress-30-header-support#post-15166</link>
<pubDate>Sat, 28 Aug 2010 04:41:14 +0000</pubDate>
<dc:creator>Jonny Janiero</dc:creator>
<guid isPermaLink="false">15166@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Currently working on site that requires the end user to add custom headers. Immediately thought of the Dynamic Headers plugin, then thought why not see if i could utilise the Custom Headers in Wordpress 3.0.&#60;/p&#62;
&#60;p&#62;Came across &#60;a href=&#34;http://www.wpbeginner.com/wp-themes/how-to-enable-custom-header-images-panel-in-wordpress-3-0/&#34;&#62;this post&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The two options i explored was,&#60;br /&#62;
-place custom header under #branding&#60;br /&#62;
-place header inside branding as background&#60;/p&#62;
&#60;p&#62;paste the following in functions.php&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;add_action( &#38;#39;after_setup_theme&#38;#39;, &#38;#39;yourtheme_setup&#38;#39; );
function yourtheme_setup() {

//Add Post-Thumbnail support and set various sizes
add_theme_support( &#38;#39;post-thumbnails&#38;#39; );
set_post_thumbnail_size( 180, 180, true );

//Specify a default header image or delete to leave blank
define( &#38;#39;HEADER_IMAGE&#38;#39;, get_bloginfo(&#38;#39;stylesheet_directory&#38;#39;) . &#38;#39;/images/footpath.jpg&#38;#39; );

//Define dimensions of #branding
define( &#38;#39;HEADER_IMAGE_WIDTH&#38;#39;, apply_filters( &#38;#39;yourtheme_header_image_width&#38;#39;, 940 ) );
define( &#38;#39;HEADER_IMAGE_HEIGHT&#38;#39;, apply_filters( &#38;#39;yourtheme_header_image_height&#38;#39;, 198 ) );

//This sets the dimensions to the post_thumbnail
set_post_thumbnail_size( HEADER_IMAGE_WIDTH, HEADER_IMAGE_HEIGHT, true );

//Remove text from header edit screen
define( &#38;#39;NO_HEADER_TEXT&#38;#39;, true );

// Call for style (y
add_custom_image_header( &#38;#39;&#38;#39;, &#38;#39;yourtheme_admin_header_style&#38;#39; );

// Define your own default headers if needed or completely remove this section of code
register_default_headers( array (
&#38;#39;leaves1&#38;#39; =&#38;gt; array (
&#38;#39;url&#38;#39; =&#38;gt; get_bloginfo(&#38;#39;stylesheet_directory&#38;#39;) . &#38;#39;/images/leaves1.jpg&#38;#39;,
&#38;#39;thumbnail_url&#38;#39; =&#38;gt; get_bloginfo(&#38;#39;stylesheet_directory&#38;#39;) . &#38;#39;/images/tn-leaves1.jpg&#38;#39;,
&#38;#39;description&#38;#39; =&#38;gt; __( &#38;#39;leaves1&#38;#39;, &#38;#39;yourtheme&#38;#39; )
),
&#38;#39;leaves2&#38;#39; =&#38;gt; array (
&#38;#39;url&#38;#39; =&#38;gt; get_bloginfo(&#38;#39;stylesheet_directory&#38;#39;) . &#38;#39;/images/leaves2.jpg&#38;#39;,
&#38;#39;thumbnail_url&#38;#39; =&#38;gt; get_bloginfo(&#38;#39;stylesheet_directory&#38;#39;) . &#38;#39;/images/tn-leaves2.jpg&#38;#39;,
&#38;#39;description&#38;#39; =&#38;gt; __( &#38;#39;leaves2&#38;#39;, &#38;#39;yourtheme&#38;#39; )
),
) );
}

//Styles the header image displayed on the Appearance &#38;gt; Header admin panel.
function yourtheme_admin_header_style() {
?&#38;gt;
&#38;lt;style type=&#38;quot;text/css&#38;quot;&#38;gt;
#headimg {height: &#38;lt;?php echo HEADER_IMAGE_HEIGHT; ?&#38;gt;px;width: &#38;lt;?php echo HEADER_IMAGE_WIDTH; ?&#38;gt;px;}
#headimg h1, #headimg #desc {display: none;}
&#38;lt;/style&#38;gt;
&#38;lt;?php
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;then directly after, insert one of the following&#60;br /&#62;
either -place custom header under #branding&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;function child_theme_show_header() {
//Check that post/page has a post_thumbnail that is larger or equal to header width
if ( is_singular() &#38;#38;&#38;#38;
has_post_thumbnail( $post-&#38;gt;ID ) &#38;#38;&#38;#38;
( /* $src, $width, $height */ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post-&#38;gt;ID ), &#38;#39;post-thumbnail&#38;#39;) ) &#38;#38;&#38;#38;
$image[1] &#38;gt;= HEADER_IMAGE_WIDTH ) : echo get_the_post_thumbnail( $post-&#38;gt;ID, &#38;#39;post-thumbnail&#38;#39; );
else : ?&#38;gt;
&#38;lt;?php /*?&#38;gt;Else show default header&#38;lt;?php */?&#38;gt;
&#38;lt;img src=&#38;quot;&#38;lt;?php header_image(); ?&#38;gt;&#38;quot; width=&#38;quot;&#38;lt;?php echo HEADER_IMAGE_WIDTH; ?&#38;gt;&#38;quot; height=&#38;quot;&#38;lt;?php echo HEADER_IMAGE_HEIGHT; ?&#38;gt;&#38;quot; alt=&#38;quot;&#38;quot; /&#38;gt;
&#38;lt;?php endif;
}
add_action(&#38;#39;thematic_header&#38;#39;, &#38;#39;child_theme_show_header&#38;#39;, 6);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;or -place header inside branding as background&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;function child_theme_show_header() {
//Check that post/page has a post_thumbnail that is larger or equal to header width
if ( is_singular() &#38;#38;&#38;#38;
has_post_thumbnail( $post-&#38;gt;ID ) &#38;#38;&#38;#38;
($image = wp_get_attachment_image_src( get_post_thumbnail_id( $post-&#38;gt;ID ), &#38;#39;post-thumbnail&#38;#39;) ) &#38;#38;&#38;#38;
$image[1] &#38;gt;= HEADER_IMAGE_WIDTH ) :  ?&#38;gt;
&#38;lt;?php /*?&#38;gt;//Extract only url ref from post_thumbnail-below&#38;lt;?php */?&#38;gt;
&#38;lt;style type=&#38;quot;text/css&#38;quot;&#38;gt;#branding {background-image:url(&#38;#39;&#38;lt;?php $image_id = get_post_thumbnail_id();
$image_url = wp_get_attachment_image_src($image_id,&#38;#39;post-thumbnail&#38;#39;, true);
echo $image_url[0];  ?&#38;gt;&#38;#39;)}&#38;lt;/style&#38;gt;
&#38;lt;?php else : ?&#38;gt;
&#38;lt;?php /*?&#38;gt;Else show default header&#38;lt;?php */?&#38;gt;
&#38;lt;style type=&#38;quot;text/css&#38;quot;&#38;gt;#branding {background-image:url(&#38;#39;&#38;lt;?php header_image(); ?&#38;gt;&#38;#39;)}&#38;lt;/style&#38;gt;
&#38;lt;?php endif;
}
add_action(&#38;#39;wp_head&#38;#39;, &#38;#39;child_theme_show_header&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;the only approach i could think of too make the header a background for #branding was to use inline styles.&#60;br /&#62;
you could experiment with div#, position, sizes, etc. changing the width/height settings could open up the possibility of using custom background images, etc.&#60;/p&#62;
&#60;p&#62;demo on &#60;a href=&#34;http://www.dev.virtualpudding.com/&#34;&#62;home page&#60;/a&#62; default header&#60;br /&#62;
demo on &#60;a href=&#34;http://www.dev.virtualpudding.com/just-a-page/&#34;&#62;a page&#60;/a&#62;&#60;br /&#62;
demo on &#60;a href=&#34;http://www.dev.virtualpudding.com/another-category/page/&#34;&#62;a post&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;hope it helps someone&#60;br /&#62;
any recommendations, fire across.
&#60;/p&#62;</description>
</item>
<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>zoltok on "Thematic &#038; Buddymatic - RoadMap, Support"</title>
<link>http://themeshaper.com/forums/topic/thematic-038-buddymatic-roadmap-support#post-15117</link>
<pubDate>Thu, 26 Aug 2010 17:54:50 +0000</pubDate>
<dc:creator>zoltok</dc:creator>
<guid isPermaLink="false">15117@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi there,&#60;/p&#62;
&#60;p&#62;Any updates on this? Does the latest stable dev release support buddypress? I am already partly through developing a site with Buddymatic, but if this is going to be merged I'd like to start working with it as soon as possible!
&#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>carlos007h on "WordPress 3.0 and the upcoming Thematic release"</title>
<link>http://themeshaper.com/forums/topic/wordpress-30-and-the-upcoming-thematic-release#post-14878</link>
<pubDate>Fri, 20 Aug 2010 16:28:20 +0000</pubDate>
<dc:creator>carlos007h</dc:creator>
<guid isPermaLink="false">14878@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Works great, I updated the thematicclassic, just fine, thanks a lot Chris
&#60;/p&#62;</description>
</item>
<item>
<title>em hr on "A better way to use the new Menu in Wordpress 3.0 final version"</title>
<link>http://themeshaper.com/forums/topic/a-better-way-to-use-the-new-menu-in-wordpress-30-final-version#post-14868</link>
<pubDate>Fri, 20 Aug 2010 06:08:46 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">14868@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Heads up using add_theme_support in this way is not advised&#60;/p&#62;
&#60;p&#62;ref: &#60;a href=&#34;http://themeshaper.com/forums/topic/add_theme_supportmenus&#34; rel=&#34;nofollow&#34;&#62;http://themeshaper.com/forums/topic/add_theme_supportmenus&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;-Gene
&#60;/p&#62;</description>
</item>
<item>
<title>theBlogButler on "A better way to use the new Menu in Wordpress 3.0 final version"</title>
<link>http://themeshaper.com/forums/topic/a-better-way-to-use-the-new-menu-in-wordpress-30-final-version#post-14851</link>
<pubDate>Thu, 19 Aug 2010 19:48:02 +0000</pubDate>
<dc:creator>theBlogButler</dc:creator>
<guid isPermaLink="false">14851@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Well this is cool but the commune theme isn't using the 3.0 menu functionality.  I'm not good enough with PHP to punch the proper code into the 3.0 functionality.  :(
&#60;/p&#62;</description>
</item>
<item>
<title>theBlogButler on "A better way to use the new Menu in Wordpress 3.0 final version"</title>
<link>http://themeshaper.com/forums/topic/a-better-way-to-use-the-new-menu-in-wordpress-30-final-version#post-14850</link>
<pubDate>Thu, 19 Aug 2010 19:26:31 +0000</pubDate>
<dc:creator>theBlogButler</dc:creator>
<guid isPermaLink="false">14850@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I'll say it - Helga rocks!  Thank you!
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "A better way to use the new Menu in Wordpress 3.0 final version"</title>
<link>http://themeshaper.com/forums/topic/a-better-way-to-use-the-new-menu-in-wordpress-30-final-version#post-14848</link>
<pubDate>Thu, 19 Aug 2010 18:37:22 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">14848@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;download and take a look at the code for the Commune Child theme.  &#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.cozmoslabs.com/2009/04/07/green-anyone-try-commune-thematic-child-theme/&#34; rel=&#34;nofollow&#34;&#62;http://www.cozmoslabs.com/2009/04/07/green-anyone-try-commune-thematic-child-theme/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;it has a category menu built in
&#60;/p&#62;</description>
</item>
<item>
<title>theBlogButler on "A better way to use the new Menu in Wordpress 3.0 final version"</title>
<link>http://themeshaper.com/forums/topic/a-better-way-to-use-the-new-menu-in-wordpress-30-final-version#post-14847</link>
<pubDate>Thu, 19 Aug 2010 18:28:54 +0000</pubDate>
<dc:creator>theBlogButler</dc:creator>
<guid isPermaLink="false">14847@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;How would I integrate a categories menu drop-down that is dynamic and not dependent upon pages?
&#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>
<item>
<title>em hr on "Call Specific Menu to top of Screen"</title>
<link>http://themeshaper.com/forums/topic/call-specific-menu-to-top-of-screen#post-14023</link>
<pubDate>Tue, 20 Jul 2010 21:36:40 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">14023@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Scott,&#60;/p&#62;
&#60;p&#62;Explaining this is semantically difficult.&#60;/p&#62;
&#60;p&#62; thematic_init_navmenu() only registers a theme menu location. &#60;/p&#62;
&#60;p&#62;This location is named the &#34;Primary  Menu&#34; and is the one used by thematic_access() if a custom menu has been created and assigned to it using WP-dmin&#38;gt;Appearance&#38;gt;Menus&#38;gt;Theme Locations&#60;/p&#62;
&#60;p&#62;The &#34;Theme Location&#34; input box does not even appear on the WP-Admin&#38;gt;Appearance&#38;gt;Menus screen until you have created a menu. So if you have not created at least one custom menu in the admin, you should so that you see what I'm talking about.&#60;/p&#62;
&#60;p&#62;If you have registered more menu locations in your child theme and later hooked them into Thematic or called them from your templates, then you can make as many menus as you like and put them in whatever &#34;Theme Location&#34; you like using the admin.&#60;/p&#62;
&#60;p&#62;So in answer to: &#34;how do we designate a specific menu for that location&#34;?&#60;br /&#62;
You do so by creating menus and using WP-Admin&#38;gt;Appearance&#38;gt;Menus&#38;gt;Theme Locations to connect the desired menu to your desired menu location.&#60;/p&#62;
&#60;p&#62;and &#34;how can we make certain it is the menu named &#34;primary&#34; that appears in that position&#34;?&#60;/p&#62;
&#60;p&#62;Assuming you have a function like this one included in you child theme's functions.php:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function child_access_navmenu() {
	return &#38;quot;wp_nav_menu&#38;quot;;
}
add_filter(&#38;#39;thematic_menu_type&#38;#39;, &#38;#39;child_access_navmenu&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Then whatever menu you assign to the &#34;Primary Menu&#34; location in Thematic will show up wherever &#60;code&#62;thematic_access()&#60;/code&#62; is hooked or re-hooked as it may be.&#60;/p&#62;
&#60;p&#62;-Gene
&#60;/p&#62;</description>
</item>
<item>
<title>Robo on "Call Specific Menu to top of Screen"</title>
<link>http://themeshaper.com/forums/topic/call-specific-menu-to-top-of-screen#post-14014</link>
<pubDate>Tue, 20 Jul 2010 04:23:48 +0000</pubDate>
<dc:creator>Robo</dc:creator>
<guid isPermaLink="false">14014@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;This seems to work for me to use the custom menu:&#60;/p&#62;
&#60;p&#62;// Remove Thematic Access&#60;br /&#62;
function remove_thematic_actions() {&#60;br /&#62;
remove_action('thematic_header','thematic_access',9);&#60;br /&#62;
}&#60;br /&#62;
add_action('init','remove_thematic_actions');&#60;/p&#62;
&#60;p&#62;function my_menu() { /* display the custom menu -- struth, it works!!! */&#60;br /&#62;
wp_nav_menu( array('menu' =&#38;gt; 'Custom Menu' ));&#60;br /&#62;
}&#60;br /&#62;
add_action('thematic_header', 'my_menu', 9);
&#60;/p&#62;</description>
</item>
<item>
<title>sfrangos on "Call Specific Menu to top of Screen"</title>
<link>http://themeshaper.com/forums/topic/call-specific-menu-to-top-of-screen#post-14003</link>
<pubDate>Mon, 19 Jul 2010 18:10:49 +0000</pubDate>
<dc:creator>sfrangos</dc:creator>
<guid isPermaLink="false">14003@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi -&#60;/p&#62;
&#60;p&#62;Thanks for the replies.  If I understand you correctly, Gene, the above code that Chris originally posted will call only the Primary menu into place at top of header.  Then, to call a different one into another place in the theme, we would use:  thematic_primary_menu_name&#60;/p&#62;
&#60;p&#62;- Scott
&#60;/p&#62;</description>
</item>
<item>
<title>em hr on "Call Specific Menu to top of Screen"</title>
<link>http://themeshaper.com/forums/topic/call-specific-menu-to-top-of-screen#post-13957</link>
<pubDate>Fri, 16 Jul 2010 18:37:32 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">13957@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi Scott,&#60;/p&#62;
&#60;p&#62;With Thematic 0.9.7.3 (by default) it is certain the  the &#34;primary&#34; menu will only appear in the access div. &#60;/p&#62;
&#60;p&#62;It registers  only one menu with an id of &#60;code&#62;primary-menu&#60;/code&#62; and includes it for use inside &#60;code&#62;thematic_access()&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Look in &#60;code&#62;thematic&#38;gt;library&#38;gt;extensions&#38;gt;header-extensions.php&#60;/code&#62; at these three functions&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;thematic_nav_menu_args()
thematic_init_navmenu()
thematic_access()&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Here are the filter hooks to look at using:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;thematic_menu_type
thematic_primary_menu_id
thematic_primary_menu_name&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Be careful with thematic_primary_menu_id because it shared between thematic_init_navmenu() &#38;#38;&#60;br /&#62;
thematic_access() it will not only change the menu used in the access div but it will register it as well. If you want to change the name of this menu then thematic_primary_menu_nam  is the filter to use.&#60;/p&#62;
&#60;p&#62;I hope this isn't too too confusing.&#60;/p&#62;
&#60;p&#62;-Gene
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Call Specific Menu to top of Screen"</title>
<link>http://themeshaper.com/forums/topic/call-specific-menu-to-top-of-screen#post-13954</link>
<pubDate>Fri, 16 Jul 2010 16:39:13 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">13954@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;check out: &#60;a href=&#34;http://justintadlock.com/archives/2010/06/01/goodbye-headaches-hello-menus&#34; rel=&#34;nofollow&#34;&#62;http://justintadlock.com/archives/2010/06/01/goodbye-headaches-hello-menus&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;hope that helps.
&#60;/p&#62;</description>
</item>
<item>
<title>sfrangos on "Call Specific Menu to top of Screen"</title>
<link>http://themeshaper.com/forums/topic/call-specific-menu-to-top-of-screen#post-13951</link>
<pubDate>Fri, 16 Jul 2010 15:39:27 +0000</pubDate>
<dc:creator>sfrangos</dc:creator>
<guid isPermaLink="false">13951@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hello Colleagues -&#60;/p&#62;
&#60;p&#62;A few months back, Chris posted the following code about how to move a menu to the top of the screen by adding the code to functions.php:&#60;br /&#62;
&#60;code&#62;&#60;br /&#62;
// remove the menu from its old position&#60;br /&#62;
function remove_access() {&#60;br /&#62;
    remove_action('thematic_header', 'thematic_access', 9);&#60;br /&#62;
}&#60;br /&#62;
add_action('init', 'remove_access');&#60;br /&#62;
// add menu to its new position&#60;br /&#62;
add_action('thematic_header', 'thematic_access', 0);&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Thanks Chris.  &#60;strong&#62;NEW QUESTION:  For WP 3, how do we designate a specific menu for that location?  For example, if we intend to use more than one menu, how can we make certain it is the menu named &#34;primary&#34; that appears in that position?&#60;/strong&#62;&#60;/p&#62;
&#60;p&#62;Thanks -&#60;br /&#62;
Scott
&#60;/p&#62;</description>
</item>
<item>
<title>em hr on "A better way to use the new Menu in Wordpress 3.0 final version"</title>
<link>http://themeshaper.com/forums/topic/a-better-way-to-use-the-new-menu-in-wordpress-30-final-version#post-13265</link>
<pubDate>Mon, 21 Jun 2010 16:58:21 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">13265@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;This is all I am using to integrate the new nav menu's for a singular menu on WP3 + Thematic 0.9.7&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_theme_support( &#38;#39;menus&#38;#39; );

function child_access_menu() {
	$menu_sys = &#38;#39;wp_nav_menu&#38;#39;;
	return $menu_sys;
}
add_filter(&#38;#39;thematic_menu_type&#38;#39;, &#38;#39;child_access_menu&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Thats pretty simple right.  How simple the code is depends on how you are using the menu system with Thematic.
&#60;/p&#62;</description>
</item>
<item>
<title>theorib on "A better way to use the new Menu in Wordpress 3.0 final version"</title>
<link>http://themeshaper.com/forums/topic/a-better-way-to-use-the-new-menu-in-wordpress-30-final-version#post-13264</link>
<pubDate>Mon, 21 Jun 2010 16:42:16 +0000</pubDate>
<dc:creator>theorib</dc:creator>
<guid isPermaLink="false">13264@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thanks em hr, I'll check into that although it worked for me that way (weird)...&#60;/p&#62;
&#60;p&#62;I really didn't check if it breaks stuff in other version of WP @helgatheviking, but I'd say it does.&#60;/p&#62;
&#60;p&#62;Take a look at the last SVN version of Thematic, as far as I know Chris made it all easier for us to use those menus but I still didn't test it. take a look at the last post here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://themeshaper.com/forums/topic/wordpress-30-and-the-upcoming-thematic-release&#34; rel=&#34;nofollow&#34;&#62;http://themeshaper.com/forums/topic/wordpress-30-and-the-upcoming-thematic-release&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>em hr on "A better way to use the new Menu in Wordpress 3.0 final version"</title>
<link>http://themeshaper.com/forums/topic/a-better-way-to-use-the-new-menu-in-wordpress-30-final-version#post-13263</link>
<pubDate>Mon, 21 Jun 2010 15:46:44 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">13263@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Heads up in the final WP 3.0 things changed:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_theme_support( &#38;#39;nav-menus&#38;#39; );&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;needs to be:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_theme_support( &#38;#39;menus&#38;#39; );&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;to work properly.
&#60;/p&#62;</description>
</item>
<item>
<title>Chris on "WordPress 3.0 and the upcoming Thematic release"</title>
<link>http://themeshaper.com/forums/topic/wordpress-30-and-the-upcoming-thematic-release#post-13252</link>
<pubDate>Sun, 20 Jun 2010 18:32:57 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">13252@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi Theo,&#60;/p&#62;
&#60;p&#62;yes and no :)&#60;/p&#62;
&#60;p&#62;If you design a child theme for yourself, you don't need to use register_nav_menu(). You know where the child theme calls which menu and what you have to create in the backend.&#60;/p&#62;
&#60;p&#62;If you create a child theme for the masses you have to use register_nav_menu(). This function creates a 'location'. This would be something like register_nav_menu( 'main-menu', __( 'Main Menu' ) ). A location called 'Main Menu' is created in the backend. You still need to define as described above, where this menu is located. Now the user can create a menu and select it for this one location.&#60;/p&#62;
&#60;p&#62;Creating specific menus that are based on conditional tags is possible too:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;register_nav_menu( &#38;#39;main-menu-home&#38;#39;, __( &#38;#39;Main Menu - Home&#38;#39; ) );
register_nav_menu( &#38;#39;main-menu-page&#38;#39;, __( &#38;#39;Main Menu - Page&#38;#39; ) );
register_nav_menu( &#38;#39;main-menu-post&#38;#39;, __( &#38;#39;Main Menu - Post&#38;#39; ) );&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Yes .. this can be done with one call and an array ;)&#60;/p&#62;
&#60;p&#62;Now the code for switching the menus:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function switch_menu( $args ) {
    if (is_single()) {
	$args[ &#38;#39;menu&#38;#39; ] = &#38;#39;main-menu-post&#38;#39;;
    } elseif (is_page()) {
	$args[ &#38;#39;menu&#38;#39; ] = &#38;#39;main-menu-page&#38;#39;;
    } else {
        // Using this as a fallback for everything else
	$args[ &#38;#39;menu&#38;#39; ] = &#38;#39;main-menu-home&#38;#39;;
    }
	return $args;
}
add_filter( &#38;#39;thematic_nav_menu_args&#38;#39;, &#38;#39;switch_menu&#38;#39; );&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Let me know, if you need more help.&#60;/p&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "A better way to use the new Menu in Wordpress 3.0 final version"</title>
<link>http://themeshaper.com/forums/topic/a-better-way-to-use-the-new-menu-in-wordpress-30-final-version#post-13244</link>
<pubDate>Sat, 19 Jun 2010 18:18:58 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">13244@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Nice work.  I'm reading Justin's post to get my head wrapped around this.  &#60;/p&#62;
&#60;p&#62;also does this break everything in &#38;lt;wp3.0 ?  i have no menus at the moment and it doesn't seem to fall back to wp_list_pages.
&#60;/p&#62;</description>
</item>
<item>
<title>theorib on "WordPress 3.0 and the upcoming Thematic release"</title>
<link>http://themeshaper.com/forums/topic/wordpress-30-and-the-upcoming-thematic-release#post-13240</link>
<pubDate>Sat, 19 Jun 2010 16:43:20 +0000</pubDate>
<dc:creator>theorib</dc:creator>
<guid isPermaLink="false">13240@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hey Chris, thanks for all the hardwork!&#60;/p&#62;
&#60;p&#62;How exactly do we use the second sample code above? Would you be so kind as to fire an example for us?&#60;br /&#62;
Should we still use the &#60;code&#62;register_nav_menu()&#60;/code&#62; function in our child themes?&#60;/p&#62;
&#60;p&#62;I took a look at the changelog for the new version and was curious on how do we use the override functions as well :)&#60;/p&#62;
&#60;p&#62;Thanks loads man, you and Gene are great!
&#60;/p&#62;</description>
</item>
<item>
<title>Chris on "WordPress 3.0 and the upcoming Thematic release"</title>
<link>http://themeshaper.com/forums/topic/wordpress-30-and-the-upcoming-thematic-release#post-13224</link>
<pubDate>Fri, 18 Jun 2010 19:20:09 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">13224@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;currently Gene and I are testing the upcoming Thematic release against WordPress 3.0.&#60;/p&#62;
&#60;p&#62;If you can't wait please read this post first: &#60;a href=&#34;http://developing.thematic4you.com/2010/04/breaking-things-to-fix-others/&#34; rel=&#34;nofollow&#34;&#62;http://developing.thematic4you.com/2010/04/breaking-things-to-fix-others/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;If you still can't wait, you can grab the latest SVN copy from: &#60;a href=&#34;http://code.google.com/p/thematic/&#34; rel=&#34;nofollow&#34;&#62;http://code.google.com/p/thematic/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Or download something that is considered a stable development release running on all of my blogs: &#60;a href=&#34;http://developing.thematic4you.com/thematic-development-release/&#34; rel=&#34;nofollow&#34;&#62;http://developing.thematic4you.com/thematic-development-release/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thematic won't use wp_nav_menu() out of the box, because I don't want to break any child theme.&#60;/p&#62;
&#60;p&#62;If you created only one wp_nav_menu or the one that you're going to use as the primary menu is the first one you created, just add the following code to your child theme's functions.php:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function change_menu_type() {
	return &#38;#39;wp_nav_menu&#38;#39;;
}
add_filter( &#38;#39;thematic_menu_type&#38;#39;, &#38;#39;change_menu_type&#38;#39; );&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;If you have more than one menu or you want to use the second or third one in the list, you need to add some additional code to your child theme's functions.php:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function switch_menu( $args ) {
	$args[ &#38;#39;menu&#38;#39; ] = &#38;#39;test-menu&#38;#39;;
	return $args;
}
add_filter( &#38;#39;thematic_nav_menu_args&#38;#39;, &#38;#39;switch_menu&#38;#39; );&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;This code can be extended with conditional tags to load specific menus for a certain template, page, post, and so on.&#60;/p&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>

</channel>
</rss>
