XPressME Integration Kit

Trac


Ignore:
Timestamp:
Mar 29, 2009, 2:09:34 PM (15 years ago)
Author:
toemon
Message:

デフォルトテーマxpress_defaultの調整 bump Ver0.18
メインメニューにwordPress管理とXPressME設定を追加

File:
1 edited

Legend:

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

    r64 r141  
    11<?php get_header(); ?> 
    22 
    3         <div id="xpress_content" class="widecolumn"> 
    4  
    5     <div id="xpress_header"> 
    6         <div id="xpress_headerimg"> 
    7                 <h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1> 
    8                 <div class="description"><?php bloginfo('description'); ?></div> 
    9         </div> 
    10     </div> 
     3<div id="xpress_wrap"> 
     4<?php 
     5        if(xpress_is_theme_sidebar_disp()) { 
     6                echo '<div id="xpress_content" class="narrowcolumn">';   
     7        } else { 
     8                echo '<div id="xpress_content" class="narrowcolumn_nonside">'; 
     9        }        
     10?> 
     11                <div class="xpress-header-bar"> 
     12                        <div class="xpress-header-title"> 
     13                                <a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a> 
     14                        </div> 
     15                        <div class="xpress-conditional-title"> 
     16                                &nbsp;( <?php xpress_conditional_title();?> ) 
     17                        </div> 
     18                        <div class="xpress-description"> 
     19                                <?php bloginfo('description'); ?> 
     20                        </div> 
     21                        <div class="xpress-operation-link"> 
     22                                <a href="<?php echo get_option('home'); ?>/"><?php _e('Mein Page','xpress')?></a>  
     23                                <?php if(is_xpress_contributor()) { echo ' | ' ; xpress_post_new_link(__('Post New','xpress')); }?> 
     24                        </div> 
     25                </div> 
     26                <hr class="xpress-border"> 
    1127 
    1228        <?php if (have_posts()) : while (have_posts()) : the_post(); ?> 
    1329 
    14                 <div class="xpress_single_navigation"> 
     30                <div class="xpress-navi-bar"> 
    1531                        <div class="alignleft"><?php xpress_left_arrow_post_link(true) ?></div> 
    1632                        <div class="alignright"><?php xpress_right_arrow_post_link(true) ?></div> 
    1733                </div> 
    1834 
    19                 <div class="post" id="post-<?php the_ID(); ?>"> 
    20                         <?php if (function_exists('hotDates')) { hotDates(); }?> 
    21                         <h2><?php the_title(); ?></h2> 
    22                         <small><?php the_time(__('F jS, Y', 'xpress')) ?> <!-- by <?php the_author() ?> --></small> 
     35                <div class="xpress-post" id="post-<?php the_ID(); ?>"> 
     36                                        <div class ="xpress-post-header"> 
     37                                                <?php if (function_exists('hotDates')) { hotDates(); }?> 
     38                                                <div class ="xpress-post-title"> 
     39                                                        <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'xpress'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></h2> 
     40                                                </div> 
     41                                        </div> 
    2342 
    24                         <div class="entry"> 
     43                        <div class="xpress-post-entry"> 
    2544                                <?php the_content('<p class="serif">' . __('Read the rest of this entry &raquo;', 'xpress') . '</p>'); ?> 
    2645 
     
    7291 
    7392<?php endif; ?> 
     93                <div class="xpress-navi-bar"> 
     94                        <div class="alignleft"><?php xpress_left_arrow_post_link(true) ?></div> 
     95                        <div class="alignright"><?php xpress_right_arrow_post_link(true) ?></div> 
     96                </div> 
    7497 
    7598        </div> 
    76  
     99</div> 
     100<?php if(xpress_is_theme_sidebar_disp()) get_sidebar(); ?> 
     101<hr class="xpress-border"> 
    77102<?php get_footer(); ?> 
Note: See TracChangeset for help on using the changeset viewer.