Changeset 145 for trunk/wp-content/themes/xpress_default/blocks
- Timestamp:
- Mar 31, 2009, 7:00:25 PM (16 years ago)
- Location:
- trunk/wp-content/themes/xpress_default/blocks
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/xpress_default/blocks/meta_block_theme.php
r122 r145 74 74 $output .='<li>'.'<a href="'.get_settings('siteurl').'/readme.html" title="' . __('ReadMe', 'xpress') . '">' . __('ReadMe', 'xpress') . '</a>'.'</li>'; 75 75 } 76 76 $output .= disp_mode_set(); 77 77 if (function_exists('wp_theme_switcher') ) { 78 78 ob_start(); -
trunk/wp-content/themes/xpress_default/blocks/recent_posts_content_block_theme.php
r142 r145 7 7 $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_recent_posts_content_block.html' : trim( $options[1] ); 8 8 $disp_count = ($options[2])?intval($options[2]):10; 9 $exce pt = empty( $options[3] ) ? false : true ;10 $exce pt_size = ($options[4])?intval($options[4]):100;9 $excerpt = empty( $options[3] ) ? false : true ; 10 $excerpt_size = ($options[4])?intval($options[4]):100; 11 11 $date_format = empty( $options[5] ) ? '' : $options[5] ; 12 12 $time_format = empty( $options[6] ) ? '' : $options[6] ; … … 64 64 ob_end_clean(); 65 65 66 if ($except){ 67 $post_content = xpress_the_content(__('more'),$except_size,false); 68 } else { 69 $post_content = xpress_the_content(__('more'),0,false); 66 if ($excerpt){ 67 $excerpt_length_word = $excerpt_size; 68 $excerpt_length_character = $excerpt_size; 69 $more_link_text = ''; 70 $post_content = get_xpress_excerpt_contents($excerpt_length_word,$excerpt_length_character,$more_link_text); 71 } else { 72 $post_content = xpress_the_content(__('more'),0,'',false); 70 73 } 71 74
Note: See TracChangeset
for help on using the changeset viewer.