Changeset 262 for trunk/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/recent_posts_content_block_theme.php
- Timestamp:
- Jun 8, 2009, 5:55:59 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/recent_posts_content_block_theme.php
r232 r262 62 62 ob_end_clean(); 63 63 64 ob_start(); 65 the_tags(__('Tags:', 'kubrick') . ' ',' • ',''); 66 $tags = ob_get_contents(); 67 ob_end_clean(); 68 64 if (function_exists('the_tags')){ 65 ob_start(); 66 the_tags(__('Tags:', 'xpress') . ' ',' • ',''); 67 $tags = ob_get_contents(); 68 ob_end_clean(); 69 } else { 70 $tags = ''; 71 } 72 69 73 if ($excerpt){ 70 74 $excerpt_length_word = $excerpt_size; … … 82 86 $post_modified_date = ob_get_contents(); 83 87 ob_end_clean(); 84 88 85 89 ob_start(); 86 90 the_modified_date($time_format); … … 111 115 <?php if (function_exists('hotDates')) { hotDates(); }?> 112 116 <div class ="xpress-post-title"> 113 <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> 117 <?php if(function_exists('the_title_attribute')) : ?> 118 <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> 119 <?php else : ?> 120 <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'xpress'), the_title('','',false)); ?>"><?php the_title(); ?></a></h2> 121 <?php endif; ?> 122 114 123 </div> 115 124 </div>
Note: See TracChangeset
for help on using the changeset viewer.