XPressME Integration Kit

Trac


Ignore:
Timestamp:
Jun 9, 2009, 5:37:04 PM (15 years ago)
Author:
toemon
Message:

#130 カスタムテンプレートタグでwp_parse_argsを利用
get_xpress_excerpt_contents()
xpress_the_content()
を除き修正

File:
1 edited

Legend:

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

    r262 r272  
    1818        if(empty($tag_select)) $tag_where = ''; else $tag_where = "tag='$tag_select'&"; 
    1919 
    20         $selected_author_id = xpress_selected_author_id(false);  
     20        $selected_author_id = xpress_selected_author_id('echo=0');       
    2121        if (!empty($selected_author_id)){ 
    2222                $author_where ="author=$selected_author_id&"; 
     
    118118                        $post_modified_date_time = $post_modified_date . ' ' . $post_modified_time ; 
    119119                        $trackback_url = trackback_url(false); 
    120                         $post_viwes = xpress_post_views_count($post_id,'views: %d' ,false); 
     120                        $post_viwes = xpress_post_views_count('post_id=' . $post_id . '&format=' . __('Views :%d', 'xpress'). '&echo=0'); 
     121 
    121122//                      if (empty($tags)) $tags = __('Not Tag'); 
    122123 
Note: See TracChangeset for help on using the changeset viewer.