通过修改配置文件的代码可以改文章字数。

cd /wp-includes/formatting.php
grep -rn "excerpt_length = apply_filters( 'excerpt_length', 55 )" *
sed -i s/"length', 55"/"length', 56"/g `grep "length', 55" -rl --include="formatting.php" ./`
❤️ 转载文章请注明出处,谢谢!❤️