Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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


 
Prev Previous Post   Next Post Next
  #1  
Old May 19, 2010, 06:53 AM
paulae's Avatar
paulae
 
1,333 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



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


All times are GMT -6. The time now is 12:56 AM.


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