the_excerpt();
うごかないので、
1 2 3 4 5 |
add_filter('the_excerpt', 'my_the_excerpt'); function my_the_excerpt($postContent) { $postContent = mb_strimwidth($postContent, 0, 70, "…","UTF-8"); return $postContent; } |
@See http://www.cloudot.co.jp/blog/1963/