Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » New Versions, & Updating »

Making Atahualpa WP 3.0-ready for new menu function


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
 
Prev Previous Post   Next Post Next
  #1  
Old May 19, 2010, 07:53 AM
paulae's Avatar
paulae
 
1,332 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
Lightbulb Making Atahualpa WP 3.0-ready for new menu function

I attended the NYC Wordpress Meetup last night, where 3.0 was outlined for us. I had already been testing 3.0beta2, so I knew about the new menu function. Essentially, it lets you combine pages, posts and outside URLs in one menu. If your theme is compliant, you can put the menu in the horizontal menu bar below the header. If the theme doesn't support this, you can use the menu as a sidebar widget.

I hope Flynn will make Atahualpa 3.4.9 support this wonderful feature. I'm sure he can figure it out from the Twenty-Ten theme, which is the new Wordpress default theme (no more Kubrick). This is some code from the new functions.php file. I'm not a PHP coder so this may not be all that's needed:
Code:
if ( ! function_exists( 'twentyten_page_menu_args' ) ) :
/**
 * Get our wp_nav_menu() fallback, wp_page_menu(), to show a home link
 */
function twentyten_page_menu_args($args) {
    $args = array(
        'sort_column' => 'menu_order, post_title',
        'menu_class'  => 'menu',
        'echo'        => true,        
        'show_home' => true        
    );
    return $args;
}
add_filter('wp_page_menu_args', 'twentyten_page_menu_args');
endif;
 

Bookmarks

Tags
new menu function, twenty-ten theme, wordpress 3.0

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Making Page Menu Bar transparent? Hedgie Page & Category Menu Bars 10 May 19, 2014 07:28 AM
SwitchLang Function Lyryanne Atahualpa 3 Wordpress theme 0 Feb 2, 2010 05:46 AM
[SOLVED] Main Navigation - making pages menu bigger and bolder leifkendall Header configuration & styling 6 Oct 2, 2009 08:17 AM
Making Copies of Atahualpa Configs Steve_T New Versions, & Updating 0 Feb 22, 2009 11:35 AM
Making menu bar links shorter gesman Page & Category Menu Bars 2 Feb 8, 2009 09:52 PM


All times are GMT -6. The time now is 09:12 PM.


Powered by vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.