XPressME Integration Kit

Trac


Ignore:
Timestamp:
Jun 12, 2010, 12:44:33 PM (14 years ago)
Author:
toemon
Message:

デフォルトテーマがメニュー管理の Primary Navigation 選択 に対応していないバグ修正 Fixes#354

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xpressme_integration_kit/wp-content/themes/xpress_default/functions.php

    r562 r619  
    1010        // This theme uses wp_nav_menu() 
    1111        if ( function_exists('add_theme_support') )add_theme_support( 'nav-menus' ); 
    12  
     12        // This theme uses wp_nav_menu() in one location. 
     13        if ( function_exists('add_theme_support') ){ 
     14                register_nav_menus( array( 
     15                'primary' => __( 'Primary Navigation', 'xpress' ), 
     16        ) ); 
     17        } 
    1318load_theme_textdomain('xpress'); 
    1419 
Note: See TracChangeset for help on using the changeset viewer.