XPressME Integration Kit

Trac


Ignore:
Timestamp:
Apr 2, 2009, 6:37:19 PM (15 years ago)
Author:
toemon
Message:

bump Ver0.22 #85 トラックバックリスト表示実装 #80 デフォルトテーマデザイン完了

File:
1 edited

Legend:

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

    r147 r150  
    11<?php get_header(); ?> 
    22 
     3<div id="xpress-header-bar"> 
     4        <div class="xpress-header-title"> 
     5                <a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a> 
     6        </div> 
     7        <div class="xpress-conditional-title"> 
     8                &nbsp;( <?php xpress_conditional_title();?> ) 
     9        </div> 
     10        <div class="xpress-description"> 
     11                <?php bloginfo('description'); ?> 
     12        </div> 
     13        <div class="xpress-operation-link"> 
     14                <a href="<?php echo get_option('home'); ?>/"><?php _e('Mein Page','xpress')?></a>  
     15                <?php if(is_xpress_contributor()) { echo ' | ' ; xpress_post_new_link(__('Post New','xpress')); }?> 
     16        </div> 
     17</div> 
     18<hr class="xpress-border"></hr> 
     19                                 
    320<div id="xpress_wrap"> 
    421<?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         }        
     22if(xpress_is_theme_sidebar_disp()) { 
     23        echo '<div id="xpress_content" class="narrowcolumn">';   
     24} else { 
     25        echo '<div id="xpress_content" class="narrowcolumn_nonside">'; 
     26}        
    1027?> 
    11                 <div id="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"> 
    27  
    28         <?php if (have_posts()) : while (have_posts()) : the_post(); ?> 
    29  
     28<?php if (have_posts()) : while (have_posts()) : the_post(); ?> 
    3029                <div class="xpress-navi-bar"> 
    3130                        <div class="alignleft"><?php xpress_left_arrow_post_link(true) ?></div> 
    3231                        <div class="alignright"><?php xpress_right_arrow_post_link(true) ?></div> 
    3332                </div> 
    34  
     33         
    3534                <div class="xpress-post" id="post-<?php the_ID(); ?>"> 
    3635                        <div class ="xpress-post-header"> 
    3736                                <?php if (function_exists('hotDates')) { hotDates(); }?> 
    3837                                <div class ="xpress-post-title"> 
    39                                         <h3><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> 
     38                                        <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> 
    4039                                </div> 
    4140                        </div> 
     
    4443                                <?php the_content('<p class="serif">' . __('Read the rest of this entry &raquo;', 'xpress') . '</p>'); ?> 
    4544                        </div> 
     45 
    4646                        <div class="xpress-link-pages"><?php wp_link_pages() ?></div> 
     47 
    4748                        <div class ="xpress-post-footer"> 
    4849                                <?php 
     
    5960                                ?> 
    6061                        </div> 
     62                                         
     63                        <div id ="xpress-pings-block"> 
     64                                <h3><?php xpress_pings_number(__('No Trackback/Pingback', 'xpress'),__('One Trackback/Pingback', 'xpress'),__('% TrackBack/Pingback', 'xpress')) ?></h3> 
    6165         
     66                                <?php xpress_pings_list(true) ?> 
     67                        </div> 
     68                                         
    6269                        <div id ="xpress-comments-block"> 
    6370                                <?php comments_template('', true); ?> 
    6471                        </div> 
     72 
     73 
    6574                </div> 
    6675 
    67          
    68  
    69         <?php endwhile; else: ?> 
    70  
    71                 <p><?php _e('Sorry, no posts matched your criteria.', 'xpress'); ?></p> 
    72  
    73 <?php endif; ?> 
    7476                <div class="xpress-navi-bar"> 
    7577                        <div class="alignleft"><?php xpress_left_arrow_post_link(true) ?></div> 
    7678                        <div class="alignright"><?php xpress_right_arrow_post_link(true) ?></div> 
    7779                </div> 
    78  
     80<?php endwhile; else: ?> 
     81                <p><?php _e('Sorry, no posts matched your criteria.', 'xpress'); ?></p> 
     82<?php endif; ?> 
     83         
    7984        </div> 
    80 </div> 
     85</div>           
    8186<?php if(xpress_is_theme_sidebar_disp()) get_sidebar(); ?> 
    82 <hr class="xpress-border"> 
     87<hr class="xpress-border"></hr> 
    8388<?php get_footer(); ?> 
Note: See TracChangeset for help on using the changeset viewer.