XPressME Integration Kit

Trac


Ignore:
Timestamp:
Jun 14, 2010, 2:31:35 PM (14 years ago)
Author:
toemon
Message:

xpress_defaultテーマでload_theme_textdomain('xpress');の位置の問題で日本語表記されない部分があるバグ修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/extras/my_themes/functions.php

    r619 r620  
    11<?php 
     2load_theme_textdomain('xpress'); 
     3         
    24if ( function_exists('register_sidebar') ) 
    35    register_sidebar(array( 
     
    810    )); 
    911 
    10         // This theme uses wp_nav_menu() 
    11         if ( function_exists('add_theme_support') )add_theme_support( 'nav-menus' ); 
    12         // This theme uses wp_nav_menu() in one location. 
    13         if ( function_exists('add_theme_support') ){ 
     12// This theme uses wp_nav_menu() 
     13if ( function_exists('add_theme_support') )add_theme_support( 'nav-menus' ); 
     14// This theme uses wp_nav_menu() in one location. 
     15if ( function_exists('add_theme_support') ){ 
    1416                register_nav_menus( array( 
    15                 'primary' => __( 'Primary Navigation', 'xpress' ), 
     17                'primary' => __('Primary Navigation','xpress'), 
    1618        ) ); 
    17         } 
    18 load_theme_textdomain('xpress'); 
     19} 
    1920 
    2021function xpress_head() { 
Note: See TracChangeset for help on using the changeset viewer.