Changeset 165 for trunk/wp-content/themes/xpress_default
- Timestamp:
- Apr 8, 2009, 12:45:03 AM (16 years ago)
- Location:
- trunk/wp-content/themes/xpress_default
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/xpress_default/blocks/block_style.css
r137 r165 337 337 338 338 } 339 340 -
trunk/wp-content/themes/xpress_default/blocks/recent_posts_content_block_theme.php
r157 r165 45 45 ob_end_clean(); 46 46 47 ob_start(); 48 the_title(); 49 $title = ob_get_contents(); 50 ob_end_clean(); 47 $title = xpress_the_title(false); 51 48 52 49 ob_start(); … … 104 101 $comments_popup_link = ob_get_contents(); 105 102 ob_end_clean(); 103 104 // all_in_one 105 ob_start(); 106 ?> 107 <div class="xpress-post" id="post-<?php the_ID(); ?>"> 108 <div class ="xpress-post-header"> 109 <?php if (function_exists('hotDates')) { hotDates(); }?> 110 <div class ="xpress-post-title"> 111 <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> 112 </div> 113 </div> 114 <div class="xpress-post-entry"> 115 <?php 116 if ($excerpt){ 117 $excerpt_length_word = $excerpt_size; 118 $excerpt_length_character = $excerpt_size; 119 $more_link_text = ''; 120 $post_content = get_xpress_excerpt_contents($excerpt_length_word,$excerpt_length_character,$more_link_text); 121 } else { 122 $post_content = xpress_the_content(__('more'),0,'',false); 123 } 124 echo $post_content; 125 ?> 126 </div> 127 <div class="xpress-link-pages"><?php wp_link_pages() ?></div> 128 <div class ="xpress-post-footer"> 129 <?php 130 the_time('Y/m/d l'); 131 echo ' - '; 132 the_author_posts_link(); 133 echo ' (' . xpress_post_views_count($post->ID,__('Views :%d', 'xpress'),false) . ')'; 134 echo ' | '; 135 // echo the_tags(__('Tags:', 'xpress') . ' ', ', ', ' | '); 136 printf(__('Posted in %s', 'xpress'), get_the_category_list(', ')); 137 echo ' | '; 138 edit_post_link(__('Edit', 'xpress'), '', ' | '); 139 comments_popup_link(__('No Comments »', 'xpress'), __('1 Comment »', 'xpress'), __('% Comments »', 'xpress'), '', __('Comments Closed', 'xpress') ); 140 ?> 141 </div> 142 </div> 143 <?php 144 $all_in_one = ob_get_contents(); 145 ob_end_clean(); 146 106 147 107 148 $post_title = '<a href="' . $permalink . '">' . $title . '</a>'; … … 127 168 'post_views' => $post_viwes, 128 169 'comment_link' => $comments_popup_link , 129 'trackback_url' => $trackback_url 170 'trackback_url' => $trackback_url , 171 'all_in_one' => $all_in_one 130 172 ); 131 173 … … 137 179 return $block ; 138 180 } 181 139 182 ?> -
trunk/wp-content/themes/xpress_default/index.php
r163 r165 30 30 </div> 31 31 <div class="xpress-post-entry"> 32 <?php xpress_the_content(__('Read the rest of this entry »' ) ); ?>32 <?php xpress_the_content(__('Read the rest of this entry »', 'xpress') ); ?> 33 33 </div> 34 34 <div class="xpress-link-pages"><?php wp_link_pages() ?></div>
Note: See TracChangeset
for help on using the changeset viewer.