XPressME Integration Kit

Trac


Ignore:
Timestamp:
May 20, 2009, 5:59:07 PM (15 years ago)
Author:
toemon
Message:

WordPress? MU 用にXPressMEデフォルトテーマを調整
テーマ内で使える xpress_is_wpmu()関数を追加

File:
1 edited

Legend:

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

    r163 r218  
    4141        </div> 
    4242        <div class="xpress-operation-link"> 
    43                 <a href="<?php echo get_option('home'); ?>/"><?php _e('Mein Page','xpress')?></a>  
     43                <?php if (xpress_is_wpmu()) : ?> 
     44                <a href="<?php echo get_blog_details(1)->siteurl ; ?>/"><?php _e('Main Page','xpress')?></a> |  
     45                <?php endif; ?> 
     46                <a href="<?php echo get_option('home'); ?>/"><?php _e('Blogs Home','xpress')?></a>  
    4447                <?php if(is_xpress_contributor()) { echo ' | ' ; xpress_post_new_link(__('Post New','xpress')); }?> 
    4548        </div> 
Note: See TracChangeset for help on using the changeset viewer.