XPressME Integration Kit

Trac


Ignore:
Timestamp:
Dec 29, 2008, 2:17:00 AM (15 years ago)
Author:
toemon
Message:

コンテンツの概要表示用カスタム関数実装 #12
xpress_the_content($more_link_text = ,$excerpt_size = 0,$show = true)
パラメータ

$more_link_text 「続きを読む」などのテキスト
$excerpt_size 概要表示の文字数(0のときは全文表示)
$show アウトプットをechoするかしないか。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/xpress_default/index.php

    r52 r57  
    3030 
    3131                                <div class="entry"> 
    32                                         <?php the_content(__('Read the rest of this entry &raquo;', 'kubrick')); ?> 
     32                                        <?php xpress_the_content(__('Read the rest of this entry &raquo;') ); ?> 
    3333                                </div> 
    3434 
Note: See TracChangeset for help on using the changeset viewer.