Changeset 272 for trunk/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/recent_posts_content_block_theme.php
- Timestamp:
- Jun 9, 2009, 5:37:04 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
r262 r272 20 20 if(empty($tag_select)) $tag_where = ''; else $tag_where = "tag='$tag_select'&"; 21 21 22 $selected_author_id = xpress_selected_author_id( false);22 $selected_author_id = xpress_selected_author_id('echo=0'); 23 23 if (!empty($selected_author_id)){ 24 24 $author_where ="author=$selected_author_id&"; … … 45 45 ob_end_clean(); 46 46 47 $title = xpress_the_title( false);47 $title = xpress_the_title('echo=0'); 48 48 49 49 ob_start(); … … 132 132 echo ' - '; 133 133 the_author_posts_link(); 134 echo ' (' . xpress_post_views_count($post->ID,__('Views :%d', 'xpress'),false) . ')'; 134 echo ' (' . xpress_post_views_count('post_id=' . $post->ID . '&format=' . __('Views :%d', 'xpress'). '&echo=0') . ')'; 135 135 136 echo ' | '; 136 137 // echo the_tags(__('Tags:', 'xpress') . ' ', ', ', ' | '); … … 151 152 $post_modified_date_time = $post_modified_date . ' ' . $post_modified_time ; 152 153 $trackback_url = trackback_url(false); 153 $post_viwes = xpress_post_views_count($post_id,'views: %d' ,false); 154 $post_viwes = xpress_post_views_count('post_id=' . $post_id . '&format=' . __('Views :%d', 'xpress'). '&echo=0'); 155 154 156 // if (empty($tags)) $tags = __('Not Tag'); 155 157
Note: See TracChangeset
for help on using the changeset viewer.