トリミングtrim_to (単独)

以前にもtrim_toの記事は書きましたが、
エントリーナビではなく、単独に記事タイトルをトリミング表示したいとき用に。

<mtEntryTitle strip_tags="1" count_characters="1" setvar="countbody">
<mtif name="countbody" gt="20">
<mtEntryTitle  strip_tags="1" trim_to="20">...
<mtelse><mtEntryTitle  strip_tags="1"></mtif>

Comments:0

Comment Form

Trackbacks:0

TrackBack URL for this entry
http://www.otogawa.com/cms/mt-tb.cgi/441
Listed below are links to weblogs that reference
トリミングtrim_to (単独) from px*blog