YiiWang

WordPress相关初始配置,自定义修改
1.修改文章简介输入字数修改项目下wp-includes/formatting.php的3323行代码默认显示55...
扫描右侧二维码阅读全文
20
2018/06

WordPress相关初始配置,自定义修改

1.修改文章简介输入字数

修改项目下wp-includes/formatting.php的3323行代码
默认显示55个字符$excerpt_length = apply_filters( 'excerpt_length', 55 );
修改成自己想要显示的文字数量$excerpt_length = 100;

2.关闭自动草稿和历史版本

Last modification:June 20th, 2018 at 11:10 pm
If you think my article is useful to you, please feel free to appreciate

Leave a Comment