投稿日:2018/05/16
カスタムフィールド:content_topに対して
100文字の抜粋を行う方法
100文字の抜粋を行う方法
$content_top = get_field("content_top");
$length = 100;
$content = wp_html_excerpt( $content_top, $length, "...");