XPressME Integration Kit

Trac


Ignore:
Timestamp:
Jun 4, 2009, 2:02:54 PM (15 years ago)
Author:
toemon
Message:

WordPressME2.0.11への対応,(ブロック周りは未完)

File:
1 edited

Legend:

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

    r232 r252  
    2121                                                <?php if (function_exists('hotDates')) { hotDates(); }?> 
    2222                                                <div class ="xpress-post-title"> 
    23                                                         <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> 
     23                                                        <?php if(function_exists('the_title_attribute')) : ?>                    
     24                                                                <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> 
     25                                                        <?php else : ?> 
     26                                                                <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'xpress'), the_title('','',false)); ?>"><?php the_title(); ?></a></h2> 
     27                                                        <?php endif; ?> 
    2428                                                </div> 
    2529                                        </div> 
     
    6165                                                         
    6266                                        <div id ="xpress-comments-block"> 
    63                                                 <?php comments_template('', true); ?> 
     67                                                <?php comments_template(); ?> 
    6468                                        </div> 
    6569                                </div> 
Note: See TracChangeset for help on using the changeset viewer.