wordpress 文字数制限 PHP mb_strimwidth
1
2
3
4
5
6
|
//抜粋文の文字制限
add_filter('the_excerpt', 'my_the_excerpt');
function my_the_excerpt($postContent) {
return $postContent;
}
|
1
2
3
4
5
6
|
//抜粋文の文字制限
add_filter('the_excerpt', 'my_the_excerpt');
function my_the_excerpt($postContent) {
return $postContent;
}
|